openbsd-ports/net/mirror/Makefile
merdely 241b722760 Remove surrounding quotes in COMMENT*/PERMIT_*/BROKEN/ERRORS
Add $OpenBSD$ to p5-SNMP-Info/Makefile (ok kili@, simon@)
2007-09-15 22:36:51 +00:00

47 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.21 2007/09/15 22:36:55 merdely Exp $
COMMENT= mirror packages on remote sites
DISTNAME= mirror-2.9
PKGNAME= ${DISTNAME}p0
CATEGORIES= net
MASTER_SITES= ftp://sunsite.cnlab-switch.ch/mirror/mirror/ \
http://personainternet.linux.tucows.com/files/ \
http://epix.linux.tucows.com/files/ \
ftp://sunsite.org.uk/packages/mirror/
HOMEPAGE= http://sunsite.org.uk/packages/mirror/
PERMIT_PACKAGE_CDROM= may not modify
PERMIT_PACKAGE_FTP= may not modify
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MAKE_FILE= makefile
WRKDIST= ${WRKDIR}
NO_REGRESS= Yes
DOCDIR= ${PREFIX}/share/doc/mirror
DOCS= copyright.html index.html mirror-faq.html mirror.html \
mm.html quickstart.html mirror-on-dusk.gif Lake.class
do-configure:
@-rm -f ${WRKSRC}/mirror.man
@sed -e 's,@DOCDIR@,${DOCDIR},g' < ${FILESDIR}/mirror.man \
>${WRKSRC}/mirror.man
@sed -e 's,@PREFIX@,${PREFIX},g' < ${WRKSRC}/mirror.pl \
> ${WRKSRC}/mirror
@sed -e 's,@PREFIX@,${PREFIX},g' < ${WRKSRC}/mm.pl \
> ${WRKSRC}/mirrormaster
pre-install:
${INSTALL_DATA_DIR} ${PREFIX}/lib/mirror
post-install:
${INSTALL_DATA_DIR} ${DOCDIR}
@cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCDIR}
.include <bsd.port.mk>