- Fix build with clang (gcc linker default)
- Add staging support - Convert to new options framework - Remove Author from pkg-descr MFH: 2014Q3
This commit is contained in:
parent
e840be18ad
commit
74e4c04fca
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=363864
@ -11,17 +11,20 @@ COMMENT= Tools for running commands at particular times
|
||||
|
||||
BUILD_DEPENDS= ${LOCALBASE}/include/skalibs:${PORTSDIR}/devel/skalibs
|
||||
|
||||
USES= tar:bzip2
|
||||
USES= tar:bzip2
|
||||
|
||||
WRKSRC= ${WRKDIR}/admin/${DISTNAME}
|
||||
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>
|
||||
|
@ -20,5 +20,4 @@ lots of things at(1) does that runwhen doesn't:
|
||||
- It doesn't check access control files - thus it doesn't gratuitously
|
||||
deny users.
|
||||
|
||||
Author: Paul Jarc <prj@po.cwru.edu>
|
||||
WWW: http://code.dogmap.org/runwhen/
|
||||
|
Loading…
Reference in New Issue
Block a user