1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Stage support

- While here drop FreeBSD 7 support
This commit is contained in:
Martin Wilke 2014-01-31 12:32:19 +00:00
parent 5ecf3aa390
commit f3f8ebb3a1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=341985

View File

@ -20,17 +20,10 @@ CFLAGS+= -std=c99 -D_DECLARE_C99_LDBL_MATH
PLIST_FILES= bin/wrk PLIST_FILES= bin/wrk
NO_STAGE= yes
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 800000
BROKEN= does not link on FreeBSD 7.x
.endif
post-patch: post-patch:
@${REINPLACE_CMD} 's|%%PREFIX%%|${PREFIX}|g;' ${WRKSRC}/Makefile @${REINPLACE_CMD} 's|%%PREFIX%%|${PREFIX}|g;' ${WRKSRC}/Makefile
do-install: do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.post.mk> .include <bsd.port.mk>