PKG_DESTDIR_SUPPORT
This commit is contained in:
parent
2ace7dc104
commit
120e5d62eb
2 changed files with 13 additions and 10 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.1.1.1 2009/01/04 01:05:46 adrianp Exp $
|
||||
# $NetBSD: Makefile,v 1.2 2009/12/17 21:14:20 abs Exp $
|
||||
#
|
||||
|
||||
DISTNAME= ctrlproxy-3.0.8
|
||||
|
@ -20,19 +20,20 @@ CONF_FILES+= ${PREFIX}/share/examples/ctrlproxy/config.default \
|
|||
${PKG_SYSCONFDIR}/config
|
||||
|
||||
PKGCONFIG_OVERRIDE+= ctrlproxy.pc.in
|
||||
PKG_DESTDIR_SUPPORT= user-destdir
|
||||
INSTALLATION_DIRS+= share/examples/ctrlproxy
|
||||
|
||||
.include "options.mk"
|
||||
|
||||
post-install:
|
||||
cd ${WRKSRC}/doc && ${SETENV} ${MAKE_ENV} ${MAKE} install
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/ctrlproxy/README
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ctrlproxy
|
||||
cd ${WRKSRC}/doc && ${SETENV} ${MAKE_ENV} DESTDIR=${DESTDIR:Q} ${MAKE} install
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/ctrlproxy/README
|
||||
${INSTALL_DATA} ${WRKSRC}/motd \
|
||||
${PREFIX}/share/examples/ctrlproxy/motd
|
||||
${DESTDIR}${PREFIX}/share/examples/ctrlproxy/motd
|
||||
${INSTALL_DATA} ${WRKSRC}/config.default \
|
||||
${PREFIX}/share/examples/ctrlproxy/config.default
|
||||
${DESTDIR}${PREFIX}/share/examples/ctrlproxy/config.default
|
||||
${INSTALL_DATA} ${WRKSRC}/config.example \
|
||||
${PREFIX}/share/examples/ctrlproxy/config.example
|
||||
${DESTDIR}${PREFIX}/share/examples/ctrlproxy/config.example
|
||||
|
||||
.include "../../devel/glib2/buildlink3.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.19 2006/06/09 15:58:39 minskim Exp $
|
||||
# $NetBSD: Makefile,v 1.20 2009/12/17 21:04:41 abs Exp $
|
||||
|
||||
DISTNAME= doc++-3.4.10
|
||||
PKGREVISION= 2
|
||||
|
@ -14,12 +14,14 @@ USE_PKGLOCALEDIR= yes
|
|||
GNU_CONFIGURE= yes
|
||||
USE_LANGUAGES= c c++
|
||||
|
||||
INSTALLATION_DIRS+= share/doc/doc++
|
||||
PKG_DESTDIR_SUPPORT= user-destdir
|
||||
|
||||
#post-extract:
|
||||
# ${RM} ${WRKSRC}/src/getopt.h
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/doc++
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/manual/html/* ${PREFIX}/share/doc/doc++
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/manual/html/* ${DESTDIR}${PREFIX}/share/doc/doc++
|
||||
|
||||
.include "../../devel/gettext-lib/buildlink3.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
|
Loading…
Reference in a new issue