diff options
author | asami <asami@FreeBSD.org> | 1998-11-14 17:43:39 +0800 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1998-11-14 17:43:39 +0800 |
commit | 521807d38becba50804a00710cfa1b51c759a4f4 (patch) | |
tree | 26cfeb8a991d32014f9a30277d2ade973f1a937f /x11-wm/windowmaker | |
parent | f4c70db8f8fed4684d8013755f0d23c5da34733e (diff) | |
download | freebsd-ports-gnome-521807d38becba50804a00710cfa1b51c759a4f4.tar.gz freebsd-ports-gnome-521807d38becba50804a00710cfa1b51c759a4f4.tar.zst freebsd-ports-gnome-521807d38becba50804a00710cfa1b51c759a4f4.zip |
Use bsd.port.{pre,post}.mk to move PORTOBJFORMAT to front, or change
shell loops to make loops. Use EXTRA_PKG_FLAGS to add install scripts
instead of adding it to PKG_FLAGS after bsd.port.mk.
Diffstat (limited to 'x11-wm/windowmaker')
-rw-r--r-- | x11-wm/windowmaker/Makefile | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/x11-wm/windowmaker/Makefile b/x11-wm/windowmaker/Makefile index 5416ff0eaedc..d1a9ee03f576 100644 --- a/x11-wm/windowmaker/Makefile +++ b/x11-wm/windowmaker/Makefile @@ -3,7 +3,7 @@ # Date created: August 13, 1997 # Whom: handy@physics.montana.edu # -# $Id: Makefile,v 1.35 1998/10/19 10:57:04 tg Exp $ +# $Id: Makefile,v 1.36 1998/10/30 08:24:36 tg Exp $ DISTNAME= WindowMaker-0.20.2 PKGNAME= windowmaker-0.20.2 @@ -35,6 +35,8 @@ MAN1= geticonset.1x getstyle.1x seticons.1x setstyle.1x \ DATAFILES= WindowMaker-data.tar.gz +.include <bsd.port.pre.mk> + post-patch: @perl -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/WPrefs.app/Paths.c @@ -42,11 +44,11 @@ post-install: ${MKDIR} ${PREFIX}/share/WindowMaker/Pixmaps/ ${INSTALL_DATA} ${WRKDIR}/WindowMaker-data/pixmaps/* \ ${PREFIX}/share/WindowMaker/Pixmaps/ - if [ "${PORTOBJFORMAT}" = "elf" ]; then \ - ${LN} -sf libPropList.so.0 ${PREFIX}/lib/libPropList.so; \ - else \ - ${LN} -sf libPropList.so.0.8 ${PREFIX}/lib/libPropList.so; \ - fi +.if ${PORTOBJFORMAT} == "elf" + ${LN} -sf libPropList.so.0 ${PREFIX}/lib/libPropList.so +.else + ${LN} -sf libPropList.so.0.8 ${PREFIX}/lib/libPropList.so +.endif ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib -.include <bsd.port.mk> +.include <bsd.port.post.mk> |