diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2007-12-10 22:19:13 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2007-12-10 22:19:13 +0000 |
commit | 5e8cd93f02530b66e591510e850a3a8f3dc45078 (patch) | |
tree | eeec00b17d25c2ac9b6f4996cf47b49dcec6dce1 /x11-wm/jewel/Makefile | |
parent | 6212809747413769cf05e5b019b61e8e1c0c16fb (diff) | |
download | ports-5e8cd93f02530b66e591510e850a3a8f3dc45078.tar.gz ports-5e8cd93f02530b66e591510e850a3a8f3dc45078.zip |
Notes
Diffstat (limited to 'x11-wm/jewel/Makefile')
-rw-r--r-- | x11-wm/jewel/Makefile | 51 |
1 files changed, 20 insertions, 31 deletions
diff --git a/x11-wm/jewel/Makefile b/x11-wm/jewel/Makefile index 869410f003e9..46ecf3bbc27d 100644 --- a/x11-wm/jewel/Makefile +++ b/x11-wm/jewel/Makefile @@ -8,52 +8,41 @@ PORTNAME= jewel PORTVERSION= 0.12.41 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11-wm MASTER_SITES= http://mjr.towers.org.uk/comp/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= gahr@gahr.ch COMMENT= Window manager based on aewm++ -ALL_TARGET= jewel -DOCDIR= share/doc/${PORTNAME} +ALL_TARGET= all DOCS= Changelog Changelog.DLR Changelog.jewel INSTALL LICENSE README MAN1= jewel.1x -PLIST= ${WRKDIR}/pkg-plist -USE_X_PREFIX= yes +USE_XLIB= yes USE_GMAKE= yes -.include <bsd.port.pre.mk> - -.if ${OSVERSION} >= 700042 -BROKEN= Broken with gcc 4.2 -.endif - post-patch: - @${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.orig - @${SED} -e "s,^CC,#CC,g ; s,^CFLAGS,#CFLAGS,g ; \ - s,^prefix,#prefix,g ; s,prefix,PREFIX,g ; \ - s,/usr/X11R6,${X11BASE},g ; \ - s,CC,CXX,g ; s,CFLAGS,CXXFLAGS,g" < ${WRKSRC}/Makefile.orig \ - > ${WRKSRC}/Makefile - -pre-install: - ${ECHO_CMD} bin/jewel > ${PLIST} -.if !defined(NOPORTDOCS) -.for ii in ${DOCS} - ${ECHO_CMD} ${DOCDIR}/${ii} >> ${PLIST} -.endfor - ${ECHO_CMD} @dirrm ${DOCDIR} >> ${PLIST} -.endif + @${REINPLACE_CMD} -e 's|^CC|#CC|g; \ + s|^CFLAGS|#CFLAGS|g; \ + s|^prefix|#prefix|g; \ + s|prefix|PREFIX|g; \ + s|/usr/X11R6|${X11BASE}|g; \ + s|CC|CXX|g; \ + s|CFLAGS|CXXFLAGS|g' \ + ${WRKSRC}/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/jewel ${PREFIX}/bin/jewel - ${INSTALL_MAN} ${WRKSRC}/jewel.1x ${PREFIX}/man/man1 + ${INSTALL_PROGRAM} ${WRKSRC}/goodies/appbar/appbar ${PREFIX}/bin/jewel-appbar + ${INSTALL_PROGRAM} ${WRKSRC}/goodies/fspanel/fspanel ${PREFIX}/bin/jewel-fspanel + ${INSTALL_PROGRAM} ${WRKSRC}/goodies/setrootimage/setrootimage ${PREFIX}/bin/jewel-setrootimage + ${INSTALL_PROGRAM} ${WRKSRC}/goodies/xsession/xsession ${PREFIX}/bin/jewel-xsession + ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${PREFIX}/man/man1 .if !defined(NOPORTDOCS) - ${MKDIR} ${PREFIX}/${DOCDIR} + ${MKDIR} ${DOCSDIR} .for ii in ${DOCS} - ${INSTALL_DATA} ${WRKSRC}/${ii} ${PREFIX}/${DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/${ii} ${DOCSDIR}/ .endfor .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> |