diff options
author | rakuco <rakuco@FreeBSD.org> | 2014-01-06 23:23:11 +0800 |
---|---|---|
committer | rakuco <rakuco@FreeBSD.org> | 2014-01-06 23:23:11 +0800 |
commit | e6f7df8dc03d756c4ca3cef46a04ba5b43048cbc (patch) | |
tree | dbd9f97cc96198deab10496edb604b412beabd13 /sysutils/usrinfo | |
parent | 11a5ca5696d21422ca47887eaa925577dfa3b029 (diff) | |
download | freebsd-ports-gnome-e6f7df8dc03d756c4ca3cef46a04ba5b43048cbc.tar.gz freebsd-ports-gnome-e6f7df8dc03d756c4ca3cef46a04ba5b43048cbc.tar.zst freebsd-ports-gnome-e6f7df8dc03d756c4ca3cef46a04ba5b43048cbc.zip |
- Fix the build when g++ is not present.
- Respect CXXFLAGS.
- Unconditionally set MAINTAINER.
- Set LICENSE.
- Support staging.
Diffstat (limited to 'sysutils/usrinfo')
-rw-r--r-- | sysutils/usrinfo/Makefile | 14 | ||||
-rw-r--r-- | sysutils/usrinfo/files/patch-Makefile | 12 |
2 files changed, 18 insertions, 8 deletions
diff --git a/sysutils/usrinfo/Makefile b/sysutils/usrinfo/Makefile index a77e89eb7f80..2470e5e20cb7 100644 --- a/sysutils/usrinfo/Makefile +++ b/sysutils/usrinfo/Makefile @@ -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 -USE_BZIP2= yes +LICENSE= BSD2CLAUSE -PLIST_FILES= bin/usrinfo +USE_BZIP2= yes -MANCOMPRESSED= no -MAN1= usrinfo.1 +PLIST_FILES= bin/usrinfo man/man1/usrinfo.1.gz -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> diff --git a/sysutils/usrinfo/files/patch-Makefile b/sysutils/usrinfo/files/patch-Makefile new file mode 100644 index 000000000000..2604948b82aa --- /dev/null +++ b/sysutils/usrinfo/files/patch-Makefile @@ -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 |