# $OpenBSD: Makefile,v 1.4 2001/07/09 18:27:08 danh Exp $ COMMENT= "Microsoft FrontPage 2000 Server extensions for Apache" VERSION= 1.5.1 APVERSION= 1.3.17 DISTNAME= mod_frontpage-${VERSION}-${APVERSION} PKGNAME= mod_frontpage-${VERSION} CATEGORIES= www NEED_VERSION= 1.405 MASTER_SITES= http://home.edo.uni-dortmund.de/~chripo/download/ \ ftp://ftp.edo.uni-dortmund.de/pub/mod_frontpage/ MASTER_SITES0= ftp://ftp.microsoft.com/products/frontpage/ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} fp40.bsdi.tar.z:0 HOMEPAGE= http://home.edo.uni-dortmund.de/~chripo/ MAINTAINER= Dan Harnett PERMIT_PACKAGE_CDROM= "licensing restrictions" PERMIT_PACKAGE_FTP= "licensing restrictions" PERMIT_DISTFILES_CDROM= "licensing restrictions" PERMIT_DISTFILES_FTP= "licensing restrictions" ONLY_FOR_ARCHS= i386 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 @cd ${WRKDIR} && pax -rw frontpage ${PREFIX} @chown -R bin:bin ${PREFIX}/frontpage @chown root ${PREFIX}/frontpage/version4.0/apache-fp/_vti_bin/fpexe .include