mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-17 08:01:36 +00:00
Use SUB_FILES to replace %%PREFIX%%
This commit is contained in:
parent
dd86930ba1
commit
14dbb6b7a3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=158543
@ -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"
|
||||
|
||||
|
@ -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.
|
||||
|
||||
**************************************************
|
Loading…
Reference in New Issue
Block a user