2000-07-27 10:21:25 +02:00
|
|
|
# New ports collection makefile for: opennap
|
|
|
|
# Date created: 26 July 2000
|
|
|
|
# Whom: Donald Burr <dburr@FreeBSD.ORG>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= opennap
|
2002-05-19 08:09:20 +02:00
|
|
|
PORTVERSION= 0.44
|
2004-02-04 06:21:48 +01:00
|
|
|
PORTREVISION= 1
|
2000-07-27 10:21:25 +02:00
|
|
|
CATEGORIES= audio net
|
2001-01-06 09:38:56 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2000-07-27 10:21:25 +02:00
|
|
|
|
2005-03-17 17:42:31 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= The OpenNAP open-source Napster server
|
2000-07-27 10:21:25 +02:00
|
|
|
|
|
|
|
USE_GMAKE= YES
|
|
|
|
GNU_CONFIGURE= YES
|
|
|
|
|
|
|
|
post-install:
|
2002-01-29 10:33:26 +01:00
|
|
|
(${ECHO_CMD} "" ; ${ECHO_CMD} "admin" ; ${ECHO_CMD} "opennap" ; ${ECHO_CMD} "") | ${WRKSRC}/setup
|
2000-07-27 10:21:25 +02:00
|
|
|
.if defined(NOPORTDOCS)
|
2002-01-29 10:33:26 +01:00
|
|
|
@${ECHO_MSG} "===> Documentation skipped."
|
2000-07-27 10:21:25 +02:00
|
|
|
.else
|
2002-01-29 10:33:26 +01:00
|
|
|
@${ECHO_MSG} "===> Installing documentation into ${PREFIX}/share/doc/opennap."
|
2000-07-27 10:21:25 +02:00
|
|
|
@${MKDIR} ${PREFIX}/share/doc/opennap
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/opennap
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/napster.txt ${PREFIX}/share/doc/opennap
|
|
|
|
.endif
|
2002-01-29 10:33:26 +01:00
|
|
|
@${ECHO_MSG} "===> Installing example config files into ${PREFIX}/share/doc/opennap."
|
2000-07-27 10:21:25 +02:00
|
|
|
@${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
|
2002-01-29 10:33:26 +01:00
|
|
|
@${ECHO_MSG} "===> Installing startup script into ${PREFIX}/etc/rc.d."
|
2000-07-27 10:21:25 +02:00
|
|
|
${INSTALL_SCRIPT} ${FILESDIR}/opennap.sh ${PREFIX}/etc/rc.d
|
2000-10-08 12:23:48 +02:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
2000-07-27 10:21:25 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|