DESTDIR support
This commit is contained in:
parent
7f47dd6f8a
commit
2449ec7bf8
4 changed files with 30 additions and 10 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.14 2007/02/17 20:59:48 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.15 2010/01/29 17:59:06 joerg Exp $
|
||||
#
|
||||
|
||||
DISTNAME= fhist-1.16
|
||||
|
@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
|
|||
HOMEPAGE= http://fhist.sourceforge.net/
|
||||
COMMENT= File history and comparison tools
|
||||
|
||||
PKG_DESTDIR_SUPPORT= user-destdir
|
||||
|
||||
USE_TOOLS+= gsoelim msgfmt yacc
|
||||
GNU_CONFIGURE= YES
|
||||
USE_PKGLOCALEDIR= YES
|
||||
|
@ -16,6 +18,10 @@ USE_PKGLOCALEDIR= YES
|
|||
CONFIGURE_ARGS+= --with-nlsdir=${PREFIX}/${PKGLOCALEDIR}/locale
|
||||
CONFIGURE_ARGS+= --datadir=${PREFIX}/share/doc
|
||||
|
||||
INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1 share/doc/fhist/en/man1 \
|
||||
share/locale/en/LC_MESSAGES
|
||||
INSTALL_MAKE_FLAGS+= RPM_BUILD_ROOT=${DESTDIR}
|
||||
|
||||
TEST_TARGET= sure
|
||||
|
||||
.include "../../devel/gettext-lib/buildlink3.mk"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.27 2006/11/24 23:04:14 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.28 2010/01/29 18:02:59 joerg Exp $
|
||||
|
||||
DISTNAME= gcvs-1.0
|
||||
PKGREVISION= 4
|
||||
|
@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
|
|||
HOMEPAGE= http://cvsgui.sourceforge.net/
|
||||
COMMENT= GTK interface for CVS
|
||||
|
||||
PKG_DESTDIR_SUPPORT= user-destdir
|
||||
|
||||
CONFLICTS= cvs-[0-9]*
|
||||
|
||||
USE_LANGUAGES= c c++
|
||||
|
@ -22,6 +24,10 @@ CONFIGURE_ARGS+= --with-tclinclude="${BUILDLINK_PREFIX.tcl}/include"
|
|||
CONFIGURE_ARGS+= --with-tcllib="${BUILDLINK_PREFIX.tcl}/lib"
|
||||
CONFIGURE_ARGS+= perl_path=${PERL5}
|
||||
|
||||
INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX} \
|
||||
infodir=${DESTDIR}${PREFIX}/${PKGINFODIR} \
|
||||
mandir=${DESTDIR}${PREFIX}/${PKGMANDIR} \
|
||||
|
||||
.include "../../lang/tcl/buildlink3.mk"
|
||||
.include "../../x11/gtk/buildlink3.mk"
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.10 2008/05/02 16:03:00 bouyer Exp $
|
||||
# $NetBSD: Makefile,v 1.11 2010/01/29 18:02:12 joerg Exp $
|
||||
|
||||
DISTNAME= gputils-0.13.5
|
||||
CATEGORIES= devel
|
||||
|
@ -8,16 +8,19 @@ MAINTAINER= dogcow@NetBSD.org
|
|||
HOMEPAGE= http://gputils.sourceforge.net/
|
||||
COMMENT= collection of tools for Microchip's PIC micro-processors
|
||||
|
||||
PKG_DESTDIR_SUPPORT= user-destdir
|
||||
|
||||
CONFLICTS= gpasm-*
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_TOOLS+= gmake
|
||||
|
||||
INSTALLATION_DIRS== share/doc/gputils
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gputils
|
||||
for i in ps pdf lyx; do \
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/gputils.$$i \
|
||||
${PREFIX}/share/doc/gputils; \
|
||||
done
|
||||
for i in ps pdf lyx; do \
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/gputils.$$i \
|
||||
${DESTDIR}${PREFIX}/share/doc/gputils; \
|
||||
done
|
||||
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.12 2009/05/19 08:59:09 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.13 2010/01/29 18:08:25 joerg Exp $
|
||||
#
|
||||
|
||||
DISTNAME= hptools-src-3.0.8
|
||||
|
@ -11,6 +11,8 @@ HOMEPAGE= http://www.hpcalc.org/hp48/pc/programming/
|
|||
COMMENT= SDK for Hewlett-Packard HP-48G/49G/39G/40G calculators
|
||||
LICENSE= hptools-license
|
||||
|
||||
PKG_DESTDIR_SUPPORT= user-destdir
|
||||
|
||||
RESTRICTED= Redistribution of unmodified source only; resale prohibited.
|
||||
NO_SRC_ON_CDROM= ${RESTRICTED}
|
||||
NO_BIN_ON_FTP= ${RESTRICTED}
|
||||
|
@ -22,11 +24,14 @@ CONFIGURE_DIRS= support
|
|||
BUILD_DIRS= support
|
||||
USE_TOOLS+= pax
|
||||
|
||||
INSTALLATION_DIRS+= bin
|
||||
INSTALL_MAKE_FLAGS+= bindir=${DESTDIR}${PREFIX}/bin
|
||||
|
||||
post-build:
|
||||
${CHMOD} ${SHAREMODE} ${WRKSRC}/doc/*
|
||||
|
||||
post-install:
|
||||
cd ${WRKSRC} \
|
||||
&& pax -rw -pam -s ',^doc,hptools,g' doc ${PREFIX}/share/doc
|
||||
&& pax -rw -pam -s ',^doc,hptools,g' doc ${DESTDIR}${PREFIX}/share/doc
|
||||
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
|
Loading…
Reference in a new issue