diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2008-09-23 08:29:59 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2008-09-23 08:29:59 +0000 |
commit | 24e5760af05e4fc23620a12419ccd925a8446fa0 (patch) | |
tree | 7f419e434d0bc03a99d3e721f8071ae574874854 /misc/nut/Makefile | |
parent | 850e037efafc8d09017aaaa3a84a25a412ee5fde (diff) |
Notes
Diffstat (limited to 'misc/nut/Makefile')
-rw-r--r-- | misc/nut/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/misc/nut/Makefile b/misc/nut/Makefile index 34f154605578..7af524963f45 100644 --- a/misc/nut/Makefile +++ b/misc/nut/Makefile @@ -6,7 +6,7 @@ # PORTNAME= nut -PORTVERSION= 14.0 +PORTVERSION= 14.0a CATEGORIES= misc MASTER_SITES= SF PKGNAMEPREFIX= health- @@ -24,6 +24,8 @@ PLIST_FILES= bin/${PORTNAME} %%DATADIR%%/FOOD_DES.txt \ PLIST_DIRS= %%DATADIR%% MAN1= ${PORTNAME}.1 +WRKSRC= ${WRKDIR}/${PORTNAME}-14.0 + post-patch: @${REINPLACE_CMD} -e "s|/usr/local/lib/nut|${DATADIR}|" \ -e 's|^CFLAGS=|CFLAGS+=|g;s|-Os||;s|gcc|$${CC}|' ${WRKSRC}/Makefile |