From a6f9925c9050669cce4be10e8a9430ab6549654a Mon Sep 17 00:00:00 2001 From: Edwin Groothuis Date: Wed, 30 Nov 2005 21:48:29 +0000 Subject: Run pkg-message through SUB_FILES. Display pkg-message when installing the port (vs the package) --- finance/pfpro/Makefile | 8 ++++---- finance/pfpro/files/pkg-message.in | 3 +++ finance/pfpro/pkg-message | 3 --- 3 files changed, 7 insertions(+), 7 deletions(-) create mode 100644 finance/pfpro/files/pkg-message.in delete mode 100644 finance/pfpro/pkg-message diff --git a/finance/pfpro/Makefile b/finance/pfpro/Makefile index 79a5ccc5d230..511650049ab4 100644 --- a/finance/pfpro/Makefile +++ b/finance/pfpro/Makefile @@ -19,6 +19,7 @@ RESTRICTED= "Only for VeriSign PayFlow Pro customers" NO_BUILD= yes INSTALLS_SHLIB= yes NO_WRKSUBDIR= yes +SUB_FILES= pkg-message PKGMESSAGE= ${WRKDIR}/pkg-message @@ -43,10 +44,6 @@ some terms and conditions. After downing the SDK, place ${PFP_BUNDLE}\n\ in ${DISTDIR}.\n .endif -post-patch: - @${SED} -e "s,%%PREFIX%%,${PREFIX},g" ${.CURDIR}/pkg-message \ - > ${PKGMESSAGE} - do-install: ${INSTALL_PROGRAM} ${FBSDDIR}/bin/pfpro ${PREFIX}/bin ${INSTALL_PROGRAM} ${FBSDDIR}/bin/pfpro-file ${PREFIX}/bin @@ -55,4 +52,7 @@ do-install: ${MKDIR} ${CERTDIR} ${INSTALL_DATA} ${FBSDDIR}/certs/f73e89fd.0 ${CERTDIR} +post-install: + ${CAT} ${PKGMESSAGE} + .include diff --git a/finance/pfpro/files/pkg-message.in b/finance/pfpro/files/pkg-message.in new file mode 100644 index 000000000000..38b6b1fb18dd --- /dev/null +++ b/finance/pfpro/files/pkg-message.in @@ -0,0 +1,3 @@ +You must set the environment variable PFPRO_CERT_PATH to point to +the directory that contains the file f73e89fd.0. The default location +is: %%PREFIX%%/certs diff --git a/finance/pfpro/pkg-message b/finance/pfpro/pkg-message deleted file mode 100644 index 38b6b1fb18dd..000000000000 --- a/finance/pfpro/pkg-message +++ /dev/null @@ -1,3 +0,0 @@ -You must set the environment variable PFPRO_CERT_PATH to point to -the directory that contains the file f73e89fd.0. The default location -is: %%PREFIX%%/certs -- cgit