aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorglarkin <glarkin@FreeBSD.org>2010-02-20 06:10:56 +0800
committerglarkin <glarkin@FreeBSD.org>2010-02-20 06:10:56 +0800
commit46b7912ed3597c0764bd515647bbd2d1c265956a (patch)
treebb79e31d3d2057dd5af4bee7cac9768275adb55e /net
parent81a2b35beec06c24630c363b553207d9daeee8bc (diff)
downloadfreebsd-ports-gnome-46b7912ed3597c0764bd515647bbd2d1c265956a.tar.gz
freebsd-ports-gnome-46b7912ed3597c0764bd515647bbd2d1c265956a.tar.zst
freebsd-ports-gnome-46b7912ed3597c0764bd515647bbd2d1c265956a.zip
- use $SUB_FILES to dynamically update pkg-message
PR: ports/143143 Submitted by: Sevan Janiyan <venture37@geeklan.co.uk> Approved by: maintainer (implicit; timeout 26 days) Feature safe: yes
Diffstat (limited to 'net')
-rw-r--r--net/ng_daphne/Makefile8
-rw-r--r--net/ng_daphne/files/pkg-message.in (renamed from net/ng_daphne/pkg-message)0
2 files changed, 5 insertions, 3 deletions
diff --git a/net/ng_daphne/Makefile b/net/ng_daphne/Makefile
index 1e66a12f5448..ce95f8146506 100644
--- a/net/ng_daphne/Makefile
+++ b/net/ng_daphne/Makefile
@@ -9,7 +9,8 @@ PORTNAME= ng_daphne
PORTVERSION= 1.0
PORTREVISION= 1
CATEGORIES= net kld
-MASTER_SITES= http://newton.ee.auth.gr/ng_daphne/
+MASTER_SITES= http://newton.ee.auth.gr/ng_daphne/ \
+ LOCAL/glarkin
MAINTAINER= gedimitr@auth.gr
COMMENT= A simple netgraph module for multihop ad hoc networks
@@ -18,13 +19,14 @@ COMMENT= A simple netgraph module for multihop ad hoc networks
SYSDIR?= ${SRC_BASE}/sys
.if !exists(${SYSDIR}/netgraph/netgraph.h)
-IGNORE= "Requires kernel source (/usr/src/sys) to build"
+IGNORE= requires kernel source (/usr/src/sys) to build
.endif
MAKE_ENV+= WERROR=
EXTRA_PATCHES= ${FILESDIR}/extra-patch-ng_daphne.c
PLIST_FILES= lib/ng_daphne.ko
PORTDOCS= README
+SUB_FILES= pkg-message
do-install:
${INSTALL_KLD} ${WRKSRC}/ng_daphne.ko ${PREFIX}/lib
@@ -34,6 +36,6 @@ do-install:
.endif
post-install:
- @${SED} -e 's,%%PREFIX%%,${PREFIX},g' ${PKGMESSAGE}
+ @${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>
diff --git a/net/ng_daphne/pkg-message b/net/ng_daphne/files/pkg-message.in
index b576611551d9..b576611551d9 100644
--- a/net/ng_daphne/pkg-message
+++ b/net/ng_daphne/files/pkg-message.in