wouldn't mind seeing other people continue to maintain these packages. Resetting to pkgsrc-users@NetBSD.org
37 lines
980 B
Makefile
37 lines
980 B
Makefile
# $NetBSD: Makefile,v 1.17 2012/11/25 23:32:18 othyro Exp $
|
|
#
|
|
|
|
DISTNAME= gnump3d-2.9.7
|
|
CATEGORIES= audio
|
|
MASTER_SITES= http://savannah.gnu.org/download/gnump3d/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.gnu.org/software/gnump3d/
|
|
COMMENT= The GNU Streaming MP3 / Media Server
|
|
|
|
PKG_DESTDIR_SUPPORT= none
|
|
|
|
CFGFILE= ${PKG_SYSCONFDIR}/gnump3d/gnump3d.conf
|
|
RCD_SCRIPTS= gnump3d
|
|
CONF_FILES= none ${CFGFILE}
|
|
|
|
USE_TOOLS+= gmake perl
|
|
REPLACE_PERL= ${WRKSRC}/bin/*
|
|
NO_BUILD= yes
|
|
|
|
SUBST_CLASSES+= gnump3d
|
|
SUBST_FILES.gnump3d= bin/gnump3d-index bin/gnump3d-top bin/gnump3d2 \
|
|
etc/gnump3d.conf
|
|
SUBST_STAGE.gnump3d= pre-patch
|
|
SUBST_SED.gnump3d+= -e s!/usr\/!${PREFIX}/!
|
|
SUBST_SED.gnump3d+= -e s!/etc\/!${PREFIX}/etc/!
|
|
|
|
pre-install:
|
|
${FIND} ${WRKSRC} -type f -name \*.sav |${XARGS} ${RM} -f
|
|
|
|
post-install:
|
|
cp ${CFGFILE} ${CFGFILE}.default
|
|
if [ -e ${CFGFILE}-orig ]; then cp ${CFGFILE}-orig ${CFGFILE} ; fi
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|