mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-30 10:38:37 +00:00
cd62882342
- add missing @exec and remove old SIZE in net/GeoIP - update for libGeoIP.4 in LIB_DEPENDS and bump PORTREVISION - utilize PORTDOCS in www/mod_geoip Noticed by: kris
62 lines
1.6 KiB
Makefile
62 lines
1.6 KiB
Makefile
# New ports collection makefile for: verlihub
|
|
# Date created: 2 April 2004
|
|
# Whom: Hurbold
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= verlihub
|
|
PORTVERSION= 0.9.7r5
|
|
PORTREVISION= 1
|
|
CATEGORIES= net
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= verlihub
|
|
DISTNAME= verlihub-0.9.7-RC5
|
|
|
|
MAINTAINER= hurbold@yahoo.com
|
|
COMMENT= Verlihub Linux/Unix Direct Connect Hub Software
|
|
|
|
LIB_DEPENDS= GeoIP.4:${PORTSDIR}/net/GeoIP \
|
|
pcre.0:${PORTSDIR}/devel/pcre
|
|
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash2
|
|
|
|
USE_MYSQL= yes
|
|
USE_PERL5= yes
|
|
USE_GMAKE= yes
|
|
USE_LIBTOOL_VER= 15
|
|
INSTALLS_SHLIB= yes
|
|
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include"
|
|
|
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
|
PORTDOCS= configuring.txt help.sql using.txt features.html help.html params.php verlihub.html
|
|
|
|
post-patch:
|
|
@${CAT} ${PKGDIR}/pkg-message | ${SED} 's|%%PREFIX%%|${PREFIX}|' > ${PKGMESSAGE}
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
.for i in ${PORTDOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/docs/${i} ${DOCSDIR}
|
|
.endfor
|
|
${INSTALL_SCRIPT} ${WRKSRC}/verlihub_config ${LOCALBASE}/bin
|
|
${MKDIR} ${EXAMPLESDIR}/scripts
|
|
${INSTALL_SCRIPT} ${WRKSRC}/scripts/trigger ${EXAMPLESDIR}/scripts
|
|
${INSTALL_SCRIPT} ${WRKSRC}/scripts/install ${EXAMPLESDIR}/scripts
|
|
${INSTALL_SCRIPT} ${WRKSRC}/scripts/regnick ${EXAMPLESDIR}/scripts
|
|
${INSTALL_SCRIPT} ${WRKSRC}/scripts/runhub ${EXAMPLESDIR}/scripts
|
|
.endif
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 502010
|
|
USE_GCC= 3.3
|
|
.endif
|
|
|
|
.if ${PERL_LEVEL} < 500800
|
|
IGNORE= requires perl 5.8 or later. Install lang/perl5.8 and try again
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|