svn commit: r380056 - in head/sysutils/runwhen: . files
Mikhail Teterin
mi at FreeBSD.org
Thu Feb 26 22:44:44 UTC 2015
Author: mi
Date: Thu Feb 26 22:44:42 2015
New Revision: 380056
URL: https://svnweb.freebsd.org/changeset/ports/380056
QAT: https://qat.redports.org/buildarchive/r380056/
Log:
Unbreak by upgrading from 2003 to 2015. Do not install the useless
"doc" files. The list of files is so small now, a separate pkg-plist
can be replaced with a PLIST_FILES-variable.
Notified by: portscout
Deleted:
head/sysutils/runwhen/files/
head/sysutils/runwhen/pkg-plist
Modified:
head/sysutils/runwhen/Makefile
head/sysutils/runwhen/distinfo
Modified: head/sysutils/runwhen/Makefile
==============================================================================
--- head/sysutils/runwhen/Makefile Thu Feb 26 21:35:37 2015 (r380055)
+++ head/sysutils/runwhen/Makefile Thu Feb 26 22:44:42 2015 (r380056)
@@ -2,42 +2,43 @@
# $FreeBSD$
PORTNAME= runwhen
-PORTVERSION= 2003.10.31
+PORTVERSION= 2015.02.24
CATEGORIES= sysutils
-MASTER_SITES= http://code.dogmap.org./${PORTNAME}/releases/
+MASTER_SITES= http://code.dogmap.org/runwhen/releases/
MAINTAINER= ports at FreeBSD.org
COMMENT= Tools for running commands at particular times
+LICENSE= GPLv2
+
BUILD_DEPENDS= ${LOCALBASE}/include/skalibs:${PORTSDIR}/devel/skalibs
USES= tar:bzip2
WRKSRC= ${WRKDIR}/admin/${DISTNAME}
-ALL_TARGET= default
-
-DOCS= src/CHANGES src/TODO package/README
-OPTIONS_DEFINE= DOCS
+PLIST_FILES= bin/rw-add bin/rw-match bin/rw-max bin/rw-min \
+ bin/rw-sleep bin/rw-sub bin/rw-touch
-BROKEN= fails to build with skalibs-2.x
+CFLAGS+= -I${LOCALBASE}/include
post-patch:
@${REINPLACE_CMD} -e 's!gcc -O2!${CC} ${CFLAGS}!' \
- ${WRKSRC}/conf-compile/host_compile.sh
+ ${WRKSRC}/conf-compile/defaults/host_compile.sh
@${REINPLACE_CMD} 's!gcc!${CC} ${LDFLAGS} ${LIBS}!' \
- ${WRKSRC}/conf-compile/host_link.sh
+ ${WRKSRC}/conf-compile/defaults/host_link.sh
+ @${REINPLACE_CMD} 's!-lskarnet!-L${LOCALBASE}/lib -lskarnet!' \
+ ${WRKSRC}/package/compile
do-configure:
- ${ECHO_CMD} ${PREFIX} > ${WRKSRC}/conf-compile/package_home
- ${ECHO_CMD} ${LOCALBASE} > ${WRKSRC}/conf-compile/depend_skalibs
+ ${ECHO_CMD} ${PREFIX} > ${WRKSRC}/conf-compile/defaults/package_home
+ ${ECHO_CMD} ${LOCALBASE} > ${WRKSRC}/conf-compile/defaults/depend_skalibs
+ ${ECHO_CMD} ${LOCALBASE}/lib/skalibs/sysdeps > ${WRKSRC}/conf-compile/defaults/depend_skalibs_sysdeps
do-build:
cd ${WRKSRC} && package/compile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/command/* ${STAGEDIR}${PREFIX}/bin
- @${MKDIR} ${STAGEDIR}${DOCSDIR}
- (cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>
Modified: head/sysutils/runwhen/distinfo
==============================================================================
--- head/sysutils/runwhen/distinfo Thu Feb 26 21:35:37 2015 (r380055)
+++ head/sysutils/runwhen/distinfo Thu Feb 26 22:44:42 2015 (r380056)
@@ -1,2 +1,2 @@
-SHA256 (runwhen-2003.10.31.tar.bz2) = 28416dcd26685f9295ec9850e65962b13817ddab98a8634571996f3e8270d3ec
-SIZE (runwhen-2003.10.31.tar.bz2) = 23587
+SHA256 (runwhen-2015.02.24.tar.bz2) = 8459fb0f21baf2151162c973146ef9f232f5f3ea40f2637ff884f78bcf12923f
+SIZE (runwhen-2015.02.24.tar.bz2) = 23397
More information about the svn-ports-all
mailing list