2007-09-15 17:26:00 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.15 2007/09/15 21:26:02 simon Exp $
|
2000-08-23 03:04:49 -04:00
|
|
|
|
2007-09-15 17:26:00 -04:00
|
|
|
COMMENT= opensource Napster(tm) server
|
2001-03-31 17:41:48 -05:00
|
|
|
|
2002-08-09 21:14:04 -04:00
|
|
|
DISTNAME= opennap-0.44
|
2003-06-22 06:01:35 -04:00
|
|
|
PKGNAME= ${DISTNAME}p0
|
2000-08-23 03:04:49 -04:00
|
|
|
CATEGORIES= audio net
|
2002-05-13 14:50:36 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=opennap/}
|
2000-08-23 03:04:49 -04:00
|
|
|
|
|
|
|
HOMEPAGE= http://opennap.sourceforge.net/
|
|
|
|
|
2002-08-09 21:14:04 -04:00
|
|
|
# GPL
|
2000-09-03 03:02:06 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2004-11-21 12:51:44 -05:00
|
|
|
WANTLIB= c z
|
2000-08-23 03:04:49 -04:00
|
|
|
|
2001-03-31 17:41:48 -05:00
|
|
|
SEPARATE_BUILD= concurrent
|
2000-08-23 03:04:49 -04:00
|
|
|
USE_GMAKE= Yes
|
2002-08-09 21:14:04 -04:00
|
|
|
CONFIGURE_STYLE=gnu
|
|
|
|
CONFIGURE_ARGS= \
|
|
|
|
--enable-email \
|
|
|
|
--enable-resume \
|
2003-06-22 06:01:35 -04:00
|
|
|
--datadir=${SYSCONFDIR} \
|
|
|
|
--with-uid=_opennap \
|
|
|
|
--with-gid=_opennap
|
2002-08-23 04:46:19 -04:00
|
|
|
# --enable-chroot \ (breaks uid, gid, and ip lookup)
|
2002-08-09 21:14:04 -04:00
|
|
|
|
2003-06-24 20:20:44 -04:00
|
|
|
.if ${MACHINE_ARCH} == "vax"
|
|
|
|
CFLAGS+= -O0 # XXX compiler bugs
|
|
|
|
.endif
|
|
|
|
|
2002-08-09 21:14:04 -04:00
|
|
|
DOCS= FAQ README manual.html napster.txt
|
2000-08-23 03:04:49 -04:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/opennap
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/opennap
|
|
|
|
cd ${WRKSRC}; ${INSTALL_DATA} ${DOCS} ${PREFIX}/share/doc/opennap
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/sample.* ${PREFIX}/share/examples/opennap
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|