ajacoutot 5558c792d3 First pass at pre-entively fixing ports that would break once guenther's header
pollution diff is in.

lang/squeak/vm does not build but it's due to the recent audio changes
games/xbattle: also fixes some conflicting implicit decl
print/hplip: also fixes some conflicting implicit decl
2016-09-10 13:03:40 +00:00

36 lines
864 B
Makefile

# $OpenBSD: Makefile,v 1.22 2016/09/10 13:03:41 ajacoutot Exp $
COMMENT= opensource Napster(tm) server
DISTNAME= opennap-0.44
REVISION= 3
CATEGORIES= audio net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=opennap/}
HOMEPAGE= http://opennap.sourceforge.net/
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
WANTLIB= c z
SEPARATE_BUILD= Yes
USE_GMAKE= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= --enable-email \
--enable-resume \
--datadir=${SYSCONFDIR} \
--with-uid=_opennap \
--with-gid=_opennap
# --enable-chroot \ (breaks uid, gid, and ip lookup)
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>