aboutsummaryrefslogtreecommitdiffstats
path: root/audio/nas
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2006-04-01 20:18:06 +0800
committeredwin <edwin@FreeBSD.org>2006-04-01 20:18:06 +0800
commit605d1669d25a14293da2ad64d801b0cb19543f3f (patch)
tree4f93fc11988782939e53c766e904c296e986e2a3 /audio/nas
parent5debf1f29cf8afebb39250eaa9e52dab1258650d (diff)
downloadfreebsd-ports-gnome-605d1669d25a14293da2ad64d801b0cb19543f3f.tar.gz
freebsd-ports-gnome-605d1669d25a14293da2ad64d801b0cb19543f3f.tar.zst
freebsd-ports-gnome-605d1669d25a14293da2ad64d801b0cb19543f3f.zip
Use SUB_FILES to replace %%PREFIX%%
Diffstat (limited to 'audio/nas')
-rw-r--r--audio/nas/Makefile4
-rw-r--r--audio/nas/files/pkg-message.in (renamed from audio/nas/pkg-message)4
2 files changed, 5 insertions, 3 deletions
diff --git a/audio/nas/Makefile b/audio/nas/Makefile
index 0eef54e13287..b5ef1d590385 100644
--- a/audio/nas/Makefile
+++ b/audio/nas/Makefile
@@ -19,6 +19,8 @@ USE_IMAKE= yes
INSTALLS_SHLIB= yes
CFLAGS+= -Werror
MAKE_ENV+= COMPRESS_CMD="${COMPRESS_CMD:S/c//}"
+PKGMESSAGE= ${WRKDIR}/pkg-message
+SUB_FILES= pkg-message
.include <bsd.port.pre.mk>
post-patch:
@@ -33,7 +35,7 @@ post-configure:
${WRKSRC}/lib/audio/Makefile
post-install:
- @${SED} -e 's:/usr/X11R6:${PREFIX}:g' ${PKGMESSAGE}
+ @${CAT} ${PKGMESSAGE}
.include "Makefile.man"
diff --git a/audio/nas/pkg-message b/audio/nas/files/pkg-message.in
index 445d5a9b7177..74479b1e8ce9 100644
--- a/audio/nas/pkg-message
+++ b/audio/nas/files/pkg-message.in
@@ -2,8 +2,8 @@
**************************************************
NOTE:
-Be sure to create a /usr/X11R6/etc/nasd.conf file; use
-/usr/X11R6/etc/nasd.conf.eg as a starting point.
+Be sure to create a %%PREFIX%%/etc/nasd.conf file; use
+%%PREFIX%%/etc/nasd.conf.eg as a starting point.
It should work fine as is.
**************************************************