diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-03 17:45:33 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-03 17:45:33 +0000 |
commit | e655762fb793a09bcd629a5ee8889dfe5b1550a0 (patch) | |
tree | 620d08cc8bf79f9bacb7746632192670c7d6350d /devel/st | |
parent | 2d370b7fe4d16560d65355fc39f74d9ef5e1f0c9 (diff) | |
download | pkgsrc-e655762fb793a09bcd629a5ee8889dfe5b1550a0.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'devel/st')
-rw-r--r-- | devel/st/Makefile | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/devel/st/Makefile b/devel/st/Makefile index 698897b5e01..b64241a2150 100644 --- a/devel/st/Makefile +++ b/devel/st/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2006/02/05 23:08:53 joerg Exp $ +# $NetBSD: Makefile,v 1.12 2008/03/03 17:45:37 jlam Exp $ # DISTNAME= st-1.5.1 @@ -10,7 +10,9 @@ MAINTAINER= gson@NetBSD.org HOMEPAGE= http://state-threads.sourceforge.net/ COMMENT= Non-preemptive thread library for Internet applications -ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-sparc NetBSD-*-vax +ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-sparc NetBSD-*-vax + +PKG_DESTDIR_SUPPORT= user-destdir USE_LIBTOOL= yes USE_TOOLS+= gmake @@ -22,16 +24,16 @@ INSTALLATION_DIRS= bin lib do-install: ${LIBTOOL} --mode=install ${INSTALL_DATA} \ - ${WRKSRC}/libst.la ${PREFIX}/lib + ${WRKSRC}/libst.la ${DESTDIR}${PREFIX}/lib ${LIBTOOL} --mode=install ${INSTALL_PROGRAM} \ - ${WRKSRC}/examples/lookupdns ${PREFIX}/bin/st-lookupdns + ${WRKSRC}/examples/lookupdns ${DESTDIR}${PREFIX}/bin/st-lookupdns ${LIBTOOL} --mode=install ${INSTALL_PROGRAM} \ - ${WRKSRC}/examples/proxy ${PREFIX}/bin/st-proxy + ${WRKSRC}/examples/proxy ${DESTDIR}${PREFIX}/bin/st-proxy ${LIBTOOL} --mode=install ${INSTALL_PROGRAM} \ - ${WRKSRC}/examples/server ${PREFIX}/bin/st-server + ${WRKSRC}/examples/server ${DESTDIR}${PREFIX}/bin/st-server ${INSTALL_DATA_DIR} ${PREFIX}/include/st - ${INSTALL_DATA} ${WRKSRC}/public.h ${PREFIX}/include/st.h - ${INSTALL_DATA_DIR} ${HTMLDIR} - cd ${WRKSRC}/docs; ${INSTALL_DATA} *.html *.gif ${HTMLDIR} + ${INSTALL_DATA} ${WRKSRC}/public.h ${DESTDIR}${PREFIX}/include/st.h + ${INSTALL_DATA_DIR} ${DESTDIR}${HTMLDIR} + cd ${WRKSRC}/docs; ${INSTALL_DATA} *.html *.gif ${DESTDIR}${HTMLDIR} .include "../../mk/bsd.pkg.mk" |