PKG_DESTDIR_SUPPORT
This commit is contained in:
parent
e9bf3f3e00
commit
b122bf8a8d
2 changed files with 12 additions and 9 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.21 2007/10/10 15:27:15 dmcmahill Exp $
|
||||
# $NetBSD: Makefile,v 1.22 2009/12/17 19:18:35 abs Exp $
|
||||
|
||||
DISTNAME= plugger-4.0-linux-x86-glibc
|
||||
PKGNAME= ns-${PLUGGERNAME}-${BINNAME}-${PLUGGERVERS}
|
||||
|
@ -28,18 +28,19 @@ DOCDIR= ${PREFIX}/share/doc/plugger
|
|||
|
||||
PLIST_SUBST+= NS_PLUGINS_DIR=${NS_PLUGINS_DIR:S/${PREFIX}\///}
|
||||
|
||||
INSTALLATION_DIRS= bin ${PKGMANDIR}/man7
|
||||
INSTALLATION_DIRS+= bin ${PKGMANDIR}/man7
|
||||
INSTALLATION_DIRS+= lib/netscape/plugins share/doc/plugger
|
||||
PKG_DESTDIR_SUPPORT= user-destdir
|
||||
|
||||
.PHONY: do-install-common do-install-pluggerrc
|
||||
do-install-common:
|
||||
${INSTALL_DATA_DIR} ${NS_PLUGINS_DIR} ${DOCDIR}
|
||||
cd ${WRKSRC}; ${INSTALL_PROGRAM} plugger.so ${NS_PLUGINS_DIR}
|
||||
cd ${WRKSRC}; ${INSTALL_PROGRAM} plugger-4.0 ${PREFIX}/bin
|
||||
cd ${WRKSRC}; ${INSTALL_DATA} plugger.7 ${PREFIX}/${PKGMANDIR}/man7
|
||||
cd ${WRKSRC}; ${INSTALL_DATA} README COPYING ${DOCDIR}
|
||||
cd ${WRKSRC}; ${INSTALL_PROGRAM} plugger.so ${DESTDIR}${NS_PLUGINS_DIR}
|
||||
cd ${WRKSRC}; ${INSTALL_PROGRAM} plugger-4.0 ${DESTDIR}${PREFIX}/bin
|
||||
cd ${WRKSRC}; ${INSTALL_DATA} plugger.7 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man7
|
||||
cd ${WRKSRC}; ${INSTALL_DATA} README COPYING ${DESTDIR}${DOCDIR}
|
||||
|
||||
do-install-pluggerrc:
|
||||
cd ${WRKSRC}; ${INSTALL_DATA} pluggerrc ${MOZILLA_HOME}/pluggerrc
|
||||
cd ${WRKSRC}; ${INSTALL_DATA} pluggerrc ${DESTDIR}${MOZILLA_HOME}/pluggerrc
|
||||
|
||||
.if ${BINNAME} == "common"
|
||||
do-install: do-install-common
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.36 2009/09/11 14:22:07 tonio Exp $
|
||||
# $NetBSD: Makefile,v 1.37 2009/12/17 19:20:05 abs Exp $
|
||||
#
|
||||
|
||||
DISTNAME= lablgtk-2.12.0
|
||||
|
@ -21,6 +21,8 @@ BUILDLINK_DEPMETHOD.ocaml= full
|
|||
|
||||
CONFLICTS= lablgtk2-2.*{,nb*}
|
||||
|
||||
PKG_DESTDIR_SUPPORT= user-destdir
|
||||
|
||||
.include "../../mk/bsd.prefs.mk"
|
||||
|
||||
# Stub libraries for functions missing from base system.
|
||||
|
|
Loading…
Reference in a new issue