Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Jan 2014 12:51:32 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r339424 - in head/x11-clocks: alltraxclock astime astime/files astzclock bclock dclock emiclock mlclock mouseclock osdclock osdclock/files swisswatch t3d tclock tktz tktz/files wmbday w...
Message-ID:  <201401111251.s0BCpWlN054309@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Sat Jan 11 12:51:31 2014
New Revision: 339424
URL: http://svnweb.freebsd.org/changeset/ports/339424

Log:
  Support stagedir.
  
  Submitted by:	portmgr (blanket infrastructure)

Added:
  head/x11-clocks/osdclock/files/patch-Makefile   (contents, props changed)
  head/x11-clocks/tktz/files/
  head/x11-clocks/tktz/files/patch-tktz   (contents, props changed)
  head/x11-clocks/xdaliclock/files/
  head/x11-clocks/xdaliclock/files/patch-Makefile.in   (contents, props changed)
Modified:
  head/x11-clocks/alltraxclock/Makefile
  head/x11-clocks/astime/Makefile
  head/x11-clocks/astime/files/patch-aa
  head/x11-clocks/astzclock/Makefile
  head/x11-clocks/bclock/Makefile
  head/x11-clocks/dclock/Makefile
  head/x11-clocks/emiclock/Makefile
  head/x11-clocks/emiclock/pkg-plist
  head/x11-clocks/mlclock/Makefile
  head/x11-clocks/mouseclock/Makefile
  head/x11-clocks/osdclock/Makefile
  head/x11-clocks/swisswatch/Makefile
  head/x11-clocks/swisswatch/pkg-plist
  head/x11-clocks/t3d/Makefile
  head/x11-clocks/tclock/Makefile
  head/x11-clocks/tktz/Makefile
  head/x11-clocks/wmbday/Makefile
  head/x11-clocks/wmbday/pkg-plist
  head/x11-clocks/wmbinclock/Makefile
  head/x11-clocks/wmblueclock/Makefile
  head/x11-clocks/wmcalclock/Makefile
  head/x11-clocks/wmcalclock/files/patch-Makefile
  head/x11-clocks/wmclock/Makefile
  head/x11-clocks/wmclockmon/Makefile
  head/x11-clocks/wmclockmon/pkg-plist
  head/x11-clocks/wmfishtime/Makefile
  head/x11-clocks/wmfuzzy/Makefile
  head/x11-clocks/wmtimer/Makefile
  head/x11-clocks/xdaliclock/Makefile
  head/x11-clocks/xtimer/Makefile

Modified: head/x11-clocks/alltraxclock/Makefile
==============================================================================
--- head/x11-clocks/alltraxclock/Makefile	Sat Jan 11 12:22:15 2014	(r339423)
+++ head/x11-clocks/alltraxclock/Makefile	Sat Jan 11 12:51:31 2014	(r339424)
@@ -21,11 +21,10 @@ ALL_TARGET=	alltraxclock.so
 PLIST_FILES=	libexec/gkrellm2/plugins/alltraxclock.so
 WRKSRC=		${WRKDIR}/${PORTNAME}2_0.2/
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e 's|gcc|${CC}|;s|-O2||;s|-lpthread|${PTHREAD_LIBS}|' ${WRKSRC}/Makefile
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/alltraxclock.so ${PREFIX}/libexec/gkrellm2/plugins/
+	${INSTALL_PROGRAM} ${WRKSRC}/alltraxclock.so ${STAGEDIR}${PREFIX}/libexec/gkrellm2/plugins/
 
 .include <bsd.port.mk>

Modified: head/x11-clocks/astime/Makefile
==============================================================================
--- head/x11-clocks/astime/Makefile	Sat Jan 11 12:22:15 2014	(r339423)
+++ head/x11-clocks/astime/Makefile	Sat Jan 11 12:51:31 2014	(r339424)
@@ -16,8 +16,6 @@ GNU_CONFIGURE=	yes
 CONFIGURE_ARGS+=--with-xpm-library="${LOCALBASE}/lib" --with-xpm-includes="${LOCALBASE}/include/X11"
 INSTALL_TARGET=	install install.man
 
-MAN1=		astime.1
-PLIST_FILES=	bin/astime
+PLIST_FILES=	bin/astime man/man1/${PORTNAME}.1.gz
 
-NO_STAGE=	yes
 .include <bsd.port.mk>

Modified: head/x11-clocks/astime/files/patch-aa
==============================================================================
--- head/x11-clocks/astime/files/patch-aa	Sat Jan 11 12:22:15 2014	(r339423)
+++ head/x11-clocks/astime/files/patch-aa	Sat Jan 11 12:51:31 2014	(r339424)
@@ -1,11 +1,15 @@
---- autoconf/Makefile.common.in.orig	Thu Feb  4 17:44:50 1999
-+++ autoconf/Makefile.common.in	Thu Feb  4 17:45:18 1999
-@@ -13,7 +13,7 @@
- 		$(INSTALL_PROGRAM) $(PROG) $(AFTER_BIN_DIR)
+--- autoconf/Makefile.common.in.orig	1999-05-02 23:12:39.000000000 +0800
++++ autoconf/Makefile.common.in	2014-01-11 20:25:48.000000000 +0800
+@@ -10,10 +10,10 @@ install:	install.bin install.man
+ 
+ install.bin:	$(PROG)
+ 		$(STRIP) $(PROG)
+-		$(INSTALL_PROGRAM) $(PROG) $(AFTER_BIN_DIR)
++		$(INSTALL_PROGRAM) $(PROG) $(DESTDIR)$(AFTER_BIN_DIR)
  
  install.man:
 -		$(INSTALL_DATA) $(PROG).man $(AFTER_MAN_DIR)/$(PROG).1x
-+		$(INSTALL_DATA) $(PROG).man $(AFTER_MAN_DIR)/$(PROG).1
++		$(INSTALL_DATA) $(PROG).man $(DESTDIR)$(AFTER_MAN_DIR)/$(PROG).1
  
  uninstall:
  		$(RMF) $(AFTER_BIN_DIR)/$(PROG)

Modified: head/x11-clocks/astzclock/Makefile
==============================================================================
--- head/x11-clocks/astzclock/Makefile	Sat Jan 11 12:22:15 2014	(r339423)
+++ head/x11-clocks/astzclock/Makefile	Sat Jan 11 12:51:31 2014	(r339424)
@@ -12,10 +12,8 @@ COMMENT=	Afterstep clock with some timez
 
 USES=		imake
 USE_XORG=	xpm
-MAN1=		astzclock.1
-PLIST_FILES=	bin/astzclock
+PLIST_FILES=	bin/astzclock man/man1/${PORTNAME}.1.gz
 
-NO_STAGE=	yes
 pre-configure:
 	(cd ${WRKSRC}; \
 	${ECHO_CMD} ${ASCLOCK_LANG} | ${WRKSRC}/configure > /dev/null)

Modified: head/x11-clocks/bclock/Makefile
==============================================================================
--- head/x11-clocks/bclock/Makefile	Sat Jan 11 12:22:15 2014	(r339423)
+++ head/x11-clocks/bclock/Makefile	Sat Jan 11 12:51:31 2014	(r339424)
@@ -13,10 +13,9 @@ COMMENT=	Round, analog X11 clock with Be
 
 USES=		imake
 USE_XORG=	ice sm x11 xext xmu xt
-MAN1=		bclock.1
 
 PLIST_FILES=	bin/bclock \
-		lib/X11/app-defaults/Clock-color
+		lib/X11/app-defaults/Clock-color \
+		man/man1/${PORTNAME}.1.gz
 
-NO_STAGE=	yes
 .include <bsd.port.mk>

Modified: head/x11-clocks/dclock/Makefile
==============================================================================
--- head/x11-clocks/dclock/Makefile	Sat Jan 11 12:22:15 2014	(r339423)
+++ head/x11-clocks/dclock/Makefile	Sat Jan 11 12:51:31 2014	(r339424)
@@ -22,16 +22,15 @@ USES=		pkgconfig
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib -lX11 -lXt -lm
 
-MAN1=		dclock.1
 PORTDOCS=	README TODO
 PLIST_FILES=	bin/dclock \
 		lib/X11/app-defaults/DClock \
+		man/man1/${PORTNAME}.1.gz \
 		%%DATADIR%%/sounds/bell.wav \
 		%%DATADIR%%/sounds/digital.wav
 PLIST_DIRS=	%%DATADIR%%/sounds \
 		%%DATADIR%%
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MSOX}
@@ -57,16 +56,16 @@ do-build:
 
 do-install:
 	(cd ${WRKSRC} \
-		&& ${INSTALL_PROGRAM} dclock ${PREFIX}/bin \
-		&& ${INSTALL_MAN} dclock.1 ${MANPREFIX}/man/man1 \
+		&& ${INSTALL_PROGRAM} dclock ${STAGEDIR}${PREFIX}/bin \
+		&& ${INSTALL_MAN} dclock.1 ${STAGEDIR}${MANPREFIX}/man/man1 \
 		&& ${INSTALL_DATA} Dclock.ad \
-			${PREFIX}/lib/X11/app-defaults/DClock)
-	@${MKDIR} ${DATADIR}/sounds
-	(cd ${WRKSRC}/sounds && ${INSTALL_DATA} *.wav ${DATADIR}/sounds)
+			${STAGEDIR}${PREFIX}/lib/X11/app-defaults/DClock)
+	@${MKDIR} ${STAGEDIR}${DATADIR}/sounds
+	(cd ${WRKSRC}/sounds && ${INSTALL_DATA} *.wav ${STAGEDIR}${DATADIR}/sounds)
 .if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for f in ${PORTDOCS}
-	(cd ${WRKSRC} && ${INSTALL_DATA} ${f} ${DOCSDIR})
+	(cd ${WRKSRC} && ${INSTALL_DATA} ${f} ${STAGEDIR}${DOCSDIR})
 .endfor
 .endif
 

Modified: head/x11-clocks/emiclock/Makefile
==============================================================================
--- head/x11-clocks/emiclock/Makefile	Sat Jan 11 12:22:15 2014	(r339423)
+++ head/x11-clocks/emiclock/Makefile	Sat Jan 11 12:51:31 2014	(r339424)
@@ -12,18 +12,14 @@ COMMENT=	Hyper-animated face analog cloc
 
 USES=		imake
 USE_XORG=	ice sm x11 xaw xext xmu xpm xt
-MAN1=		emiclock.1
 
 LANGRES=	resources/R6/EUC/EmiClock.ad
 LANGDIR=	${LOCALBASE}/lib/X11/ja_JP.eucJP/app-defaults
 LANGDIR2=	${LOCALBASE}/lib/X11/ja_JP.EUC/app-defaults
 EMICLOCKDIR=	${LOCALBASE}/lib/X11/EmiClock
 
-.ifndef NOPORTDOCS
 PORTDOCS=	COPYRIGHT COPYRIGHT.en
-.endif
 
-NO_STAGE=	yes
 .include <bsd.port.pre.mk>
 
 .if ${ARCH} != "i386"
@@ -32,16 +28,17 @@ PLIST_SUB=	SOUND="@comment "
 PLIST_SUB=	SOUND=""
 .endif
 
+.include <bsd.port.options.mk>
+
 post-install:
-	@${MKDIR} ${EMICLOCKDIR}
-	@${MKDIR} ${LANGDIR}
-	@${MKDIR} ${LANGDIR2}
-	cd ${WRKSRC} && ${INSTALL_DATA} ${LANGRES} ${LANGDIR}/EmiClock
-	cd ${WRKSRC} && ${INSTALL_DATA} ${LANGRES} ${LANGDIR2}/EmiClock
-.ifndef NOPORTDOCS
-	@${MKDIR} ${DOCSDIR}
-	cd ${WRKSRC}; ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${EMICLOCKDIR}
+	@${MKDIR} ${STAGEDIR}${LANGDIR}
+	@${MKDIR} ${STAGEDIR}${LANGDIR2}
+	cd ${WRKSRC} && ${INSTALL_DATA} ${LANGRES} ${STAGEDIR}${LANGDIR}/EmiClock
+	cd ${WRKSRC} && ${INSTALL_DATA} ${LANGRES} ${STAGEDIR}${LANGDIR2}/EmiClock
+.if ${PORT_OPTIONS:MDOCS}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	cd ${WRKSRC}; ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
 .endif
-#	cd ${WRKSRC}; make install.man
 
 .include <bsd.port.post.mk>

Modified: head/x11-clocks/emiclock/pkg-plist
==============================================================================
--- head/x11-clocks/emiclock/pkg-plist	Sat Jan 11 12:22:15 2014	(r339423)
+++ head/x11-clocks/emiclock/pkg-plist	Sat Jan 11 12:51:31 2014	(r339424)
@@ -3,6 +3,7 @@ bin/emiclock
 lib/X11/app-defaults/EmiClock
 lib/X11/ja_JP.EUC/app-defaults/EmiClock
 lib/X11/ja_JP.eucJP/app-defaults/EmiClock
+man/man1/emiclock.1.gz
 @dirrmtry lib/X11/ja_JP.eucJP/app-defaults
 @dirrmtry lib/X11/ja_JP.eucJP
 @dirrmtry lib/X11/ja_JP.EUC/app-defaults

Modified: head/x11-clocks/mlclock/Makefile
==============================================================================
--- head/x11-clocks/mlclock/Makefile	Sat Jan 11 12:22:15 2014	(r339423)
+++ head/x11-clocks/mlclock/Makefile	Sat Jan 11 12:51:31 2014	(r339424)
@@ -17,7 +17,6 @@ USE_XORG=	x11 xau xdmcp
 PLIST_FILES=	bin/mlclock %%DATADIR%%/mlclockrc %%DATADIR%%/mlclockrc-kanji
 PLIST_DIRS=	%%DATADIR%%
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e \
 		's|^void main|int main| ; \
@@ -29,10 +28,10 @@ do-build:
 		-L${LOCALBASE}/lib -lX11
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/mlclock ${PREFIX}/bin
-	@${MKDIR} ${DATADIR}
+	${INSTALL_PROGRAM} ${WRKSRC}/mlclock ${STAGEDIR}${PREFIX}/bin
+	@${MKDIR} ${STAGEDIR}${DATADIR}
 .for i in mlclockrc mlclockrc-kanji
-	${INSTALL_DATA} ${WRKSRC}/rcfile/${i} ${DATADIR}
+	${INSTALL_DATA} ${WRKSRC}/rcfile/${i} ${STAGEDIR}${DATADIR}
 .endfor
 
 .include <bsd.port.mk>

Modified: head/x11-clocks/mouseclock/Makefile
==============================================================================
--- head/x11-clocks/mouseclock/Makefile	Sat Jan 11 12:22:15 2014	(r339423)
+++ head/x11-clocks/mouseclock/Makefile	Sat Jan 11 12:51:31 2014	(r339424)
@@ -14,11 +14,10 @@ COMMENT=	Display the current time using 
 USES=		imake:notall
 USE_XORG=	x11
 
-NO_STAGE=	yes
 post-install:
 .if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-	@${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	@${INSTALL_MAN} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>

Modified: head/x11-clocks/osdclock/Makefile
==============================================================================
--- head/x11-clocks/osdclock/Makefile	Sat Jan 11 12:22:15 2014	(r339423)
+++ head/x11-clocks/osdclock/Makefile	Sat Jan 11 12:51:31 2014	(r339424)
@@ -19,11 +19,9 @@ MAKE_ARGS=	CC="${CC}" CFLAGS="${CFLAGS} 
 		LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
 		PREFIX="${PREFIX}"
 
-PLIST_FILES=	bin/osd_clock
-MAN1=		osd_clock.1
+PLIST_FILES=	bin/osd_clock man/man1/osd_clock.1.gz
 
-NO_STAGE=	yes
 post-install:
-	${STRIP_CMD} ${PREFIX}/bin/osd_clock
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/osd_clock
 
 .include <bsd.port.mk>

Added: head/x11-clocks/osdclock/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-clocks/osdclock/files/patch-Makefile	Sat Jan 11 12:51:31 2014	(r339424)
@@ -0,0 +1,14 @@
+--- Makefile.orig	2014-01-11 19:21:51.000000000 +0800
++++ Makefile	2014-01-11 19:22:23.000000000 +0800
+@@ -37,9 +37,8 @@ osd_clock: osd_clock.o
+ tar: xosd-$(VERSION).tar.gz
+ 
+ install: all
+-	$(INSTALL) osd_clock $(BINDIR)
+-	mkdir -p $(MANDIR)/man1 $(MANDIR)/man3
+-	$(INSTALL_DATA) osd_clock.1 $(MANDIR)/man1/
++	$(INSTALL) osd_clock $(DESTDIR)$(BINDIR)
++	$(INSTALL_DATA) osd_clock.1 $(DESTDIR)$(MANDIR)/man1/
+ 
+ clean:
+ 	rm -f *~ *.o *.o.pic osd_clock

Modified: head/x11-clocks/swisswatch/Makefile
==============================================================================
--- head/x11-clocks/swisswatch/Makefile	Sat Jan 11 12:22:15 2014	(r339423)
+++ head/x11-clocks/swisswatch/Makefile	Sat Jan 11 12:51:31 2014	(r339424)
@@ -13,7 +13,5 @@ COMMENT=	Swiss railway clock emulation, 
 
 USES=		imake
 USE_XORG=	ice sm x11 xext xmu xt
-MAN1=		swisswatch.1
 
-NO_STAGE=	yes
 .include <bsd.port.mk>

Modified: head/x11-clocks/swisswatch/pkg-plist
==============================================================================
--- head/x11-clocks/swisswatch/pkg-plist	Sat Jan 11 12:22:15 2014	(r339423)
+++ head/x11-clocks/swisswatch/pkg-plist	Sat Jan 11 12:51:31 2014	(r339424)
@@ -1,3 +1,4 @@
 bin/swisswatch
 lib/X11/app-defaults/SwissWatch
 lib/X11/app-defaults/SwissWatch-color
+man/man1/swisswatch.1.gz

Modified: head/x11-clocks/t3d/Makefile
==============================================================================
--- head/x11-clocks/t3d/Makefile	Sat Jan 11 12:22:15 2014	(r339423)
+++ head/x11-clocks/t3d/Makefile	Sat Jan 11 12:51:31 2014	(r339424)
@@ -22,8 +22,6 @@ NO_WRKSUBDIR=	yes
 USES=		imake
 USE_XORG=	x11 xext
 
-MAN1=		t3d.1
-PLIST_FILES=	bin/t3d
+PLIST_FILES=	bin/t3d man/man1/${PORTNAME}.1.gz
 
-NO_STAGE=	yes
 .include <bsd.port.mk>

Modified: head/x11-clocks/tclock/Makefile
==============================================================================
--- head/x11-clocks/tclock/Makefile	Sat Jan 11 12:22:15 2014	(r339423)
+++ head/x11-clocks/tclock/Makefile	Sat Jan 11 12:51:31 2014	(r339424)
@@ -15,11 +15,9 @@ COMMENT=	Transparent analog clock for x1
 NO_WRKSUBDIR=	yes
 USES=		imake
 USE_XORG=	x11 xext
-MAN1=		tclock.1
-PLIST_FILES=	bin/tclock
+PLIST_FILES=	bin/tclock man/man1/${PORTNAME}.1.gz
 
 LICENSE=	GPLv1
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-NO_STAGE=	yes
 .include <bsd.port.mk>

Modified: head/x11-clocks/tktz/Makefile
==============================================================================
--- head/x11-clocks/tktz/Makefile	Sat Jan 11 12:22:15 2014	(r339423)
+++ head/x11-clocks/tktz/Makefile	Sat Jan 11 12:51:31 2014	(r339424)
@@ -10,17 +10,18 @@ MASTER_SITES=	http://gromnizki.unixdev.n
 MAINTAINER=	gromnizki@unixdev.net
 COMMENT=	A Tcl/Tk-based timezone viewer
 
-RUN_DEPENDS=	wish8.4:${PORTSDIR}/x11-toolkits/tk84
-
+USES=		tk:84+,run
 NO_BUILD=	yes
 
-NO_STAGE=	yes
+post-patch:
+	${REINPLACE_CMD} -e 's|%%TK_VER%%|${TK_VER}|' ${WRKSRC}/tktz
+
 do-install:
-	@ ${MKDIR} ${PREFIX}/lib/tktz
-	@ ${INSTALL_SCRIPT} ${WRKSRC}/tktz ${PREFIX}/lib/tktz
-	@ ${LN} -sf ${PREFIX}/lib/tktz/tktz ${PREFIX}/bin
+	${MKDIR} ${STAGEDIR}${PREFIX}/lib/tktz
+	${INSTALL_SCRIPT} ${WRKSRC}/tktz ${STAGEDIR}${PREFIX}/lib/tktz
+	${LN} -sf ${PREFIX}/lib/tktz/tktz ${STAGEDIR}${PREFIX}/bin
 .for file in tktz.help README LICENSE NEWS
-	@ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/lib/tktz
+	${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${PREFIX}/lib/tktz
 .endfor
 
 .include <bsd.port.mk>

Added: head/x11-clocks/tktz/files/patch-tktz
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-clocks/tktz/files/patch-tktz	Sat Jan 11 12:51:31 2014	(r339424)
@@ -0,0 +1,11 @@
+--- tktz.orig	2014-01-11 18:51:04.000000000 +0800
++++ tktz	2014-01-11 18:51:14.000000000 +0800
+@@ -1,7 +1,7 @@
+ #!/bin/sh
+ # -*-tcl-*- \
+ # the next line restarts using wish \
+-exec wish8.4 "$0" "$@"
++exec wish%%TK_VER%% "$0" "$@"
+ 
+ # tktz - timezone viewer.
+ #

Modified: head/x11-clocks/wmbday/Makefile
==============================================================================
--- head/x11-clocks/wmbday/Makefile	Sat Jan 11 12:22:15 2014	(r339423)
+++ head/x11-clocks/wmbday/Makefile	Sat Jan 11 12:51:31 2014	(r339424)
@@ -18,8 +18,4 @@ HAS_CONFIGURE=	yes
 MAKEFILE=	BSDmakefile
 MAKE_ENV+=	${CONFIGURE_ENV} X11BASE=${LOCALBASE}
 
-MAN1=		wmbday.1
-MANCOMPRESSED=	yes
-
-NO_STAGE=	yes
 .include <bsd.port.mk>

Modified: head/x11-clocks/wmbday/pkg-plist
==============================================================================
--- head/x11-clocks/wmbday/pkg-plist	Sat Jan 11 12:22:15 2014	(r339423)
+++ head/x11-clocks/wmbday/pkg-plist	Sat Jan 11 12:51:31 2014	(r339424)
@@ -1,2 +1,3 @@
 @comment $FreeBSD$
 bin/wmbday
+man/man1/wmbday.1.gz

Modified: head/x11-clocks/wmbinclock/Makefile
==============================================================================
--- head/x11-clocks/wmbinclock/Makefile	Sat Jan 11 12:22:15 2014	(r339423)
+++ head/x11-clocks/wmbinclock/Makefile	Sat Jan 11 12:51:31 2014	(r339424)
@@ -11,16 +11,15 @@ MAINTAINER=	logix@foobar.franken.de
 COMMENT=	A binary clock in a windowmaker applet
 
 PLIST_FILES=	bin/wmBinClock
-USE_GMAKE=	yes
+USES=		gmake
 USE_XORG=	xpm
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e 's|#include <values.h>||' ${WRKSRC}/wmBinClock.c
 	@${REINPLACE_CMD} -e 's|^CC.*=|CC ?=|' -e 's|^CFLAGS.*=|CFLAGS +=|' \
 		-e 's|/usr/X11R6|${LOCALBASE}|g' ${WRKSRC}/Makefile
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/wmBinClock ${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/wmBinClock ${STAGEDIR}${PREFIX}/bin
 
 .include <bsd.port.mk>

Modified: head/x11-clocks/wmblueclock/Makefile
==============================================================================
--- head/x11-clocks/wmblueclock/Makefile	Sat Jan 11 12:22:15 2014	(r339423)
+++ head/x11-clocks/wmblueclock/Makefile	Sat Jan 11 12:51:31 2014	(r339424)
@@ -14,12 +14,10 @@ COMMENT=	Simple dockable clock applicati
 USE_BZIP2=	yes
 USE_XORG=	x11 xau xdmcp xext xpm
 
-MAN1=		${PORTNAME}.1
-PLIST_FILES=	bin/wmblueclock
+PLIST_FILES=	bin/wmblueclock man/man1/${PORTNAME}.1.gz
 
-NO_STAGE=	yes
 do-install:
-	@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
-	@${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1
+	@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+	@${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
 
 .include <bsd.port.mk>

Modified: head/x11-clocks/wmcalclock/Makefile
==============================================================================
--- head/x11-clocks/wmcalclock/Makefile	Sat Jan 11 12:22:15 2014	(r339423)
+++ head/x11-clocks/wmcalclock/Makefile	Sat Jan 11 12:51:31 2014	(r339424)
@@ -15,21 +15,18 @@ LICENSE_FILE=	${WRKSRC}/../COPYING
 
 USE_XORG=	xpm
 WRKSRC=		${WRKDIR}/${DISTNAME}/Src
-PLIST_FILES=	bin/wmCalClock
+PLIST_FILES=	bin/wmCalClock man/man1/${PORTNAME}.1.gz
 PORTDOCS=	BUGS CHANGES HINTS INSTALL README TODO
 
-MAN1=		wmCalClock.1
-
 OPTIONS_DEFINE=	DOCS
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MDOCS}
 post-install:
-	@${MKDIR} ${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	cd ${WRKDIR}/${DISTNAME} && \
-		${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
+		${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>

Modified: head/x11-clocks/wmcalclock/files/patch-Makefile
==============================================================================
--- head/x11-clocks/wmcalclock/files/patch-Makefile	Sat Jan 11 12:22:15 2014	(r339423)
+++ head/x11-clocks/wmcalclock/files/patch-Makefile	Sat Jan 11 12:51:31 2014	(r339424)
@@ -1,6 +1,6 @@
---- Makefile.orig	Sat Mar 27 15:46:38 1999
-+++ Makefile	Sat Aug 12 01:01:35 2000
-@@ -1,8 +1,8 @@
+--- Makefile.orig	1999-03-27 14:46:38.000000000 +0800
++++ Makefile	2014-01-11 20:07:37.000000000 +0800
+@@ -1,8 +1,7 @@
 -CC     = gcc
 -CFLAGS = -O2 -Wall
 -INCDIR = -I/usr/X11R6/include/X11 -I/usr/X11R6/include
@@ -9,12 +9,11 @@
 +CC     ?= gcc
 +CFLAGS ?= -O2
 +INCDIR = -I${LOCALBASE}/include
-+DESTDIR= ${PREFIX}
 +LIBDIR = -L${LOCALBASE}/lib
  
  # for Linux
  LIBS   = -lXpm -lX11 -lXext
-@@ -15,14 +15,14 @@
+@@ -15,14 +14,14 @@ OBJS   = wmCalClock.o \
  
  
  .c.o:
@@ -31,12 +30,12 @@
  
  clean:
  	for i in $(OBJS) ; do \
-@@ -31,6 +31,6 @@
+@@ -31,6 +30,6 @@ clean:
  	rm -f wmCalClock
  
  install:: wmCalClock
 -	install -c -s -m 0755 wmCalClock $(DESTDIR)/bin
 -	install -c -m 0644 wmCalClock.1 $(DESTDIR)/man/man1 
-+	${BSD_INSTALL_PROGRAM} wmCalClock $(DESTDIR)/bin
-+	${BSD_INSTALL_MAN} wmCalClock.1 $(DESTDIR)/man/man1 
++	${BSD_INSTALL_PROGRAM} wmCalClock $(DESTDIR)$(PREFIX)/bin
++	${BSD_INSTALL_MAN} wmCalClock.1 $(DESTDIR)$(PREFIX)/man/man1 
  

Modified: head/x11-clocks/wmclock/Makefile
==============================================================================
--- head/x11-clocks/wmclock/Makefile	Sat Jan 11 12:22:15 2014	(r339423)
+++ head/x11-clocks/wmclock/Makefile	Sat Jan 11 12:51:31 2014	(r339424)
@@ -13,11 +13,9 @@ COMMENT=	Dockable clock applet for Windo
 
 USES=		imake
 USE_XORG=	xpm
-MAN1=		wmclock.1
-PLIST_FILES=	bin/wmclock
+PLIST_FILES=	bin/wmclock man/man1/${PORTNAME}.1.gz
 WMCLOCK_LANG?=	english
 
-NO_STAGE=	yes
 pre-configure:
 	(cd ${WRKSRC}; \
 	${WRKSRC}/configure --lang ${WMCLOCK_LANG} > /dev/null )

Modified: head/x11-clocks/wmclockmon/Makefile
==============================================================================
--- head/x11-clocks/wmclockmon/Makefile	Sat Jan 11 12:22:15 2014	(r339423)
+++ head/x11-clocks/wmclockmon/Makefile	Sat Jan 11 12:51:31 2014	(r339424)
@@ -14,17 +14,14 @@ USE_XORG=	xpm
 USE_GNOME=	gtk12
 GNU_CONFIGURE=	yes
 
-MAN1=		wmclockmon.1 wmclockmon-config.1 wmclockmon-cal.1
-
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e 's|gtk-config|${GTK_CONFIG}|g' \
 		${WRKSRC}/wmclockmon-config/Makefile.in
 
 post-install:
-	@${MKDIR} ${EXAMPLESDIR}
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 .for i in 1 2
-	@${INSTALL_DATA} ${WRKSRC}/doc/sample${i}.wmclockmonrc ${EXAMPLESDIR}
+	@${INSTALL_DATA} ${WRKSRC}/doc/sample${i}.wmclockmonrc ${STAGEDIR}${EXAMPLESDIR}
 .endfor
 
 .include <bsd.port.mk>

Modified: head/x11-clocks/wmclockmon/pkg-plist
==============================================================================
--- head/x11-clocks/wmclockmon/pkg-plist	Sat Jan 11 12:22:15 2014	(r339423)
+++ head/x11-clocks/wmclockmon/pkg-plist	Sat Jan 11 12:51:31 2014	(r339424)
@@ -1,6 +1,9 @@
 bin/wmclockmon
 bin/wmclockmon-cal
 bin/wmclockmon-config
+man/man1/wmclockmon-cal.1.gz
+man/man1/wmclockmon-config.1.gz
+man/man1/wmclockmon.1.gz
 %%EXAMPLESDIR%%/sample1.wmclockmonrc
 %%EXAMPLESDIR%%/sample2.wmclockmonrc
 %%DATADIR%%/backlight0_off.xpm

Modified: head/x11-clocks/wmfishtime/Makefile
==============================================================================
--- head/x11-clocks/wmfishtime/Makefile	Sat Jan 11 12:22:15 2014	(r339423)
+++ head/x11-clocks/wmfishtime/Makefile	Sat Jan 11 12:51:31 2014	(r339424)
@@ -18,15 +18,13 @@ GTK_CFLAGS?=	`${GTK_CONFIG} --cflags`
 MAKE_ARGS+=	CFLAGS="${CPPFLAGS} ${CFLAGS} -Wall ${GTK_CFLAGS}" \
 		LDFLAGS="${LDFLAGS}" \
 		GTK_LIBS="${GTK_LIBS}"
-PLIST_FILES=	bin/wmfishtime
-MAN1=	wmfishtime.1
+PLIST_FILES=	bin/wmfishtime man/man1/${PORTNAME}.1.gz
 
-NO_STAGE=	yes
 post-patch:
 	${REINPLACE_CMD} -E -e "s@1\.23@1\.24@g" ${WRKSRC}/fishmon.c ${WRKSRC}/wmfishtime.1
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/wmfishtime ${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/wmfishtime.1 ${PREFIX}/man/man1/
+	${INSTALL_PROGRAM} ${WRKSRC}/wmfishtime ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/wmfishtime.1 ${STAGEDIR}${PREFIX}/man/man1/
 
 .include <bsd.port.mk>

Modified: head/x11-clocks/wmfuzzy/Makefile
==============================================================================
--- head/x11-clocks/wmfuzzy/Makefile	Sat Jan 11 12:22:15 2014	(r339423)
+++ head/x11-clocks/wmfuzzy/Makefile	Sat Jan 11 12:51:31 2014	(r339424)
@@ -18,12 +18,11 @@ USE_XORG=	xpm
 PORTDOCS=	README
 PLIST_FILES=	bin/wmfuzzy
 
-NO_STAGE=	yes
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/wmfuzzy ${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/wmfuzzy ${STAGEDIR}${PREFIX}/bin
 .if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/../README ${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/../README ${STAGEDIR}${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>

Modified: head/x11-clocks/wmtimer/Makefile
==============================================================================
--- head/x11-clocks/wmtimer/Makefile	Sat Jan 11 12:22:15 2014	(r339423)
+++ head/x11-clocks/wmtimer/Makefile	Sat Jan 11 12:51:31 2014	(r339424)
@@ -23,12 +23,11 @@ USE_GNOME=	gtk20
 MAKE_ENV=	PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
 		PTHREAD_LIBS="${PTHREAD_LIBS}"
 
-NO_STAGE=	yes
 do-install:
-	@${INSTALL_PROGRAM} ${WRKSRC}/wmtimer ${PREFIX}/bin
+	@${INSTALL_PROGRAM} ${WRKSRC}/wmtimer ${STAGEDIR}${PREFIX}/bin
 .ifndef(NOPORTDOCS)
-	@${INSTALL} -d ${DOCSDIR}
-	@${INSTALL_DATA} ${WRKSRC}/../README ${DOCSDIR}
+	@${INSTALL} -d ${STAGEDIR}${DOCSDIR}
+	@${INSTALL_DATA} ${WRKSRC}/../README ${STAGEDIR}${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>

Modified: head/x11-clocks/xdaliclock/Makefile
==============================================================================
--- head/x11-clocks/xdaliclock/Makefile	Sat Jan 11 12:22:15 2014	(r339423)
+++ head/x11-clocks/xdaliclock/Makefile	Sat Jan 11 12:51:31 2014	(r339424)
@@ -14,8 +14,6 @@ WRKSRC=		${WRKDIR}/${DISTNAME}/X11
 
 GNU_CONFIGURE=	yes
 USE_XORG=	xt sm ice xext x11
-MAN1=		xdaliclock.1
-PLIST_FILES=	bin/xdaliclock
+PLIST_FILES=	bin/xdaliclock man/man1/${PORTNAME}.1.gz
 
-NO_STAGE=	yes
 .include <bsd.port.mk>

Added: head/x11-clocks/xdaliclock/files/patch-Makefile.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-clocks/xdaliclock/files/patch-Makefile.in	Sat Jan 11 12:51:31 2014	(r339424)
@@ -0,0 +1,15 @@
+--- Makefile.in.orig	2014-01-11 19:17:22.000000000 +0800
++++ Makefile.in	2014-01-11 19:17:41.000000000 +0800
+@@ -79,10 +79,10 @@ install-strip:
+ 		install
+ 
+ install-program: xdaliclock
+-	$(INSTALL_PROGRAM) xdaliclock $(install_prefix)$(bindir)/xdaliclock
++	$(INSTALL_PROGRAM) xdaliclock $(DESTDIR)$(install_prefix)$(bindir)/xdaliclock
+ 
+ install-man: xdaliclock.man
+-	$(INSTALL_DATA) $(srcdir)/xdaliclock.man $(install_prefix)$(man1dir)/xdaliclock.1
++	$(INSTALL_DATA) $(srcdir)/xdaliclock.man $(DESTDIR)$(install_prefix)$(man1dir)/xdaliclock.1
+ 
+ uninstall-program:
+ 	rm -f $(install_prefix)$(bindir)/xdaliclock

Modified: head/x11-clocks/xtimer/Makefile
==============================================================================
--- head/x11-clocks/xtimer/Makefile	Sat Jan 11 12:22:15 2014	(r339423)
+++ head/x11-clocks/xtimer/Makefile	Sat Jan 11 12:51:31 2014	(r339424)
@@ -13,8 +13,6 @@ COMMENT=	Simple digital timer for X11
 
 USES=		imake
 USE_XORG=	ice sm x11 xaw xext xmu xpm xt
-MAN1=		xtimer.1
-PLIST_FILES=	bin/xtimer
+PLIST_FILES=	bin/xtimer man/man1/${PORTNAME}.1.gz
 
-NO_STAGE=	yes
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401111251.s0BCpWlN054309>