svn commit: r363871 - branches/2014Q3/sysutils/runwhen
Pawel Pekala
pawel at svn.freebsd.org
Sun Aug 3 10:16:43 UTC 2014
Author: pawel
Date: Sun Aug 3 10:16:42 2014
New Revision: 363871
URL: http://svnweb.freebsd.org/changeset/ports/363871
QAT: https://qat.redports.org/buildarchive/r363871/
Log:
MFH: r363864
- Fix build with clang (gcc linker default)
- Add staging support
- Convert to new options framework
- Remove Author from pkg-descr
Approved by: portmgr (antoine)
Modified:
branches/2014Q3/sysutils/runwhen/Makefile
branches/2014Q3/sysutils/runwhen/pkg-descr
Directory Properties:
branches/2014Q3/ (props changed)
Modified: branches/2014Q3/sysutils/runwhen/Makefile
==============================================================================
--- branches/2014Q3/sysutils/runwhen/Makefile Sun Aug 3 10:16:35 2014 (r363870)
+++ branches/2014Q3/sysutils/runwhen/Makefile Sun Aug 3 10:16:42 2014 (r363871)
@@ -18,10 +18,13 @@ ALL_TARGET= default
DOCS= src/CHANGES src/TODO package/README
-NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e 's!gcc -O2!${CC} ${CFLAGS}!' \
${WRKSRC}/conf-compile/host_compile.sh
+ @${REINPLACE_CMD} 's!gcc!${CC} ${LDFLAGS} ${LIBS}!' \
+ ${WRKSRC}/conf-compile/host_link.sh
do-configure:
${ECHO_CMD} ${PREFIX} > ${WRKSRC}/conf-compile/package_home
@@ -31,10 +34,8 @@ do-build:
cd ${WRKSRC} && package/compile
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/command/* ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
-.endif
+ ${INSTALL_PROGRAM} ${WRKSRC}/command/* ${STAGEDIR}${PREFIX}/bin
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ (cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>
Modified: branches/2014Q3/sysutils/runwhen/pkg-descr
==============================================================================
--- branches/2014Q3/sysutils/runwhen/pkg-descr Sun Aug 3 10:16:35 2014 (r363870)
+++ branches/2014Q3/sysutils/runwhen/pkg-descr Sun Aug 3 10:16:42 2014 (r363871)
@@ -20,5 +20,4 @@ lots of things at(1) does that runwhen d
- It doesn't check access control files - thus it doesn't gratuitously
deny users.
-Author: Paul Jarc <prj at po.cwru.edu>
WWW: http://code.dogmap.org/runwhen/
More information about the svn-ports-branches
mailing list