mirror of
https://github.com/netbirdio/FreeBSD-ports.git
synced 2026-05-22 18:42:42 -07:00
- Fix the build when g++ is not present.
- Respect CXXFLAGS. - Unconditionally set MAINTAINER. - Set LICENSE. - Support staging.
This commit is contained in:
@@ -6,19 +6,17 @@ PORTVERSION= .10
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
||||
|
||||
MAINTAINER?= aaron@snaphat.com
|
||||
MAINTAINER= aaron@snaphat.com
|
||||
COMMENT= Displays information about a user using either "<br>" or "\n" breaks
|
||||
|
||||
LICENSE= BSD2CLAUSE
|
||||
|
||||
USE_BZIP2= yes
|
||||
|
||||
PLIST_FILES= bin/usrinfo
|
||||
PLIST_FILES= bin/usrinfo man/man1/usrinfo.1.gz
|
||||
|
||||
MANCOMPRESSED= no
|
||||
MAN1= usrinfo.1
|
||||
|
||||
NO_STAGE= yes
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/usrinfo ${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/man/usrinfo.1 ${MANPREFIX}/man/man1
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/usrinfo ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/man/usrinfo.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
--- Makefile.orig 2004-06-24 22:59:34.000000000 +0300
|
||||
+++ Makefile 2014-01-06 17:17:10.000000000 +0200
|
||||
@@ -1,7 +1,7 @@
|
||||
all: usrinfo.o
|
||||
- g++ -o usrinfo usrinfo.o
|
||||
+ $(CXX) $(CXXFLAGS) -o usrinfo usrinfo.o
|
||||
usrinfo.o: source/usrinfo.cpp
|
||||
- g++ -c source/usrinfo.cpp
|
||||
+ $(CXX) $(CXXFLAGS) -c source/usrinfo.cpp
|
||||
clean:
|
||||
rm -f *.o usrinfo
|
||||
install: usrinfo
|
||||
Reference in New Issue
Block a user