diff options
author | joerg <joerg@pkgsrc.org> | 2010-01-29 16:51:38 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-01-29 16:51:38 +0000 |
commit | dd16423a601e9964c1bcd8c180fdfc7db6d12e97 (patch) | |
tree | d793efe2c921b6a9d26b1de0536e6f0ab8acc511 /converters/xdeview | |
parent | eef4fbe1cb14fd3b0c629818c9213acb56e64e0d (diff) | |
download | pkgsrc-dd16423a601e9964c1bcd8c180fdfc7db6d12e97.tar.gz |
DESTDIR support
Diffstat (limited to 'converters/xdeview')
-rw-r--r-- | converters/xdeview/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/converters/xdeview/Makefile b/converters/xdeview/Makefile index 08e9cdcab53..01c98d0ff79 100644 --- a/converters/xdeview/Makefile +++ b/converters/xdeview/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.38 2007/01/07 09:13:50 rillig Exp $ +# $NetBSD: Makefile,v 1.39 2010/01/29 16:55:45 joerg Exp $ DISTNAME= uudeview-0.5.20 PKGNAME= xdeview-0.5.20 @@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.fpx.de/fp/Software/UUDeview/ COMMENT= X11 program for uu/xx/Base64/BinHex de-/encoding +PKG_DESTDIR_SUPPORT= user-destdir + GNU_CONFIGURE= yes CONFIGURE_ARGS+= --enable-tcl=${LOCALBASE:Q} CONFIGURE_ARGS+= --enable-tk=${LOCALBASE:Q} @@ -18,8 +20,11 @@ LDFLAGS+= -s -lX11 BUILD_TARGET= xdeview INSTALL_TARGET= install-tcl +INSTALLATION_DIRS+= ${PKGMANDIR}/man1 +INSTALL_MAKE_FLAGS+= bindir=${DESTDIR}${PREFIX}/bin + post-install: - ${INSTALL_MAN} ${WRKSRC}/man/xdeview.1 ${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL_MAN} ${WRKSRC}/man/xdeview.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 .include "../../converters/uulib/buildlink3.mk" .include "../../x11/tk/buildlink3.mk" |