openbsd-ports/www/mod_frontpage/Makefile
2001-06-09 18:00:25 +00:00

48 lines
1.4 KiB
Makefile

# $OpenBSD: Makefile,v 1.3 2001/06/09 18:00:25 pvalchev Exp $
COMMENT= "allows use of Microsoft FrontPage extensions with Apache"
VERSION= 1.5.1
APVERSION= 1.3.17
DISTNAME= mod_frontpage-${VERSION}-${APVERSION}
PKGNAME= mod_frontpage-${VERSION}
CATEGORIES= www
NEED_VERSION= 1.364
MASTER_SITES= http://home.edo.uni-dortmund.de/~chripo/download/ \
ftp://ftp.edo.uni-dortmund.de/pub/mod_frontpage/
HOMEPAGE= http://home.edo.uni-dortmund.de/~chripo/
MAINTAINER= Dan Harnett <danh@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
# This port current only works with archs supporting dynamic loading.
ONLY_FOR_ARCHS= i386 m68k sparc
APACHEDIST= ${WRKDIR}/apache_${APVERSION}
FP_PATCH= ${WRKDIR}/${DISTNAME}/patch-${VERSION}-${APVERSION}
WRKSRC= ${WRKDIR}/apache_${APVERSION}/src/modules/frontpage
post-extract:
@mkdir -p ${WRKSRC}
@cp ${FILESDIR}/Makefile.OpenBSD ${WRKSRC}/Makefile.OpenBSD
post-patch:
@patch -s -p0 -d ${APACHEDIST} < ${FP_PATCH}
do-build:
@cd ${WRKSRC} && ${MAKE} -f Makefile.OpenBSD
@sed 's,y0y0y0,${TRUEPREFIX},' \
< ${FILESDIR}/frontpage-enable > ${WRKSRC}/frontpage-enable
do-install:
${INSTALL_DATA} ${WRKSRC}/mod_frontpage.so ${PREFIX}/lib
${INSTALL_SCRIPT} ${WRKSRC}/frontpage-enable ${PREFIX}/sbin
${INSTALL_PROGRAM} ${WRKSRC}/fpexec ${PREFIX}/sbin
.include <bsd.port.mk>