diff options
author | edwin <edwin@FreeBSD.org> | 2006-04-01 12:22:23 +0000 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2006-04-01 12:22:23 +0000 |
commit | 396f92968061d6f60226be32156a446d7e53ab45 (patch) | |
tree | c864ee607464255623c2f9489ea52ca59a801df9 | |
parent | 605d1669d25a14293da2ad64d801b0cb19543f3f (diff) | |
download | FreeBSD-ports-396f92968061d6f60226be32156a446d7e53ab45.zip FreeBSD-ports-396f92968061d6f60226be32156a446d7e53ab45.tar.gz |
Use SUB_FILES for pkg-message
-rw-r--r-- | audio/opennap/Makefile | 2 | ||||
-rw-r--r-- | audio/opennap/files/pkg-message.in (renamed from audio/opennap/pkg-message) | 8 | ||||
-rw-r--r-- | audio/tclmidi/Makefile | 4 | ||||
-rw-r--r-- | audio/tclmidi/files/pkg-message.in | 6 | ||||
-rw-r--r-- | audio/tclmidi/pkg-message | 6 | ||||
-rw-r--r-- | net-p2p/opennap/Makefile | 2 | ||||
-rw-r--r-- | net-p2p/opennap/files/pkg-message.in (renamed from net-p2p/opennap/pkg-message) | 8 |
7 files changed, 21 insertions, 15 deletions
diff --git a/audio/opennap/Makefile b/audio/opennap/Makefile index a213579..95437d0 100644 --- a/audio/opennap/Makefile +++ b/audio/opennap/Makefile @@ -17,6 +17,8 @@ COMMENT= The OpenNAP open-source Napster server USE_GMAKE= YES GNU_CONFIGURE= YES +PKGMESSAGE= ${WRKDIR}/pkg-message +SUB_FILES= pkg-message post-install: (${ECHO_CMD} "" ; ${ECHO_CMD} "admin" ; ${ECHO_CMD} "opennap" ; ${ECHO_CMD} "") | ${WRKSRC}/setup diff --git a/audio/opennap/pkg-message b/audio/opennap/files/pkg-message.in index 6425399..475a03b 100644 --- a/audio/opennap/pkg-message +++ b/audio/opennap/files/pkg-message.in @@ -4,16 +4,16 @@ A default administrator user has been created. The user name is 'admin', password 'opennap'. You will probably want to change these. To do so, edit the file -${PREFIX}/share/opennap/users . +%%PREFIX%%/share/opennap/users . Example configuration files are located in -${PREFIX}/share/opennap/examples/ . Copy -them to ${PREFIX}/share/opennap, removing the +%%PREFIX%%/share/opennap/examples/ . Copy +them to %%PREFIX%%/share/opennap, removing the 'sample.' prefix (e.g. 'sample.conf' becomes 'conf') and edit to your preferences. Documentation is installed under -${PREFIX}/share/doc/opennap . +%%PREFIX%%/share/doc/opennap . If you would like to link your server to the global Napigator search system, go to diff --git a/audio/tclmidi/Makefile b/audio/tclmidi/Makefile index d57bcfc..6f57c6c 100644 --- a/audio/tclmidi/Makefile +++ b/audio/tclmidi/Makefile @@ -20,6 +20,8 @@ LIB_DEPENDS= tcl82.1:${PORTSDIR}/lang/tcl82 MAKE_ENV= TCL_GENERIC_DIR=${LOCALBASE}/include/tcl8.2 GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-tclsh=${LOCALBASE}/bin/tclsh8.2 +PKGMESSAGE= ${WRKDIR}/pkg-message +SUB_FILES= pkg-message MAN1= mplay.1 mrec.1 tclmidi.1 minfo.1 midtotcl.1 MANN= midiconf.n midievnt.n midifree.n midiget.n midigrep.n \ @@ -42,6 +44,6 @@ post-extract: .endif post-install: - @${CAT} ${PKGMESSAGE} | ${SED} s#/usr/local#${PREFIX}#g + @${CAT} ${PKGMESSAGE} .include <bsd.port.post.mk> diff --git a/audio/tclmidi/files/pkg-message.in b/audio/tclmidi/files/pkg-message.in new file mode 100644 index 0000000..e0ed1ea --- /dev/null +++ b/audio/tclmidi/files/pkg-message.in @@ -0,0 +1,6 @@ +IMPORTANT: +Now you should add %%PREFIX%%/lib/tclmidi to your +TCLLIBPATH environment variable! + +For example (with [t]csh: +setenv TCLLIBPATH "%%PREFIX%%/lib/tclmidi %%PREFIX%%/lib/tcl8.0" diff --git a/audio/tclmidi/pkg-message b/audio/tclmidi/pkg-message deleted file mode 100644 index 344ddce..0000000 --- a/audio/tclmidi/pkg-message +++ /dev/null @@ -1,6 +0,0 @@ -IMPORTANT: -Now you should add /usr/local/lib/tclmidi to your -TCLLIBPATH environment variable! - -For example (with [t]csh: -setenv TCLLIBPATH "/usr/local/lib/tclmidi /usr/local/lib/tcl8.0" diff --git a/net-p2p/opennap/Makefile b/net-p2p/opennap/Makefile index a213579..95437d0 100644 --- a/net-p2p/opennap/Makefile +++ b/net-p2p/opennap/Makefile @@ -17,6 +17,8 @@ COMMENT= The OpenNAP open-source Napster server USE_GMAKE= YES GNU_CONFIGURE= YES +PKGMESSAGE= ${WRKDIR}/pkg-message +SUB_FILES= pkg-message post-install: (${ECHO_CMD} "" ; ${ECHO_CMD} "admin" ; ${ECHO_CMD} "opennap" ; ${ECHO_CMD} "") | ${WRKSRC}/setup diff --git a/net-p2p/opennap/pkg-message b/net-p2p/opennap/files/pkg-message.in index 6425399..475a03b 100644 --- a/net-p2p/opennap/pkg-message +++ b/net-p2p/opennap/files/pkg-message.in @@ -4,16 +4,16 @@ A default administrator user has been created. The user name is 'admin', password 'opennap'. You will probably want to change these. To do so, edit the file -${PREFIX}/share/opennap/users . +%%PREFIX%%/share/opennap/users . Example configuration files are located in -${PREFIX}/share/opennap/examples/ . Copy -them to ${PREFIX}/share/opennap, removing the +%%PREFIX%%/share/opennap/examples/ . Copy +them to %%PREFIX%%/share/opennap, removing the 'sample.' prefix (e.g. 'sample.conf' becomes 'conf') and edit to your preferences. Documentation is installed under -${PREFIX}/share/doc/opennap . +%%PREFIX%%/share/doc/opennap . If you would like to link your server to the global Napigator search system, go to |