svn commit: r367875 - in head/polish/trf: . files
Antoine Brodin
antoine at FreeBSD.org
Wed Sep 10 17:17:26 UTC 2014
Author: antoine
Date: Wed Sep 10 17:17:25 2014
New Revision: 367875
URL: http://svnweb.freebsd.org/changeset/ports/367875
QAT: https://qat.redports.org/buildarchive/r367875/
Log:
- Allow staging as a regular user
- Remove DOCS conditions
Modified:
head/polish/trf/Makefile
head/polish/trf/files/patch-Makefile
Modified: head/polish/trf/Makefile
==============================================================================
--- head/polish/trf/Makefile Wed Sep 10 17:05:26 2014 (r367874)
+++ head/polish/trf/Makefile Wed Sep 10 17:17:25 2014 (r367875)
@@ -11,14 +11,10 @@ COMMENT= Billing software for traffic co
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
post-install:
-.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in README CHANGELOG
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor
-.endif
.include <bsd.port.mk>
Modified: head/polish/trf/files/patch-Makefile
==============================================================================
--- head/polish/trf/files/patch-Makefile Wed Sep 10 17:05:26 2014 (r367874)
+++ head/polish/trf/files/patch-Makefile Wed Sep 10 17:17:25 2014 (r367875)
@@ -1,5 +1,5 @@
---- Makefile.orig Fri Oct 3 18:00:32 2003
-+++ Makefile Fri Oct 3 18:01:51 2003
+--- Makefile.orig 2003-02-02 18:33:55 UTC
++++ Makefile
@@ -1,5 +1,7 @@
+CC ?= gcc
+CFLAGS+=-DFREEBSD
@@ -9,7 +9,7 @@
all:
@case "`uname -s`" in \
-@@ -19,7 +21,7 @@
+@@ -19,14 +21,14 @@
gcc -DLINUX -Wall -o trfs trfs.c
freebsd:
@@ -18,3 +18,12 @@
trfs:
make all
+
+ install: trfs
+- install -o root -g wheel -m 755 trfs $(DESTDIR)$(prefix)/bin
+- install -o root -g wheel -m 755 trf $(DESTDIR)$(prefix)/bin
++ $(BSD_INSTALL_PROGRAM) trfs $(DESTDIR)$(prefix)/bin
++ $(BSD_INSTALL_SCRIPT) trf $(DESTDIR)$(prefix)/bin
+
+ clean:
+ rm trfs || true
More information about the svn-ports-all
mailing list