diff options
Diffstat (limited to 'net-p2p/opennap/Makefile')
-rw-r--r-- | net-p2p/opennap/Makefile | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/net-p2p/opennap/Makefile b/net-p2p/opennap/Makefile new file mode 100644 index 000000000000..d1b1235c0bbd --- /dev/null +++ b/net-p2p/opennap/Makefile @@ -0,0 +1,39 @@ +# New ports collection makefile for: opennap +# Date created: 26 July 2000 +# Whom: Donald Burr <dburr@FreeBSD.ORG> +# +# $FreeBSD$ +# + +PORTNAME= opennap +PORTVERSION= 0.35 +CATEGORIES= audio net +MASTER_SITES= ftp://download.sourceforge.net/pub/sourceforge/opennap/ \ + ftp://ftp.darenet.dk/mirrors/mirror.linuxberg.com/files/console/servers/ \ + ftp://ftp.netis.com/pub/mirrors2/linuxberg/files/console/servers/ \ + ftp://ftp.sblug.com/pub/unix/ + +MAINTAINER= dburr@FreeBSD.ORG + +USE_GMAKE= YES +GNU_CONFIGURE= YES + +post-install: + (${ECHO} "" ; ${ECHO} "admin" ; ${ECHO} "opennap" ; ${ECHO} "") | ${WRKSRC}/setup +.if defined(NOPORTDOCS) + @echo "===> Documentation skipped." +.else + @echo "===> Installing documentation into ${PREFIX}/share/doc/opennap." + @${MKDIR} ${PREFIX}/share/doc/opennap + ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/opennap + ${INSTALL_DATA} ${WRKSRC}/napster.txt ${PREFIX}/share/doc/opennap +.endif + @echo "===> Installing example config files into ${PREFIX}/share/doc/opennap." + @${MKDIR} ${PREFIX}/share/opennap/examples + ${CHOWN} -R nobody:nobody ${PREFIX}/share/opennap + cd ${WRKSRC} ; for FILE in sample.*; do ${INSTALL_DATA} $${FILE} ${PREFIX}/share/opennap/examples ; done + @echo "===> Installing startup script into ${PREFIX}/etc/rc.d." + ${INSTALL_SCRIPT} ${FILESDIR}/opennap.sh ${PREFIX}/etc/rc.d + @${CAT} ${PKGDIR}/MESSAGE + +.include <bsd.port.mk> |