2011-09-17 14:05:00 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.11 2011/09/17 18:05:00 jakob Exp $
|
2004-01-17 20:50:36 -05:00
|
|
|
|
2007-01-16 12:52:06 -05:00
|
|
|
SHARED_ONLY= Yes
|
2002-11-10 14:57:04 -05:00
|
|
|
|
2007-09-15 16:38:20 -04:00
|
|
|
COMMENT= speed up perl scripts by running them persistently
|
2002-11-10 14:57:04 -05:00
|
|
|
|
2007-01-16 12:52:06 -05:00
|
|
|
MODULES= cpan
|
2007-11-08 01:43:47 -05:00
|
|
|
VERSION= 2.22
|
|
|
|
DISTNAME= CGI-SpeedyCGI-${VERSION}
|
2010-09-24 11:37:42 -04:00
|
|
|
PKGNAME= p5-CGI-SpeedyCGI-${VERSION}
|
2011-09-17 14:05:00 -04:00
|
|
|
REVISION= 3
|
2007-01-16 12:52:06 -05:00
|
|
|
CATEGORIES= www
|
2002-11-10 14:57:04 -05:00
|
|
|
|
|
|
|
HOMEPAGE= http://daemoninc.com/SpeedyCGI/
|
|
|
|
|
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2004-12-11 08:29:20 -05:00
|
|
|
WANTLIB= c m perl util
|
2002-11-10 14:57:04 -05:00
|
|
|
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2007-11-08 01:43:47 -05:00
|
|
|
post-patch:
|
|
|
|
@cp ${WRKSRC}/src/optdefs ${WRKSRC}/src/optdefs.orig
|
|
|
|
@sed 's,!!PREFIX!!,${PREFIX},' \
|
|
|
|
< ${WRKSRC}/src/optdefs.orig \
|
|
|
|
> ${WRKSRC}/src/optdefs
|
|
|
|
|
2002-11-10 14:57:04 -05:00
|
|
|
post-build:
|
|
|
|
@sed 's,!!PREFIX!!,${PREFIX},' \
|
|
|
|
< ${FILESDIR}/mod_speedycgi-enable \
|
|
|
|
> ${WRKBUILD}/mod_speedycgi-enable
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_SCRIPT} ${WRKBUILD}/mod_speedycgi-enable ${PREFIX}/sbin
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/mod_speedycgi/mod_speedycgi.so ${PREFIX}/lib
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|