diff options
author | joerg <joerg@pkgsrc.org> | 2010-02-12 00:00:45 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-02-12 00:00:45 +0000 |
commit | a84480e2a860a11713c207f2aca5bf1d2add8587 (patch) | |
tree | 51698fe5fbb0ecf940c83f4f9bb9332a4c5999df /print/rtf2latex2e/Makefile | |
parent | 87c133631b21887f418a36348facdb0db22b7e62 (diff) | |
download | pkgsrc-a84480e2a860a11713c207f2aca5bf1d2add8587.tar.gz |
DESTDIR support
Diffstat (limited to 'print/rtf2latex2e/Makefile')
-rw-r--r-- | print/rtf2latex2e/Makefile | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/print/rtf2latex2e/Makefile b/print/rtf2latex2e/Makefile index d7229182de3..08d92aa9685 100644 --- a/print/rtf2latex2e/Makefile +++ b/print/rtf2latex2e/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2008/05/26 02:13:23 joerg Exp $ +# $NetBSD: Makefile,v 1.4 2010/02/12 00:10:15 joerg Exp $ # # fix install so it uses ${prefix} @@ -12,6 +12,8 @@ MAINTAINER= reed@reedmedia.net HOMEPAGE= http://sourceforge.net/projects/rtf2latex2e/ COMMENT= RTF to LaTeX2e converter +PKG_DESTDIR_SUPPORT= user-destdir + # ImageMagick is an optional component WRKSRC= ${WRKDIR}/rtf2latex2eUnix-1.0fc1/ @@ -25,11 +27,11 @@ USE_TOOLS+= pax INSTALLATION_DIRS+= bin share/doc/rtf2latex2e share/rtf2latex2e do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/rtf2latex2e.bin ${PREFIX}/bin/rtf2latex2e - ${INSTALL_DATA} ${WRKSRC}/INSTALL ${PREFIX}/share/doc/rtf2latex2e/ - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/rtf2latex2e/ - ${INSTALL_DATA} ${WRKSRC}/doc/rtf2LaTeX2eDoc.html ${PREFIX}/share/doc/rtf2latex2e/ - cd ${WRKSRC} && pax -rw pref ${PREFIX}/share/rtf2latex2e + ${INSTALL_PROGRAM} ${WRKSRC}/rtf2latex2e.bin ${DESTDIR}${PREFIX}/bin/rtf2latex2e + ${INSTALL_DATA} ${WRKSRC}/INSTALL ${DESTDIR}${PREFIX}/share/doc/rtf2latex2e/ + ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/rtf2latex2e/ + ${INSTALL_DATA} ${WRKSRC}/doc/rtf2LaTeX2eDoc.html ${DESTDIR}${PREFIX}/share/doc/rtf2latex2e/ + cd ${WRKSRC} && pax -rw pref ${DESTDIR}${PREFIX}/share/rtf2latex2e # install other docs and examples too? |