2000-07-27 08:21:25 +00:00
|
|
|
# New ports collection makefile for: opennap
|
|
|
|
# Date created: 26 July 2000
|
|
|
|
# Whom: Donald Burr <dburr@FreeBSD.ORG>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= opennap
|
2001-01-06 08:38:56 +00:00
|
|
|
PORTVERSION= 0.38
|
2000-07-27 08:21:25 +00:00
|
|
|
CATEGORIES= audio net
|
2001-01-06 08:38:56 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2000-07-27 08:21:25 +00:00
|
|
|
|
|
|
|
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
|
2000-10-08 10:23:48 +00:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
2000-07-27 08:21:25 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|