openbsd-ports/audio/opennap/Makefile

43 lines
1021 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.15 2007/09/15 21:26:02 simon Exp $
COMMENT= opensource Napster(tm) server
2001-03-31 17:41:48 -05:00
DISTNAME= opennap-0.44
2003-06-22 06:01:35 -04:00
PKGNAME= ${DISTNAME}p0
CATEGORIES= audio net
2002-05-13 14:50:36 -04:00
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=opennap/}
HOMEPAGE= http://opennap.sourceforge.net/
# GPL
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
2001-03-31 17:41:48 -05:00
SEPARATE_BUILD= concurrent
USE_GMAKE= Yes
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
# --enable-chroot \ (breaks uid, gid, and ip lookup)
.if ${MACHINE_ARCH} == "vax"
CFLAGS+= -O0 # XXX compiler bugs
.endif
DOCS= FAQ README manual.html napster.txt
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>