Full DESTDIR support.
This commit is contained in:
parent
c0ff0e3bfc
commit
3a1d5465a3
2 changed files with 14 additions and 10 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.1.1.1 2005/12/28 15:52:01 ghen Exp $
|
||||
# $NetBSD: Makefile,v 1.2 2008/01/04 14:36:41 ghen Exp $
|
||||
|
||||
DISTNAME= cripple-0.06b
|
||||
CATEGORIES= audio
|
||||
|
@ -9,6 +9,8 @@ MAINTAINER= ghen@NetBSD.org
|
|||
HOMEPAGE= http://www.vortex.prodigynet.co.uk/cripple/
|
||||
COMMENT= Command line CD ripper/encoder wrapper with cddb support
|
||||
|
||||
PKG_DESTDIR_SUPPORT= user-destdir
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
BUILD_TARGET= cripple
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.15 2007/12/01 13:00:34 rillig Exp $
|
||||
# $NetBSD: Makefile,v 1.16 2008/01/04 14:40:15 ghen Exp $
|
||||
|
||||
DISTNAME= tspc-2.1.1-src
|
||||
PKGNAME= ${DISTNAME:S/-src//}
|
||||
|
@ -11,6 +11,8 @@ MAINTAINER= ghen@NetBSD.org
|
|||
COMMENT= Tunnel Setup Protocol Client for Freenet6
|
||||
HOMEPAGE= http://www.hexago.com/
|
||||
|
||||
PKG_DESTDIR_SUPPORT= user-destdir
|
||||
|
||||
ONLY_FOR_PLATFORM= NetBSD-*-*
|
||||
ONLY_FOR_PLATFORM+= OpenBSD-*-*
|
||||
ONLY_FOR_PLATFORM+= FreeBSD-*-*
|
||||
|
@ -41,13 +43,13 @@ RCD_SCRIPTS= tspc
|
|||
PLIST_SUBST+= TARGET=${TARGET:Q}
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/bin/tspc ${PREFIX}/sbin/
|
||||
${INSTALL_MAN} ${WRKSRC}/man/man5/tspc.conf.5 ${PREFIX}/${PKGMANDIR}/man5/
|
||||
${INSTALL_MAN} ${WRKSRC}/man/man8/tspc.8 ${PREFIX}/${PKGMANDIR}/man8/
|
||||
${INSTALL_DATA} ${WRKSRC}/bin/tspc.conf.sample ${PREFIX}/share/examples/tspc/tspc.conf
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/template/${TARGET}.sh ${PREFIX}/share/tspc/template/
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/template/checktunnel.sh ${PREFIX}/share/tspc/template/
|
||||
${INSTALL_DATA} ${WRKSRC}/template/README ${PREFIX}/share/tspc/template/
|
||||
${INSTALL_DATA} ${WRKSRC}/template/variables_environ ${PREFIX}/share/tspc/template/
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/bin/tspc ${DESTDIR}${PREFIX}/sbin/
|
||||
${INSTALL_MAN} ${WRKSRC}/man/man5/tspc.conf.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5/
|
||||
${INSTALL_MAN} ${WRKSRC}/man/man8/tspc.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/
|
||||
${INSTALL_DATA} ${WRKSRC}/bin/tspc.conf.sample ${DESTDIR}${PREFIX}/share/examples/tspc/tspc.conf
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/template/${TARGET}.sh ${DESTDIR}${PREFIX}/share/tspc/template/
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/template/checktunnel.sh ${DESTDIR}${PREFIX}/share/tspc/template/
|
||||
${INSTALL_DATA} ${WRKSRC}/template/README ${DESTDIR}${PREFIX}/share/tspc/template/
|
||||
${INSTALL_DATA} ${WRKSRC}/template/variables_environ ${DESTDIR}${PREFIX}/share/tspc/template/
|
||||
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
|
Loading…
Reference in a new issue