svn commit: r345847 - head/net/pathneck
Emanuel Haupt
ehaupt at FreeBSD.org
Mon Feb 24 13:59:22 UTC 2014
Author: ehaupt
Date: Mon Feb 24 13:59:22 2014
New Revision: 345847
URL: http://svnweb.freebsd.org/changeset/ports/345847
QAT: https://qat.redports.org/buildarchive/r345847/
Log:
Support staging
Modified:
head/net/pathneck/Makefile
Modified: head/net/pathneck/Makefile
==============================================================================
--- head/net/pathneck/Makefile Mon Feb 24 13:57:35 2014 (r345846)
+++ head/net/pathneck/Makefile Mon Feb 24 13:59:22 2014 (r345847)
@@ -17,20 +17,20 @@ PLIST_FILES= sbin/pathneck \
PORTDOCS= COPYING ChangeLog README
MAKEFILE= Makefile.bsd
-NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e 's,^CC .=,CC ?=,' \
-e 's,^CFLAGS .=,CFLAGS +=,' \
${WRKSRC}/Makefile.bsd
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/pathneck ${PREFIX}/sbin/pathneck
- ${INSTALL_PROGRAM} ${WRKSRC}/get-choke ${PREFIX}/sbin/get-choke
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
+ ${INSTALL_PROGRAM} ${WRKSRC}/pathneck ${STAGEDIR}${PREFIX}/sbin/pathneck
+ ${INSTALL_PROGRAM} ${WRKSRC}/get-choke \
+ ${STAGEDIR}${PREFIX}/sbin/get-choke
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
-.endif
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list