Index: head/x11/3ddesktop/Makefile =================================================================== --- head/x11/3ddesktop/Makefile (revision 315241) +++ head/x11/3ddesktop/Makefile (revision 315242) @@ -1,46 +1,44 @@ -# New ports collection makefile for: 3ddesktop -# Date created: 12 June 2003 -# Whom: Adam Weinberger -# +# Created by: Adam Weinberger # $FreeBSD$ -# PORTNAME= 3ddesktop PORTVERSION= 0.2.9 PORTREVISION= 10 CATEGORIES= x11 MASTER_SITES= SF/desk3d/${PORTNAME}/${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= 3D Virtual Desktop Switcher USE_GL= glut USE_EFL= imlib2 GNU_CONFIGURE= yes MAN1= 3ddesk.1 3ddeskd.1 PORTDOCS= README README.windowmanagers PLIST_FILES= bin/3ddesk bin/3ddeskd etc/3ddesktop.conf \ %%DATADIR%%/digits.bmp PLIST_DIRS= %%DATADIR%% CPPFLAGS+= -I${LOCALBASE}/include -DHAVE_DECL_GETOPT ${PTHREAD_CFLAGS} LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} +.include + post-patch: @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ 's|-O3||g ; \ s|@ACLOCAL@|${TRUE}|g ; \ s|@AUTOCONF@|${TRUE}|g ; \ s|@AUTOHEADER@|${TRUE}|g ; \ s|@AUTOMAKE@|${TRUE}|g' post-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} .for i in README README.windowmanagers ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} .endfor .endif .include Index: head/x11/bbdock/Makefile =================================================================== --- head/x11/bbdock/Makefile (revision 315241) +++ head/x11/bbdock/Makefile (revision 315242) @@ -1,34 +1,32 @@ -# New ports collection makefile for: BBDock -# Date created: July 31, 2006 -# Whom: Francis Bacque -# +# Created by: Francis Bacque # $FreeBSD$ -# PORTNAME= bbdock PORTVERSION= 0.2.9 PORTREVISION= 1 CATEGORIES= x11 MASTER_SITES= http://bbdock.nethence.com/download/ MAINTAINER= ports@FreeBSD.org COMMENT= An application launcher for Blackbox-like window manager LICENSE= BSD LIB_DEPENDS= png15:${PORTSDIR}/graphics/png GNU_CONFIGURE= yes USE_XORG= x11 CPPFLAGS+= -I${LOCALBASE}/include/libpng15 PORTDOCS= README PLIST_FILES= bin/bbdock +.include + post-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR} .endif .include Index: head/x11/gdkxft/Makefile =================================================================== --- head/x11/gdkxft/Makefile (revision 315241) +++ head/x11/gdkxft/Makefile (revision 315242) @@ -1,52 +1,50 @@ -# New ports collection makefile for: gdkxft -# Date created: 3 September 2001 -# Whom: Maxim Sobolev -# +# Created by: Maxim Sobolev # $FreeBSD$ -# PORTNAME= gdkxft PORTVERSION= 1.5 PORTREVISION= 7 CATEGORIES= x11 MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= An anti-aliased font support for gtk+ LIB_DEPENDS= Xft.2:${PORTSDIR}/x11-fonts/libXft USE_AUTOTOOLS= libtool USE_GNOME= gtk12 USE_ICONV= yes GNU_CONFIGURE= yes LDFLAGS+= -L${LOCALBASE}/lib -lgnuregex -liconv CFLAGS+= `pkg-config xft --cflags` CONFIGURE_ARGS= --sbindir=${PREFIX}/bin \ --without-gnome USE_LDCONFIG= yes MAN8= gdkxft_sysinstall.8 +.include + post-patch: @${REINPLACE_CMD} -e 's|gtk-config --prefix|$$GTK_CONFIG --prefix|g ; \ s|libgdk.la|libgdk-12.so|g ; \ s|libgdk.so|libgdk-12.so|g ; \ s|GDK_DLOPEN_NAME=.*$$|GDK_DLOPEN_NAME="libgdk-12.so"|g' \ ${WRKSRC}/configure @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ 's|src capplet|src @BUILD_CAPPLET_TRUE@capplet|g ; \ s|DESTDIR)\$$(datadir|DESTDIR)\$$(pkgdatadir|g ; \ s|la_LDFLAGS =.*$$|la_LDFLAGS = -module -avoid-version|g' .for file in gdkxft_sysinstall.in gdkxft.c generate.pl @${REINPLACE_CMD} -e 's|||g ; \ s|gtk-config |${GTK_CONFIG:T} |g' ${WRKSRC}/src/${file} .endfor post-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} .endif .include Index: head/x11/gromit/Makefile =================================================================== --- head/x11/gromit/Makefile (revision 315241) +++ head/x11/gromit/Makefile (revision 315242) @@ -1,31 +1,29 @@ -# New ports collection makefile for: gromit -# Date Created: 03 Mar 2003 -# Whom: Sergei Kolobov -# +# Created by: Sergei Kolobov # $FreeBSD$ -# PORTNAME= gromit PORTVERSION= 20041213 PORTREVISION= 7 CATEGORIES= x11 MASTER_SITES= http://www.home.unix-ag.org/simon/gromit/ MAINTAINER= ports@FreeBSD.org COMMENT= GRaphics Over Miscellaneous Objects (Gromit) USE_GNOME= gtk20 USE_PKGCONFIG= build DOCS= AUTHORS ChangeLog README +.include + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/gromit ${PREFIX}/bin @${MKDIR} ${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/gromitrc ${EXAMPLESDIR} -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} .endif .include Index: head/x11/gtk-theme-switch/Makefile =================================================================== --- head/x11/gtk-theme-switch/Makefile (revision 315241) +++ head/x11/gtk-theme-switch/Makefile (revision 315242) @@ -1,28 +1,26 @@ -# New ports collection makefile for: gtk-theme-switch -# Date Created: 24 July 2000 -# Whom: Maxim Sobolev -# +# Created by: Maxim Sobolev # $FreeBSD$ -# PORTNAME= gtk-theme-switch PORTVERSION= 1.0.1 PORTREVISION= 6 CATEGORIES= x11 MASTER_SITES= http://www.muhri.net/ MAINTAINER= ports@FreeBSD.org COMMENT= A command line tool for switching GTK+ themes USE_GNOME= gtk12 USE_GMAKE= yes MAN1= gtk-theme-switch.1 -.if !defined(NOPORTDOCS) +.include + +.if ${PORT_OPTIONS:MDOCS} post-install: ${MKDIR} ${PREFIX}/share/gtk-theme-switch ${INSTALL_MAN} ${WRKSRC}/readme ${PREFIX}/share/gtk-theme-switch/README .endif .include Index: head/x11/gtkterm2/Makefile =================================================================== --- head/x11/gtkterm2/Makefile (revision 315241) +++ head/x11/gtkterm2/Makefile (revision 315242) @@ -1,46 +1,44 @@ -# New ports collection makefile for: gtkterm2 -# Date created: 2004-06-12 -# Whom: michael johnson -# +# Created by: michael johnson # $FreeBSD$ -# PORTNAME= gtkterm2 PORTVERSION= 0.2.3 PORTREVISION= 11 CATEGORIES= x11 MASTER_SITES= SF/gtkterm/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= A simple GTK-2 terminal with tabs USE_GNOME= vte USE_GMAKE= yes USE_PKGCONFIG= build USE_AUTOTOOLS= libtool PORTDOCS= README PLIST_FILES= bin/gtkterm2 \ share/locale/de/LC_MESSAGES/gtkterm2.mo \ %%DATADIR%%/pixmaps/gtkterm2.png PLIST_DIRS= %%DATADIR%%/pixmaps %%DATADIR%% CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib +.include + post-patch: @${REINPLACE_CMD} -e 's|^CFLAGS=""||g' ${WRKSRC}/configure do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/gtkterm2 ${PREFIX}/bin/gtkterm2 ${INSTALL_DATA} ${WRKSRC}/po/de.gmo \ ${PREFIX}/share/locale/de/LC_MESSAGES/gtkterm2.mo @${MKDIR} ${DATADIR}/pixmaps ${INSTALL_DATA} ${WRKSRC}/pixmaps/gtkterm2.png \ ${DATADIR}/pixmaps/gtkterm2.png -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/README .endif .include Index: head/x11/imwheel/Makefile =================================================================== --- head/x11/imwheel/Makefile (revision 315241) +++ head/x11/imwheel/Makefile (revision 315242) @@ -1,38 +1,36 @@ -# New ports collection makefile for: imwheel-0.9.7 -# Date created: 18 Feb 2000 -# Whom: jhb -# +# Created by: jhb # $FreeBSD$ -# PORTNAME= imwheel PORTVERSION= 1.0.0.p12 PORTREVISION= 2 CATEGORIES= x11 MASTER_SITES= ftp://jcatki.no-ip.org/pub/imwheel/ \ SF/${PORTNAME}/${PORTNAME}-source/1.0.0pre12 DISTNAME= ${PORTNAME}-${PORTVERSION:S/.p12/pre12/} MAINTAINER= ports@FreeBSD.org COMMENT= Utility to translate mouse wheel actions into X keyboard events USE_XORG= x11 xpm xtst xext xmu USE_GMAKE= YES GNU_CONFIGURE= YES CONFIGURE_ARGS= --disable-gpm MAN1= imwheel.1 +.include + post-patch: .for i in imwheel.1 util.c @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/${i} .endfor post-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/EMACS ${DOCSDIR} .endif .include Index: head/x11/libdnd/Makefile =================================================================== --- head/x11/libdnd/Makefile (revision 315241) +++ head/x11/libdnd/Makefile (revision 315242) @@ -1,33 +1,31 @@ -# New ports collection makefile for: libDnd -# Date created: 8 August 1997 -# Whom: lukin@okbmei.msk.su -# +# Created by: lukin@okbmei.msk.su # $FreeBSD$ -# PORTNAME= libdnd PORTVERSION= 1.1 PORTREVISION= 4 CATEGORIES= x11 MASTER_SITES= http://leb.net/offix/ DISTNAME= dnd.${PORTVERSION} EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org COMMENT= Drag and drop library USE_XORG= x11 xmu ice xaw USE_LDCONFIG= yes WRKSRC= ${WRKDIR}/DND/DNDlib GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include/ LDFLAGS+= -L${LOCALBASE}/lib/ MAKE_JOBS_UNSAFE= yes +.include + post-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${PREFIX}/share/doc/libdnd ${INSTALL_MAN} ${WRKDIR}/DND/DNDdoc/* ${DOCSDIR} .endif .include Index: head/x11/libsx/Makefile =================================================================== --- head/x11/libsx/Makefile (revision 315241) +++ head/x11/libsx/Makefile (revision 315242) @@ -1,40 +1,38 @@ -# New ports collection makefile for: libsx -# Date created: 5 December 1996 -# Whom: Pedro Giffuni -# +# Created by: Pedro Giffuni # $FreeBSD$ -# PORTNAME= libsx PORTVERSION= 1.1 PORTREVISION= 4 CATEGORIES= x11 MASTER_SITES= ${MASTER_SITE_XCONTRIB} MASTER_SITE_SUBDIR= libraries DISTNAME= ${PORTNAME} EXTRACT_SUFX= .tar.Z MAINTAINER= ports@FreeBSD.org COMMENT= Simple X11 library LIB_DEPENDS= Xaw3d:${PORTSDIR}/x11-toolkits/Xaw3d USE_XORG= x11 xaw xext xmu xt ALL_TARGET= src freq MAKE_JOBS_UNSAFE= yes +.include + do-install: ${INSTALL_DATA} ${WRKSRC}/src/libsx.a ${PREFIX}/lib ${INSTALL_DATA} ${WRKSRC}/freq/libfreq.a ${PREFIX}/lib ${MKDIR} ${PREFIX}/include/X11/libsx ${INSTALL_DATA} ${WRKSRC}/src/libsx.h ${PREFIX}/include/X11/libsx ${INSTALL_DATA} ${WRKSRC}/freq/freq.h ${PREFIX}/include/X11/libsx post-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${PREFIX}/share/doc/libsx ${INSTALL_DATA} ${WRKSRC}/docs/* ${PREFIX}/share/doc/libsx ${GZIP_CMD} ${PREFIX}/share/doc/libsx/*.doc .endif .include Index: head/x11/mrxvt/Makefile =================================================================== --- head/x11/mrxvt/Makefile (revision 315241) +++ head/x11/mrxvt/Makefile (revision 315242) @@ -1,72 +1,68 @@ -# New ports collection makefile for: mrxvt -# Date created: 27 Nov 2004 -# Whom: David Yeske -# +# Created by: David Yeske # $FreeBSD$ -# PORTNAME= mrxvt PORTVERSION= 0.4.2 PORTREVISION= 8 CATEGORIES= x11 MASTER_SITES= SF/materm/${PORTNAME}%20source/${PORTVERSION} EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org COMMENT= A tabbed version of rxvt LIB_DEPENDS= jpeg.11:${PORTSDIR}/graphics/jpeg \ png15:${PORTSDIR}/graphics/png CONFLICTS= mrxvt-0.5.* GNU_CONFIGURE= yes USE_XORG= x11 .include .if ${OSVERSION} >= 900007 CONFIGURE_ARGS+= --disable-lastlog --disable-wtmp .endif .if defined(WITH_JAPANESE) CONFIGURE_ARGS+= --enable-xim --enable-cjk --with-encoding=eucj .endif # WITH_JAPANESE .if defined(WITH_XFT) LIB_DEPENDS+= Xft.2:${PORTSDIR}/x11-fonts/libXft CONFIGURE_ARGS+= --enable-xft .endif CONFIGURE_ENV= LIBS="${LIBS} -L${LOCALBASE}/lib" CPPFLAGS+= -I${LOCALBASE}/include .if !defined(NOPORTDOCS) PORTDOCS= TIPS \ README.greek \ README.menu \ README.xvt \ xdefaults-sample.txt \ xterm.seq \ mrxvt.vbs \ mrxvtset.pl .endif MAN1= mrxvt.1 pre-everything:: @${ECHO_MSG} "=========================================>" @${ECHO_MSG} "For Japanese support use make -DWITH_JAPANESE install" @${ECHO_MSG} "For XFT support use make -DWITH_XFT install" @${ECHO_MSG} "=========================================>" .if defined(NOPORTDOCS) post-patch: @${REINPLACE_CMD} -e '/^\(install-data-am:\).*/ \ s/install-docDATA //' ${WRKSRC}/doc/Makefile.in .endif post-install: ${CHMOD} 4511 ${PREFIX}/bin/mrxvt .include Index: head/x11/multi-aterm/Makefile =================================================================== --- head/x11/multi-aterm/Makefile (revision 315241) +++ head/x11/multi-aterm/Makefile (revision 315242) @@ -1,44 +1,40 @@ -# New ports collection makefile for: multi-aterm -# Date created: 2003-07-11 -# Whom: Sebastian Yepes -# +# Created by: Sebastian Yepes # $FreeBSD$ -# PORTNAME= multi-aterm PORTVERSION= 0.2.1 PORTREVISION= 2 CATEGORIES= x11 MASTER_SITES= http://www.nongnu.org/materm/ MAINTAINER= ports@FreeBSD.org COMMENT= A multi terminal based on aterm USE_XORG= xpm GNU_CONFIGURE= yes CONFIGURE_ARGS=--with-xpm=${LOCALBASE} DOCS= AUTHORS ChangeLog INSTALL TODO MAN1= multi-aterm.1 .if defined(WITH_UTMP) CONFIGURE_ARGS+= --enable-utmp .endif .if defined(WITH_WTMP) CONFIGURE_ARGS+= --enable-wtmp .endif pre-everything:: @${ECHO_MSG} "" @${ECHO_MSG} "You can specify the following options:" @${ECHO_MSG} "WITH_UTMP=yes - enable utmp support" @${ECHO_MSG} "WITH_WTMP=yes - enable wtmp support" .if !defined(NOPORTDOCS) post-install: @${MKDIR} ${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} .endif .include Index: head/x11/peeper/Makefile =================================================================== --- head/x11/peeper/Makefile (revision 315241) +++ head/x11/peeper/Makefile (revision 315242) @@ -1,31 +1,28 @@ -# ex:ts=8 -# Ports collection makefile for: peeper -# Date created: Aug 9, 2002 -# Whom: ijliao -# +# Created by: ijliao # $FreeBSD$ -# PORTNAME= peeper PORTVERSION= 0.1 PORTREVISION= 9 CATEGORIES= x11 MASTER_SITES= http://peeper.sourceforge.net/ MAINTAINER= ports@FreeBSD.org COMMENT= View an area of the screen at a certain magnification USE_GNOME= imlib USE_GMAKE= yes MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} `${IMLIB_CONFIG} --cflags-gdk`" \ LIBS="`${IMLIB_CONFIG} --libs-gdk`" ALL_TARGET= peeper +.include + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/peeper ${PREFIX}/bin -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} .endif .include Index: head/x11/simdock/Makefile =================================================================== --- head/x11/simdock/Makefile (revision 315241) +++ head/x11/simdock/Makefile (revision 315242) @@ -1,44 +1,42 @@ -# New ports collection makefile for: simdock -# Date created: 28 Jul 2007 -# Whom: Yinghong.Liu -# +# Created by: Yinghong.Liu # $FreeBSD$ -# PORTNAME= simdock PORTVERSION= 1.2 PORTREVISION= 5 CATEGORIES= x11 MASTER_SITES= SF DISTNAME= ${PORTNAME}_${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= A fast and customizable dockbar GNU_CONFIGURE= yes USE_GNOME= gnomehack gnomeprefix gconf2 libwnck USE_WX= 2.8 USE_PKGCONFIG= yes WX_CONF_ARGS= absolute WRKSRC= ${WRKDIR}/trunk PORTDOCS= AUTHORS COPYING ChangeLog INSTALL LICENSE NEWS README TODO +.include + post-patch: @${REINPLACE_CMD} -e 's|/usr|${PREFIX}|g' \ ${WRKSRC}/Makefile.in \ ${WRKSRC}/src/main.h @${REINPLACE_CMD} -e 's|/usr/bin|${PREFIX}/bin|g' \ -e 's|/usr/share/firefox|${PREFIX}/lib/firefox|g' \ ${WRKSRC}/src/main.cc post-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} .for doc in ${PORTDOCS} @${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR} .endfor .endif .include Index: head/x11/swarp/Makefile =================================================================== --- head/x11/swarp/Makefile (revision 315241) +++ head/x11/swarp/Makefile (revision 315242) @@ -1,38 +1,36 @@ -# Ports collection makefile for: swarp -# Date created: 2008-01-15 -# Whom: Daniel Roethlisberger -# +# Created by: Daniel Roethlisberger # $FreeBSD$ -# PORTNAME= swarp PORTVERSION= 0.1 PORTREVISION= 1 CATEGORIES= x11 MASTER_SITES= http://dl.suckless.org/tools/ MAINTAINER= ports@FreeBSD.org COMMENT= X11 generic pointer warping utility LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USE_XORG= x11 MAKE_ARGS= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib -lX11" \ CFLAGS="${CFLAGS} -I${LOCALBASE}/include \ -DVERSION=\\\"${PORTVERSION}\\\"" \ LD="${CC}" PORTDOCS= README PLIST_FILES= bin/swarp +.include + post-patch: @${ECHO_CMD} -n > ${WRKSRC}/config.mk post-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} .endif .include Index: head/x11/temperature.app/Makefile =================================================================== --- head/x11/temperature.app/Makefile (revision 315241) +++ head/x11/temperature.app/Makefile (revision 315242) @@ -1,32 +1,30 @@ -# New ports collection makefile for: Temperature.app -# Date created: 06 May 2001 -# Whom: Per Otterstr=F6m -# +# Created by: Per Otterstr=F6m # $FreeBSD$ -# PORTNAME= temperature.app PORTVERSION= 1.4 PORTREVISION= 4 CATEGORIES= x11 windowmaker MASTER_SITES= http://www.fukt.bsnet.se/~per/temperature/ DISTNAME= Temperature.app-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= A dockable WindowMaker applet which displays the local temperature LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= wget:${PORTSDIR}/ftp/wget USE_XORG= x11 xpm +.include + do-install: @${INSTALL_PROGRAM} ${WRKSRC}/Temperature.app ${PREFIX}/bin -.ifndef(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} .endif .include Index: head/x11/wmappl/Makefile =================================================================== --- head/x11/wmappl/Makefile (revision 315241) +++ head/x11/wmappl/Makefile (revision 315242) @@ -1,42 +1,40 @@ -# New ports collection makefile for: wmappl -# Date created: 3 March 2002 -# Whom: od -# +# Created by: od # $FreeBSD$ -# PORTNAME= wmappl PORTVERSION= 0.71 CATEGORIES= x11 windowmaker MASTER_SITES= SF/wmappl/wmappl/wmappl-${PORTVERSION}:main \ http://www.upl.cs.wisc.edu/~charkins/wmappl/:icons DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:main \ 16x16xpms.tar.gz:icons icons_16x16.tar.gz:icons smallicons.tar.gz:icons MAINTAINER= ports@FreeBSD.org COMMENT= An application launcher dockapp similar to wmbutton GNU_CONFIGURE= yes USE_XORG= xpm x11 xext sm ice MAKE_ENV= DATADIR="${DATADIR}" MAN1= wmappl.1 MAN5= wmapplrc.5 +.include + post-extract: @${RM} -rf ${WRKSRC}/icons/CVS post-install: @${ECHO_CMD} "" @${ECHO_CMD} "===> Installing icons to ${DATADIR} directory" @${MKDIR} ${DATADIR} @cd ${WRKDIR} && ${INSTALL_DATA} *.xpm ${DATADIR} @cd ${WRKDIR}/smallicons && ${INSTALL_DATA} *.xpm ${DATADIR} -.ifndef(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${ECHO_CMD} "===> Installing README as ${DOCSDIR}/README" @${ECHO_CMD} "===> Please read for configuration information" @${MKDIR} ${DOCSDIR} @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} .endif .include Index: head/x11/wmbutton/Makefile =================================================================== --- head/x11/wmbutton/Makefile (revision 315241) +++ head/x11/wmbutton/Makefile (revision 315242) @@ -1,45 +1,43 @@ -# New ports collection makefile for: wmbutton -# Date created: 10 Apr 1999 -# Whom: Jim Mock -# +# Created by: Jim Mock # $FreeBSD$ -# PORTNAME= wmbutton PORTVERSION= 0.6.1 PORTREVISION= 2 CATEGORIES= x11 windowmaker MASTER_SITES= http://greek0.net/wmbutton/ MAINTAINER= ports@FreeBSD.org COMMENT= A dockapp that displays 9 buttons to run apps of your choice LICENSE= GPLv2 USE_XORG= xpm SUB_FILES= pkg-message PORTDOCS= README PORTEXAMPLES= dot.wmbutton PLIST_FILES= bin/wmbutton +.include + do-build: cd ${BUILD_WRKSRC} && ${CC} ${CFLAGS} \ -I${LOCALBASE}/include/X11 -I${LOCALBASE}/include \ wmb_libs.c wmbutton.c -o wmbutton \ -L${LOCALBASE}/lib -lXpm -lXext -lX11 do-install: ${INSTALL_PROGRAM} ${WRKSRC}/wmbutton ${PREFIX}/bin/wmbutton -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/README .endif -.if !defined(NOPORTEXAMPLES) +.if ${PORT_OPTIONS:MEXAMPLES} @${MKDIR} ${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/.wmbutton ${EXAMPLESDIR}/dot.wmbutton .endif @${CAT} ${PKGMESSAGE} .include Index: head/x11/xbanner/Makefile =================================================================== --- head/x11/xbanner/Makefile (revision 315241) +++ head/x11/xbanner/Makefile (revision 315242) @@ -1,37 +1,35 @@ -# New ports collection makefile for: xbanner -# Date created: 13 Jan 1999 -# Whom: giffunip@asme.org -# +# Created by: giffunip@asme.org # $FreeBSD$ -# PORTNAME= xbanner PORTVERSION= 1.31 PORTREVISION= 1 CATEGORIES= x11 MASTER_SITES= ${MASTER_SITE_SUNSITE} MASTER_SITE_SUBDIR= X11/xutils DISTNAME= XBanner${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Make your XDM login screen look beautiful USE_XORG= xpm x11 +.include + post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${WRKSRC}/xres.c ${WRKSRC}/samples/XBanner.ad post-install: ${INSTALL_DATA} ${WRKSRC}/samples/XBanner.ad \ ${PREFIX}/lib/X11/app-defaults/XBanner -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${PREFIX}/share/doc/XBanner ${INSTALL_DATA} ${WRKSRC}/QuickStart ${PREFIX}/share/doc/XBanner ${INSTALL_DATA} ${WRKSRC}/docs/* ${PREFIX}/share/doc/XBanner @${MKDIR} ${PREFIX}/share/examples/XBanner ${INSTALL_DATA} ${WRKSRC}/samples/_other_ideas/* \ ${PREFIX}/share/examples/XBanner .endif .include Index: head/x11/xcalib/Makefile =================================================================== --- head/x11/xcalib/Makefile (revision 315241) +++ head/x11/xcalib/Makefile (revision 315242) @@ -1,38 +1,40 @@ # Created by: Petr Holub # $FreeBSD$ PORTNAME= xcalib PORTVERSION= 0.8 CATEGORIES= x11 graphics MASTER_SITES= SF DISTNAME= ${PORTNAME}-source-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= A program for display calibration of X11-Servers with ICC profiles WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} PORTDOCS= README README.profilers USE_XORG= x11 xext sm xxf86vm USE_GMAKE= yes DEFINES= -DXCALIB_VERSION=\"${PORTVERSION}\" -DUNIX LDFLAGS+= -L${LOCALBASE}/lib -L${LOCALBASE}/lib -lm -lX11 -lXxf86vm -lXext CFLAGS+= -I./icclib -I${LOCALBASE}/include -I${LOCALBASE}/include +.include + post-patch: @${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|g' \ ${WRKSRC}/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin ${MKDIR} ${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/*.icc ${EXAMPLESDIR} -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} .endfor .endif .include Index: head/x11/xmangekyou/Makefile =================================================================== --- head/x11/xmangekyou/Makefile (revision 315241) +++ head/x11/xmangekyou/Makefile (revision 315242) @@ -1,43 +1,41 @@ -# New ports collection makefile for: XMangekyou -# Date created: 30 October 1998 -# Whom: Sakai Hiroaki -# +# Created by: Sakai Hiroaki # $FreeBSD$ -# PORTNAME= xmangekyou PORTVERSION= 2.0.1 PORTREVISION= 3 CATEGORIES= x11 MASTER_SITES= http://ftp.vector.co.jp/pack/unix/art/anime/ MAINTAINER= ports@FreeBSD.org COMMENT= A kaleidoscope on X USE_XORG= x11 xpm xaw ALL_TARGET= xmangekyou MANCOMPRESSED= yes MAN1= xmangekyou.1 PORTDOCS= COPYRIGHT.euc HISTORY.euc README.euc PLIST_FILES= bin/xmangekyou lib/X11/XMangekyou/animation.dat PLIST_DIRS= lib/X11/XMangekyou +.include + post-patch: @${REINPLACE_CMD} -e 's|= /usr/X11R6|= $${PREFIX}|g ; \ s|gcc |$${CC} |g ; \ s|-O |$${CFLAGS} |g ; \ s|-I/usr/X11R6/|-I$${LOCALBASE}/|g ; \ s|-L/usr/X11R6/|-L$${LOCALBASE}/|g' ${WRKSRC}/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/xmangekyou ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/xmangekyou.1.gz ${MANPREFIX}/man/man1 @${MKDIR} ${PREFIX}/lib/X11/XMangekyou ${INSTALL_DATA} ${WRKSRC}/animation.dat ${PREFIX}/lib/X11/XMangekyou -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/*.euc ${DOCSDIR} .endif .include Index: head/x11/xrsi/Makefile =================================================================== --- head/x11/xrsi/Makefile (revision 315241) +++ head/x11/xrsi/Makefile (revision 315242) @@ -1,32 +1,30 @@ -# New ports collection makefile for: xrsi -# Date created: 2007-03-17 -# Whom: Martin Tournoij -# +# Created by: Martin Tournoij # $FreeBSD$ -# PORTNAME= xrsi PORTVERSION= 0.9 PORTREVISION= 2 CATEGORIES= x11 MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Minimalist break enforcer for Linux/Unix for the prevention of RSI USE_XORG= x11 PLIST_FILES= bin/xrsi PORTDOCS= Readme Licence +.include + do-build: ${CC} ${CFLAGS} -I${LOCALBASE}/include -L${LOCALBASE}/lib -lX11 -o ${WRKSRC}/xrsi ${WRKSRC}/xrsi.c do-install: ${INSTALL_PROGRAM} ${WRKSRC}/xrsi ${PREFIX}/bin/ -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/Readme ${DOCSDIR}/ ${INSTALL_DATA} ${WRKSRC}/Licence ${DOCSDIR}/ .endif .include Index: head/x11/xsel/Makefile =================================================================== --- head/x11/xsel/Makefile (revision 315241) +++ head/x11/xsel/Makefile (revision 315242) @@ -1,38 +1,36 @@ -# Ports collection makefile for: xsel -# Date created: Jan 14, 2003 -# Whom: ijliao -# +# Created by: ijliao # $FreeBSD$ -# PORTNAME= xsel PORTVERSION= 0.04.1 PORTREVISION= 5 CATEGORIES= x11 MASTER_SITES= CENKES #http://www.niksula.cs.hut.fi/~vherva/xsel/xsel.{c,man} MAINTAINER= ports@FreeBSD.org COMMENT= Access X selection from command line CONFLICTS= xsel-conrad-[0-9]* USE_BZIP2= yes USE_XORG= xmu xaw xt xproto xkbfile CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -lXt -lXaw MAN1= ${PORTNAME}.1 PLIST_FILES= bin/${PORTNAME} PORTDOCS= ${PORTNAME}.html +.include + do-build: @cd ${WRKSRC} && ${CC} ${CFLAGS} xsel.c -o xsel ${LDFLAGS} do-install: @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/ @${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.man ${MAN1PREFIX}/man/man1/${PORTNAME}.1 -.ifndef NOPORTDOCS +.if ${PORT_OPTIONS:MDOCS} @${INSTALL} -d ${DOCSDIR}/ @cd ${WRKSRC}/&&${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/ .endif .include