- unmark IGNORE (fix PTHREAD_{CFLAGS, LIBS}) [1 (partly)]

- pet portlint:
  * tab-instead-of-blank fixes
  * use DISTNAME instead of single entry for DISTFILES

PR:		ports/81710 [1]
Submitted by:	Janos Mohacsi <janos.mohacsi@niif.hu> (maintainer) [1]
This commit is contained in:
Simon Barner 2005-05-31 14:01:12 +00:00
parent cc624542ff
commit 30bc94a9a5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=136522

View File

@ -9,14 +9,12 @@ PORTNAME= mgen
PORTVERSION= 4.2b5
CATEGORIES= net
MASTER_SITES= http://downloads.pf.itd.nrl.navy.mil/mgen/
DISTNAME= src-${PORTNAME}-${PORTVERSION}
EXTRACT_SUFX= .tgz
DISTFILES= src-${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= janos.mohacsi@bsd.hu
COMMENT= An IP network performance tests and measurements
IGNORE= does not respect PTHREAD_LIBS
USE_GMAKE= yes
USE_REINPLACE= yes
@ -27,6 +25,9 @@ post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/unix/Makefile.common \
${WRKSRC}/protolib/unix/Makefile.common
@${REINPLACE_CMD} -e 's|%%PTHREAD_CFLAGS%%|${PTHREAD_CFLAGS}|g' ${WRKSRC}/unix/Makefile.freebsd \
${WRKSRC}/protolib/unix/Makefile.freebsd
do-build:
cd ${WRKSRC}/unix && ${GMAKE} -f Makefile.freebsd ${PORTNAME}