pkgsrc-wip/gnump3d/Makefile
Aleksej Saushev b0cf4a4f7a Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
Mark packages that don't or might probably not have staged installation.
2012-09-29 00:50:33 +00:00

37 lines
975 B
Makefile

# $NetBSD: Makefile,v 1.16 2012/09/29 00:50:39 asau Exp $
#
DISTNAME= gnump3d-2.9.7
CATEGORIES= audio
MASTER_SITES= http://savannah.gnu.org/download/gnump3d/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pancake@phreaker.net
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"