Makefile 864 B

123456789101112131415161718192021222324252627282930313233343536
  1. # $OpenBSD: Makefile,v 1.22 2016/09/10 13:03:41 ajacoutot Exp $
  2. COMMENT= opensource Napster(tm) server
  3. DISTNAME= opennap-0.44
  4. REVISION= 3
  5. CATEGORIES= audio net
  6. MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=opennap/}
  7. HOMEPAGE= http://opennap.sourceforge.net/
  8. # GPLv2
  9. PERMIT_PACKAGE_CDROM= Yes
  10. WANTLIB= c z
  11. SEPARATE_BUILD= Yes
  12. USE_GMAKE= Yes
  13. CONFIGURE_STYLE=gnu
  14. CONFIGURE_ARGS= --enable-email \
  15. --enable-resume \
  16. --datadir=${SYSCONFDIR} \
  17. --with-uid=_opennap \
  18. --with-gid=_opennap
  19. # --enable-chroot \ (breaks uid, gid, and ip lookup)
  20. DOCS= FAQ README manual.html napster.txt
  21. post-install:
  22. ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/opennap
  23. ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/opennap
  24. cd ${WRKSRC}; ${INSTALL_DATA} ${DOCS} ${PREFIX}/share/doc/opennap
  25. ${INSTALL_DATA} ${WRKSRC}/sample.* ${PREFIX}/share/examples/opennap
  26. .include <bsd.port.mk>