From owner-svn-ports-head@FreeBSD.ORG Mon Mar 25 19:14:48 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 1306BD0F; Mon, 25 Mar 2013 19:14:48 +0000 (UTC) (envelope-from eadler@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id EA34EB2B; Mon, 25 Mar 2013 19:14:47 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r2PJElni034077; Mon, 25 Mar 2013 19:14:47 GMT (envelope-from eadler@svn.freebsd.org) Received: (from eadler@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r2PJEhdc034043; Mon, 25 Mar 2013 19:14:43 GMT (envelope-from eadler@svn.freebsd.org) Message-Id: <201303251914.r2PJEhdc034043@svn.freebsd.org> From: Eitan Adler Date: Mon, 25 Mar 2013 19:14:43 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r315242 - in head/x11: 3ddesktop bbdock gdkxft gromit gtk-theme-switch gtkterm2 imwheel libdnd libsx mrxvt multi-aterm peeper simdock swarp temperature.app wmappl wmbutton xbanner xcali... X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Mar 2013 19:14:48 -0000 Author: eadler Date: Mon Mar 25 19:14:43 2013 New Revision: 315242 URL: http://svnweb.freebsd.org/changeset/ports/315242 Log: For some of the unmaintained ports in the x11 category convert them to OptionsNG While here, trim the headers Modified: head/x11/3ddesktop/Makefile head/x11/bbdock/Makefile head/x11/gdkxft/Makefile head/x11/gromit/Makefile head/x11/gtk-theme-switch/Makefile head/x11/gtkterm2/Makefile head/x11/imwheel/Makefile head/x11/libdnd/Makefile head/x11/libsx/Makefile head/x11/mrxvt/Makefile head/x11/multi-aterm/Makefile head/x11/peeper/Makefile head/x11/simdock/Makefile head/x11/swarp/Makefile head/x11/temperature.app/Makefile head/x11/wmappl/Makefile head/x11/wmbutton/Makefile head/x11/xbanner/Makefile head/x11/xcalib/Makefile head/x11/xmangekyou/Makefile head/x11/xrsi/Makefile head/x11/xsel/Makefile Modified: head/x11/3ddesktop/Makefile ============================================================================== --- head/x11/3ddesktop/Makefile Mon Mar 25 19:08:43 2013 (r315241) +++ head/x11/3ddesktop/Makefile Mon Mar 25 19:14:43 2013 (r315242) @@ -1,9 +1,5 @@ -# 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 @@ -27,6 +23,8 @@ 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 ; \ @@ -36,7 +34,7 @@ post-patch: 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} Modified: head/x11/bbdock/Makefile ============================================================================== --- head/x11/bbdock/Makefile Mon Mar 25 19:08:43 2013 (r315241) +++ head/x11/bbdock/Makefile Mon Mar 25 19:14:43 2013 (r315242) @@ -1,9 +1,5 @@ -# 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 @@ -25,8 +21,10 @@ PORTDOCS= README PLIST_FILES= bin/bbdock +.include + post-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR} .endif Modified: head/x11/gdkxft/Makefile ============================================================================== --- head/x11/gdkxft/Makefile Mon Mar 25 19:08:43 2013 (r315241) +++ head/x11/gdkxft/Makefile Mon Mar 25 19:14:43 2013 (r315242) @@ -1,9 +1,5 @@ -# New ports collection makefile for: gdkxft -# Date created: 3 September 2001 -# Whom: Maxim Sobolev -# +# Created by: Maxim Sobolev # $FreeBSD$ -# PORTNAME= gdkxft PORTVERSION= 1.5 @@ -28,6 +24,8 @@ 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 ; \ @@ -44,7 +42,7 @@ post-patch: .endfor post-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} .endif Modified: head/x11/gromit/Makefile ============================================================================== --- head/x11/gromit/Makefile Mon Mar 25 19:08:43 2013 (r315241) +++ head/x11/gromit/Makefile Mon Mar 25 19:14:43 2013 (r315242) @@ -1,9 +1,5 @@ -# New ports collection makefile for: gromit -# Date Created: 03 Mar 2003 -# Whom: Sergei Kolobov -# +# Created by: Sergei Kolobov # $FreeBSD$ -# PORTNAME= gromit PORTVERSION= 20041213 @@ -19,11 +15,13 @@ 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 Modified: head/x11/gtk-theme-switch/Makefile ============================================================================== --- head/x11/gtk-theme-switch/Makefile Mon Mar 25 19:08:43 2013 (r315241) +++ head/x11/gtk-theme-switch/Makefile Mon Mar 25 19:14:43 2013 (r315242) @@ -1,9 +1,5 @@ -# 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 @@ -19,7 +15,9 @@ 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 Modified: head/x11/gtkterm2/Makefile ============================================================================== --- head/x11/gtkterm2/Makefile Mon Mar 25 19:08:43 2013 (r315241) +++ head/x11/gtkterm2/Makefile Mon Mar 25 19:14:43 2013 (r315242) @@ -1,9 +1,5 @@ -# 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 @@ -28,6 +24,8 @@ PLIST_DIRS= %%DATADIR%%/pixmaps %%DATADI CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib +.include + post-patch: @${REINPLACE_CMD} -e 's|^CFLAGS=""||g' ${WRKSRC}/configure @@ -38,7 +36,7 @@ do-install: @${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 Modified: head/x11/imwheel/Makefile ============================================================================== --- head/x11/imwheel/Makefile Mon Mar 25 19:08:43 2013 (r315241) +++ head/x11/imwheel/Makefile Mon Mar 25 19:14:43 2013 (r315242) @@ -1,9 +1,5 @@ -# 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 @@ -24,13 +20,15 @@ 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 Modified: head/x11/libdnd/Makefile ============================================================================== --- head/x11/libdnd/Makefile Mon Mar 25 19:08:43 2013 (r315241) +++ head/x11/libdnd/Makefile Mon Mar 25 19:14:43 2013 (r315242) @@ -1,9 +1,5 @@ -# 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 @@ -24,8 +20,10 @@ 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 Modified: head/x11/libsx/Makefile ============================================================================== --- head/x11/libsx/Makefile Mon Mar 25 19:08:43 2013 (r315241) +++ head/x11/libsx/Makefile Mon Mar 25 19:14:43 2013 (r315242) @@ -1,9 +1,5 @@ -# New ports collection makefile for: libsx -# Date created: 5 December 1996 -# Whom: Pedro Giffuni -# +# Created by: Pedro Giffuni # $FreeBSD$ -# PORTNAME= libsx PORTVERSION= 1.1 @@ -23,6 +19,8 @@ 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 @@ -31,7 +29,7 @@ do-install: ${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 Modified: head/x11/mrxvt/Makefile ============================================================================== --- head/x11/mrxvt/Makefile Mon Mar 25 19:08:43 2013 (r315241) +++ head/x11/mrxvt/Makefile Mon Mar 25 19:14:43 2013 (r315242) @@ -1,9 +1,5 @@ -# 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 Modified: head/x11/multi-aterm/Makefile ============================================================================== --- head/x11/multi-aterm/Makefile Mon Mar 25 19:08:43 2013 (r315241) +++ head/x11/multi-aterm/Makefile Mon Mar 25 19:14:43 2013 (r315242) @@ -1,9 +1,5 @@ -# 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 Modified: head/x11/peeper/Makefile ============================================================================== --- head/x11/peeper/Makefile Mon Mar 25 19:08:43 2013 (r315241) +++ head/x11/peeper/Makefile Mon Mar 25 19:14:43 2013 (r315242) @@ -1,10 +1,5 @@ -# ex:ts=8 -# Ports collection makefile for: peeper -# Date created: Aug 9, 2002 -# Whom: ijliao -# +# Created by: ijliao # $FreeBSD$ -# PORTNAME= peeper PORTVERSION= 0.1 @@ -21,9 +16,11 @@ MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} 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 Modified: head/x11/simdock/Makefile ============================================================================== --- head/x11/simdock/Makefile Mon Mar 25 19:08:43 2013 (r315241) +++ head/x11/simdock/Makefile Mon Mar 25 19:14:43 2013 (r315242) @@ -1,9 +1,5 @@ -# New ports collection makefile for: simdock -# Date created: 28 Jul 2007 -# Whom: Yinghong.Liu -# +# Created by: Yinghong.Liu # $FreeBSD$ -# PORTNAME= simdock PORTVERSION= 1.2 @@ -25,6 +21,8 @@ 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 \ @@ -34,7 +32,7 @@ post-patch: ${WRKSRC}/src/main.cc post-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} .for doc in ${PORTDOCS} @${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR} Modified: head/x11/swarp/Makefile ============================================================================== --- head/x11/swarp/Makefile Mon Mar 25 19:08:43 2013 (r315241) +++ head/x11/swarp/Makefile Mon Mar 25 19:14:43 2013 (r315242) @@ -1,9 +1,5 @@ -# Ports collection makefile for: swarp -# Date created: 2008-01-15 -# Whom: Daniel Roethlisberger -# +# Created by: Daniel Roethlisberger # $FreeBSD$ -# PORTNAME= swarp PORTVERSION= 0.1 @@ -26,11 +22,13 @@ MAKE_ARGS= LDFLAGS="${LDFLAGS} -L${LOCAL 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 Modified: head/x11/temperature.app/Makefile ============================================================================== --- head/x11/temperature.app/Makefile Mon Mar 25 19:08:43 2013 (r315241) +++ head/x11/temperature.app/Makefile Mon Mar 25 19:14:43 2013 (r315242) @@ -1,9 +1,5 @@ -# 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 @@ -22,9 +18,11 @@ 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 Modified: head/x11/wmappl/Makefile ============================================================================== --- head/x11/wmappl/Makefile Mon Mar 25 19:08:43 2013 (r315241) +++ head/x11/wmappl/Makefile Mon Mar 25 19:14:43 2013 (r315242) @@ -1,9 +1,5 @@ -# New ports collection makefile for: wmappl -# Date created: 3 March 2002 -# Whom: od -# +# Created by: od # $FreeBSD$ -# PORTNAME= wmappl PORTVERSION= 0.71 @@ -23,6 +19,8 @@ MAKE_ENV= DATADIR="${DATADIR}" MAN1= wmappl.1 MAN5= wmapplrc.5 +.include + post-extract: @${RM} -rf ${WRKSRC}/icons/CVS @@ -32,7 +30,7 @@ post-install: @${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} Modified: head/x11/wmbutton/Makefile ============================================================================== --- head/x11/wmbutton/Makefile Mon Mar 25 19:08:43 2013 (r315241) +++ head/x11/wmbutton/Makefile Mon Mar 25 19:14:43 2013 (r315242) @@ -1,9 +1,5 @@ -# 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 @@ -24,6 +20,8 @@ PORTDOCS= README PORTEXAMPLES= dot.wmbutton PLIST_FILES= bin/wmbutton +.include + do-build: cd ${BUILD_WRKSRC} && ${CC} ${CFLAGS} \ -I${LOCALBASE}/include/X11 -I${LOCALBASE}/include \ @@ -32,11 +30,11 @@ do-build: 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 Modified: head/x11/xbanner/Makefile ============================================================================== --- head/x11/xbanner/Makefile Mon Mar 25 19:08:43 2013 (r315241) +++ head/x11/xbanner/Makefile Mon Mar 25 19:14:43 2013 (r315242) @@ -1,9 +1,5 @@ -# 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 @@ -18,6 +14,8 @@ COMMENT= Make your XDM login screen look USE_XORG= xpm x11 +.include + post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${WRKSRC}/xres.c ${WRKSRC}/samples/XBanner.ad @@ -25,7 +23,7 @@ post-patch: 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 Modified: head/x11/xcalib/Makefile ============================================================================== --- head/x11/xcalib/Makefile Mon Mar 25 19:08:43 2013 (r315241) +++ head/x11/xcalib/Makefile Mon Mar 25 19:14:43 2013 (r315242) @@ -19,6 +19,8 @@ DEFINES= -DXCALIB_VERSION=\"${PORTVERSIO 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 @@ -28,7 +30,7 @@ do-install: ${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} Modified: head/x11/xmangekyou/Makefile ============================================================================== --- head/x11/xmangekyou/Makefile Mon Mar 25 19:08:43 2013 (r315241) +++ head/x11/xmangekyou/Makefile Mon Mar 25 19:14:43 2013 (r315242) @@ -1,9 +1,5 @@ -# 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 @@ -23,6 +19,8 @@ PORTDOCS= COPYRIGHT.euc HISTORY.euc READ 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 ; \ @@ -35,7 +33,7 @@ do-install: ${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 Modified: head/x11/xrsi/Makefile ============================================================================== --- head/x11/xrsi/Makefile Mon Mar 25 19:08:43 2013 (r315241) +++ head/x11/xrsi/Makefile Mon Mar 25 19:14:43 2013 (r315242) @@ -1,9 +1,5 @@ -# New ports collection makefile for: xrsi -# Date created: 2007-03-17 -# Whom: Martin Tournoij -# +# Created by: Martin Tournoij # $FreeBSD$ -# PORTNAME= xrsi PORTVERSION= 0.9 @@ -18,12 +14,14 @@ 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}/ Modified: head/x11/xsel/Makefile ============================================================================== --- head/x11/xsel/Makefile Mon Mar 25 19:08:43 2013 (r315241) +++ head/x11/xsel/Makefile Mon Mar 25 19:14:43 2013 (r315242) @@ -1,9 +1,5 @@ -# Ports collection makefile for: xsel -# Date created: Jan 14, 2003 -# Whom: ijliao -# +# Created by: ijliao # $FreeBSD$ -# PORTNAME= xsel PORTVERSION= 0.04.1 @@ -24,13 +20,15 @@ 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