svn commit: r338897 - in head/sysutils/usrinfo: . files
Raphael Kubo da Costa
rakuco at FreeBSD.org
Mon Jan 6 15:23:12 UTC 2014
Author: rakuco
Date: Mon Jan 6 15:23:11 2014
New Revision: 338897
URL: http://svnweb.freebsd.org/changeset/ports/338897
Log:
- Fix the build when g++ is not present.
- Respect CXXFLAGS.
- Unconditionally set MAINTAINER.
- Set LICENSE.
- Support staging.
Added:
head/sysutils/usrinfo/files/
head/sysutils/usrinfo/files/patch-Makefile (contents, props changed)
Modified:
head/sysutils/usrinfo/Makefile
Modified: head/sysutils/usrinfo/Makefile
==============================================================================
--- head/sysutils/usrinfo/Makefile Mon Jan 6 15:17:02 2014 (r338896)
+++ head/sysutils/usrinfo/Makefile Mon Jan 6 15:23:11 2014 (r338897)
@@ -6,19 +6,17 @@ PORTVERSION= .10
CATEGORIES= sysutils
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
-MAINTAINER?= aaron at snaphat.com
+MAINTAINER= aaron at 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>
Added: head/sysutils/usrinfo/files/patch-Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/usrinfo/files/patch-Makefile Mon Jan 6 15:23:11 2014 (r338897)
@@ -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
More information about the svn-ports-all
mailing list