diff options
author | joerg <joerg> | 2010-02-11 19:17:06 +0000 |
---|---|---|
committer | joerg <joerg> | 2010-02-11 19:17:06 +0000 |
commit | c069eda291496063d198b817628bbb6b6e1f2c40 (patch) | |
tree | c62a0e958e9f6a3f610b384f64039f076b48f718 /misc | |
parent | 0a83549d726e83d7b9ede3d0e2ba540ad3f0a488 (diff) | |
download | pkgsrc-c069eda291496063d198b817628bbb6b6e1f2c40.tar.gz |
DESTDIR support
Diffstat (limited to 'misc')
-rw-r--r-- | misc/dync/Makefile | 10 | ||||
-rw-r--r-- | misc/elizatalk/Makefile | 6 | ||||
-rw-r--r-- | misc/elizatalk/distinfo | 4 | ||||
-rw-r--r-- | misc/elizatalk/patches/patch-aa | 6 |
4 files changed, 19 insertions, 7 deletions
diff --git a/misc/dync/Makefile b/misc/dync/Makefile index 97bcfabcb57..4c58d8152d3 100644 --- a/misc/dync/Makefile +++ b/misc/dync/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2009/05/22 18:16:19 zafer Exp $ +# $NetBSD: Makefile,v 1.17 2010/02/11 19:17:06 joerg Exp $ # DISTNAME= dync-1.1 @@ -10,10 +10,18 @@ MAINTAINER= agc@NetBSD.org HOMEPAGE= http://www.alistaircrooks.co.uk/software.html COMMENT= awk-like utility with C as language +PKG_DESTDIR_SUPPORT= user-destdir + GNU_CONFIGURE= yes BUILD_TARGET= tst USE_TOOLS+= file_cmd CONFIGURE_ENV+= FILE_CMD=${TOOLS_FILE_CMD:Q} CONFIGURE_ENV+= ac_cv_path_LDCONFIG=${TOOLS_LDCONFIG:Q} +INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1 + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/dync ${DESTDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/dync.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 + .include "../../mk/bsd.pkg.mk" diff --git a/misc/elizatalk/Makefile b/misc/elizatalk/Makefile index ac712264590..5a1708a4daf 100644 --- a/misc/elizatalk/Makefile +++ b/misc/elizatalk/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2006/03/04 21:30:10 jlam Exp $ +# $NetBSD: Makefile,v 1.9 2010/02/11 19:18:55 joerg Exp $ DISTNAME= elizatalk-0.4 PKGREVISION= 1 @@ -9,7 +9,11 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://elizatalk.sourceforge.net/ COMMENT= Eliza talkback program +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/elizatalk-src USE_TOOLS+= gmake +INSTALLATION_DIRS+= bin + .include "../../mk/bsd.pkg.mk" diff --git a/misc/elizatalk/distinfo b/misc/elizatalk/distinfo index 874092d835b..a69835291a4 100644 --- a/misc/elizatalk/distinfo +++ b/misc/elizatalk/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.3 2005/02/24 11:02:51 agc Exp $ +$NetBSD: distinfo,v 1.4 2010/02/11 19:18:55 joerg Exp $ SHA1 (elizatalk-0.4.tar.gz) = 8d5d1931fcd3d014b63d27d1c893661941800f84 RMD160 (elizatalk-0.4.tar.gz) = b293b8c200946c24d1c3bd68ab5dc5b6fffc8d3b Size (elizatalk-0.4.tar.gz) = 116369 bytes -SHA1 (patch-aa) = 4c8e1702707636cc3ef516b1a9a26f743d8b5f39 +SHA1 (patch-aa) = 52423155d4b4fdcc2571c69aafcab80cae3d8ab1 SHA1 (patch-ab) = b39c87a6ec89403d14fab195b4e4dd0d48c4e2be diff --git a/misc/elizatalk/patches/patch-aa b/misc/elizatalk/patches/patch-aa index 8b0d1b5f48a..789306eb485 100644 --- a/misc/elizatalk/patches/patch-aa +++ b/misc/elizatalk/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.1.1.1 2003/03/01 13:02:10 jlam Exp $ +$NetBSD: patch-aa,v 1.2 2010/02/11 19:18:55 joerg Exp $ --- Makefile.orig Mon Oct 23 03:27:20 2000 +++ Makefile @@ -16,8 +16,8 @@ $NetBSD: patch-aa,v 1.1.1.1 2003/03/01 13:02:10 jlam Exp $ +#CXX=gcc # C compiler +#CC=gcc # linker +CFLAGS+=-DELIZADIR=\"${PREFIX}/share/elizatalk\" -+INSTALLDIR=${PREFIX}/bin# installation dir of Elizatalk (be sure there is no space between the dir and the #) -+INSTALLDIRDICT=${PREFIX}/share/elizatalk# installation dir of the dictionaries (be sure there is no space between the dir and the #) ++INSTALLDIR=${DESTDIR}${PREFIX}/bin# installation dir of Elizatalk (be sure there is no space between the dir and the #) ++INSTALLDIRDICT=${DESTDIR}${PREFIX}/share/elizatalk# installation dir of the dictionaries (be sure there is no space between the dir and the #) SOURCES=elizatalk.c \ splotch.c |