From e3054d58f95e8264b588a08217644c318c0cddc3 Mon Sep 17 00:00:00 2001 From: Erwin Lansing Date: Mon, 4 Sep 2006 15:51:11 +0000 Subject: - s/INSTALL_SHLIB/USE_LDCONFIG/ - Use SUB_FILES - Make it depend on bash 3.x instead of 2.x PR: 102596 Submitted by: gabor Approved by: maintainer --- net-p2p/verlihub/Makefile | 8 +++----- net-p2p/verlihub/files/pkg-message.in | 21 +++++++++++++++++++++ net-p2p/verlihub/pkg-message | 21 --------------------- 3 files changed, 24 insertions(+), 26 deletions(-) create mode 100644 net-p2p/verlihub/files/pkg-message.in delete mode 100644 net-p2p/verlihub/pkg-message (limited to 'net-p2p/verlihub') diff --git a/net-p2p/verlihub/Makefile b/net-p2p/verlihub/Makefile index 151207e14aae..7f1cc6e1a34d 100644 --- a/net-p2p/verlihub/Makefile +++ b/net-p2p/verlihub/Makefile @@ -19,7 +19,7 @@ COMMENT= Verlihub Linux/Unix Direct Connect Hub Software LIB_DEPENDS= GeoIP.5:${PORTSDIR}/net/GeoIP \ pcre.0:${PORTSDIR}/devel/pcre -RUN_DEPENDS= bash:${PORTSDIR}/shells/bash2 +RUN_DEPENDS= bash:${PORTSDIR}/shells/bash WRKSRC= ${WRKDIR}/verlihub-0.9.8c @@ -27,8 +27,9 @@ USE_MYSQL= yes USE_PERL5= yes USE_GMAKE= yes GNU_CONFIGURE= yes -INSTALLS_SHLIB= yes +USE_LDCONFIG= yes CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" +SUB_FILES+= pkg-message PKGMESSAGE= ${WRKDIR}/pkg-message PORTDOCS= configuring.txt help.sql using.txt features.html help.html params.php verlihub.html @@ -39,9 +40,6 @@ PORTDOCS= configuring.txt help.sql using.txt features.html help.html params.php USE_GCC= 3.4+ .endif -post-patch: - @${CAT} ${PKGDIR}/pkg-message | ${SED} 's|%%PREFIX%%|${PREFIX}|' > ${PKGMESSAGE} - post-install: .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} diff --git a/net-p2p/verlihub/files/pkg-message.in b/net-p2p/verlihub/files/pkg-message.in new file mode 100644 index 000000000000..2409001e9e2d --- /dev/null +++ b/net-p2p/verlihub/files/pkg-message.in @@ -0,0 +1,21 @@ +-------------------------------------------------------------------- + +Documentation has been installed in %%PREFIX%%/share/doc + +Scripts and the executable have been installed in %%PREFIX%%/bin + +This port requires a working mysql server installation, either +locally or remotely. + +Once you have a properly-running mysql server, please run the install +script: + +%%PREFIX%%/bin/vh_install + +Follow the instructions given. + +Visit http://verlihub.sourceforge.net for the project's homepage +or http://verlihub.no-ip.com for the project's forums. The verlihub +manual is available online at http://www.danomac.org/verlihub + +------------------------------------------------------------------- diff --git a/net-p2p/verlihub/pkg-message b/net-p2p/verlihub/pkg-message deleted file mode 100644 index 2409001e9e2d..000000000000 --- a/net-p2p/verlihub/pkg-message +++ /dev/null @@ -1,21 +0,0 @@ --------------------------------------------------------------------- - -Documentation has been installed in %%PREFIX%%/share/doc - -Scripts and the executable have been installed in %%PREFIX%%/bin - -This port requires a working mysql server installation, either -locally or remotely. - -Once you have a properly-running mysql server, please run the install -script: - -%%PREFIX%%/bin/vh_install - -Follow the instructions given. - -Visit http://verlihub.sourceforge.net for the project's homepage -or http://verlihub.no-ip.com for the project's forums. The verlihub -manual is available online at http://www.danomac.org/verlihub - -------------------------------------------------------------------- -- cgit v1.2.3