aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2010-10-18 20:55:50 +0800
committerbapt <bapt@FreeBSD.org>2010-10-18 20:55:50 +0800
commit4a7560052d67aa7d7f6bbe00566e4fe296426c36 (patch)
treef258009247b730ea1a2b8bffb1927cdf6f6b44a7 /devel
parent3e61b4922295cf28797f94c70e3a7c8f9eb0257f (diff)
downloadfreebsd-ports-gnome-4a7560052d67aa7d7f6bbe00566e4fe296426c36.tar.gz
freebsd-ports-gnome-4a7560052d67aa7d7f6bbe00566e4fe296426c36.tar.zst
freebsd-ports-gnome-4a7560052d67aa7d7f6bbe00566e4fe296426c36.zip
- Now uses mk-configure
- install paexec_reorder so add run depend on runawk
Diffstat (limited to 'devel')
-rw-r--r--devel/paexec/Makefile11
-rw-r--r--devel/paexec/pkg-plist1
2 files changed, 7 insertions, 5 deletions
diff --git a/devel/paexec/Makefile b/devel/paexec/Makefile
index 9cfcd99a7af2..ce00842abf7d 100644
--- a/devel/paexec/Makefile
+++ b/devel/paexec/Makefile
@@ -14,26 +14,27 @@ MAINTAINER= bapt@FreeBSD.org
COMMENT= Parallel executor, distributes tasks over network
LIB_DEPENDS= maa:${PORTSDIR}/devel/libmaa
+BUILD_DEPENDS= mk-configure>=0.20:${PORTSDIR}/devel/mk-configure
+RUN_DEPENDS= runawk:${PORTSDIR}/lang/runawk
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
DOCS= ChangeLog NEWS README
-MAN1= paexec.1
+MAN1= paexec.1 paexec_reorder.1
LICENSE= MIT
+
post-patch:
@${REINPLACE_CMD} -e 's,2048,4096,; s,x.y.z,${PORTVERSION},' \
${WRKSRC}/paexec.c
do-build:
- @cd ${WRKSRC} && ${CC} ${CFLAGS} ${LDFLAGS} \
- *.c -o ${PORTNAME} -lmaa
+ @${SETENV} ${MAKE_ENV} LDFLAGS="${LDFLAGS}" ${LOCALBASE}/bin/mkcmake -C ${WRKSRC}
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/paexec ${DESTDIR}${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/paexec.1 ${MAN1PREFIX}/man/man1
+ @${SETENV} ${MAKE_ENV} LDFLAGS="${LDFLAGS}" ${LOCALBASE}/bin/mkcmake -C ${WRKSRC} install
.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}
@${CP} -R ${WRKSRC}/examples/* ${EXAMPLESDIR}
diff --git a/devel/paexec/pkg-plist b/devel/paexec/pkg-plist
index 2f7773bdd6a9..bd9b1e6ba876 100644
--- a/devel/paexec/pkg-plist
+++ b/devel/paexec/pkg-plist
@@ -1,4 +1,5 @@
bin/paexec
+bin/paexec_reorder
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
%%PORTDOCS%%%%DOCSDIR%%/NEWS
%%PORTDOCS%%%%DOCSDIR%%/README