summaryrefslogtreecommitdiff
path: root/misc/pdmenu/Makefile
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2001-02-21 02:34:58 +0000
committerhubertf <hubertf@pkgsrc.org>2001-02-21 02:34:58 +0000
commit0e6438cb4ec89e9e84b707df13c90d253cfb36ea (patch)
tree9e51e1fdcdea5bcc8e8bdf65ad3006cb21082b50 /misc/pdmenu/Makefile
parentd210267b93275ae0bd64778f03735cf30579c8f9 (diff)
downloadpkgsrc-0e6438cb4ec89e9e84b707df13c90d253cfb36ea.tar.gz
* no functional changes, only some fixes for the Makefile
(pass -Wl,-R via MAKE_ENV instead of the patch etc) Patch sent by Tomasz Luchowski <zuntum@eik.pl> in private mail.
Diffstat (limited to 'misc/pdmenu/Makefile')
-rw-r--r--misc/pdmenu/Makefile28
1 files changed, 13 insertions, 15 deletions
diff --git a/misc/pdmenu/Makefile b/misc/pdmenu/Makefile
index 6c40a592837..b0cce942198 100644
--- a/misc/pdmenu/Makefile
+++ b/misc/pdmenu/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2001/02/17 18:09:18 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2001/02/21 02:34:58 hubertf Exp $
# FreeBSD Id: ports/misc/pdmenu/Makefile,v 1.11 2001/01/16 17:31:42 sobomax Exp
DISTNAME= ${PKGNAME:S|-|_|}
@@ -17,27 +17,25 @@ USE_GMAKE= YES
USE_PERL5= YES
WRKSRC= ${WRKDIR}/pdmenu
-CONFIGURE_ENV= SLANG_LIB_LOC='${LOCALBASE}/lib' \
+CONFIGURE_ENV= SLANG_LIB_LOC='${LOCALBASE}/lib' \
SLANG_H_LOC='${LOCALBASE}/include/slang.h'
-post-patch:
- ${SED} "s,@LOCALBASE@,${LOCALBASE},g" \
- < ${WRKSRC}/autoconf/makeinfo.in > ${WRKSRC}/autoconf/makeinfo.in.done
- ${MV} ${WRKSRC}/autoconf/makeinfo.in.done ${WRKSRC}/autoconf/makeinfo.in
+MAKE_ENV+= "LIBS=-Wl,-R${LOCALBASE}/lib -L${LOCALBASE}/lib"
pre-install:
+ ${SED} "s,.B /etc/pdmenurc,.B ${PREFIX}/etc/pdmenurc,g" \
+ ${WRKSRC}/doc/pdmenurc.man > ${WRKSRC}/doc/pdmenurc.man.done
+ ${MV} ${WRKSRC}/doc/pdmenurc.man.done ${WRKSRC}/doc/pdmenurc.man
${INSTALL_DATA_DIR} ${PREFIX}/lib/pdmenu
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/pdmenu ${PREFIX}/share/examples/pdmenu \
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/pdmenu ${PREFIX}/share/examples/pdmenu \
${PREFIX}/share/examples/pdmenu/newbie
- cd ${WRKSRC}/doc && ${INSTALL} -c -o root -g wheel ANNOUNCE BUGS TODO \
- pdmenu-1.2.65.lsm ${PREFIX}/share/doc/pdmenu
- cd ${WRKSRC}/examples && ${INSTALL} -c -o root -g wheel README ba.lpd \
- pdmenurc pdmenurc.complex pdmenurc.monitor showdir.pl \
- ${PREFIX}/share/examples/pdmenu
- cd ${WRKSRC}/examples/newbie && ${INSTALL} -c -o root -g wheel \
- modem-check pdmenurc.newbie rpm-info-on-command \
- ${PREFIX}/share/examples/pdmenu/newbie
+ cd ${WRKSRC}/doc && ${INSTALL_DATA} ANNOUNCE BUGS TODO pdmenu-1.2.65.lsm \
+ ${PREFIX}/share/doc/pdmenu
+ cd ${WRKSRC}/examples && ${INSTALL_DATA} README ba.lpd pdmenurc pdmenurc.complex\
+ pdmenurc.monitor showdir.pl ${PREFIX}/share/examples/pdmenu
+ cd ${WRKSRC}/examples/newbie && ${INSTALL_DATA} modem-check pdmenurc.newbie \
+ rpm-info-on-command ${PREFIX}/share/examples/pdmenu/newbie
.include "../../mk/bsd.pkg.mk"