diff options
author | pav <pav@FreeBSD.org> | 2003-12-27 22:51:16 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2003-12-27 22:51:16 +0800 |
commit | 5929d58952736a831d40991bdf7589f6559e1981 (patch) | |
tree | bac3f1fdabebd323c54c36882dfdcfe9cd528900 /x11-clocks | |
parent | 76f6e43b45c2a3d3f3a6f9e4f66360fe272d5a0c (diff) | |
download | freebsd-ports-gnome-5929d58952736a831d40991bdf7589f6559e1981.tar.gz freebsd-ports-gnome-5929d58952736a831d40991bdf7589f6559e1981.tar.zst freebsd-ports-gnome-5929d58952736a831d40991bdf7589f6559e1981.zip |
- Fix MASTER_SITES
- Support CFLAGS properly
- Remove obsolete WWW: line
PR: ports/60627
Submitted by: Ports Fury
Diffstat (limited to 'x11-clocks')
-rw-r--r-- | x11-clocks/pclock/Makefile | 25 | ||||
-rw-r--r-- | x11-clocks/pclock/distinfo | 2 | ||||
-rw-r--r-- | x11-clocks/pclock/files/patch-aa | 22 | ||||
-rw-r--r-- | x11-clocks/pclock/pkg-descr | 2 | ||||
-rw-r--r-- | x11-clocks/pclock/pkg-plist | 36 |
5 files changed, 34 insertions, 53 deletions
diff --git a/x11-clocks/pclock/Makefile b/x11-clocks/pclock/Makefile index e598f1580fb3..8102b456644e 100644 --- a/x11-clocks/pclock/Makefile +++ b/x11-clocks/pclock/Makefile @@ -7,24 +7,29 @@ PORTNAME= pclock PORTVERSION= 0.13.1 +PORTREVISION= 1 CATEGORIES= x11-clocks windowmaker afterstep -MASTER_SITES= ftp://ftp.kourakos.com/pub/pclock/ -EXTRACT_SUFX= .tgz +MASTER_SITES= ${MASTER_SITE_DEBIAN_POOL} +DISTNAME= ${PORTNAME}_${PORTVERSION}.orig MAINTAINER= ports@FreeBSD.org COMMENT= Simple analog clock program for the Window Maker dock -USE_GMAKE= yes +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}.orig/src + USE_X_PREFIX= yes USE_XPM= yes +USE_GETOPT_LONG= yes +MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" OBJS="Main.o Graphics.o" \ + INCDIR="-I. -I${X11BASE}/include ${CPPFLAGS}" \ + LIBDIR="-L${X11BASE}/lib ${LDFLAGS}" -do-install: - @${INSTALL_PROGRAM} ${WRKSRC}/src/pclock ${PREFIX}/bin - @${MKDIR} ${PREFIX}/share/pclock/pixmaps && ${CHMOD} a+rx ${PREFIX}/share/pclock/pixmaps - @${ECHO} "===> Installing sample pixmaps in ${PREFIX}/share/pclock/pixmaps" - @${INSTALL_DATA} ${WRKSRC}/XPM/*.xpm ${PREFIX}/share/pclock/pixmaps +post-extract: + cd ${WRKSRC} && ${RM} -f getopt* -post-install: - @${ECHO} "===> Use 'pclock --help' for usage instructions" +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/pclock ${PREFIX}/bin + @${MKDIR} ${DATADIR}/pixmaps + ${INSTALL_DATA} ${WRKSRC}/../XPM/*.xpm ${DATADIR}/pixmaps .include <bsd.port.mk> diff --git a/x11-clocks/pclock/distinfo b/x11-clocks/pclock/distinfo index b630c7d0ef92..80ebe296b24a 100644 --- a/x11-clocks/pclock/distinfo +++ b/x11-clocks/pclock/distinfo @@ -1 +1 @@ -MD5 (pclock-0.13.1.tgz) = c700933e3ec53beed738c5167fc255c1 +MD5 (pclock_0.13.1.orig.tar.gz) = 7d6284d50b7e8c76b1e8b68dad5fe44f diff --git a/x11-clocks/pclock/files/patch-aa b/x11-clocks/pclock/files/patch-aa deleted file mode 100644 index 2a099593712e..000000000000 --- a/x11-clocks/pclock/files/patch-aa +++ /dev/null @@ -1,22 +0,0 @@ ---- src/Makefile.orig Fri Dec 3 16:29:46 1999 -+++ src/Makefile Fri Dec 3 16:33:00 1999 -@@ -1,14 +1,14 @@ --BINDIR = /usr/X11R6/bin -+BINDIR = ${X11BASE}/bin - - PROG = pclock - OBJS = Main.o Graphics.o getopt.o getopt1.o - - DEFAULT_XPM = round-3d.xpm - --INCDIR = -I/usr/X11R6/include -I. --LIBDIR = -L/usr/X11R6/lib --CC = gcc --CFLAGS = -O -s -Wall -+INCDIR = -I${X11BASE}/include -I. -+LIBDIR = -L${X11BASE}/lib -+CC ?= gcc -+CFLAGS = -s -fomit-frame-pointer -Wall - LIBS = -lXpm -lXext -lX11 -lm - - ############################################################################### diff --git a/x11-clocks/pclock/pkg-descr b/x11-clocks/pclock/pkg-descr index 2dffad6f3f2f..b7b422eb926e 100644 --- a/x11-clocks/pclock/pkg-descr +++ b/x11-clocks/pclock/pkg-descr @@ -2,6 +2,4 @@ pclock is a simple analog clock program designed to run under the Window Maker window manager. Any 64x64 pixmap may be used as a background, including tiles. -WWW: http://kraanerg.apex-it.com/~awk/pclock/ - - Jim <jim@FreeBSD.org> diff --git a/x11-clocks/pclock/pkg-plist b/x11-clocks/pclock/pkg-plist index c23874710ea6..6fa148df87b6 100644 --- a/x11-clocks/pclock/pkg-plist +++ b/x11-clocks/pclock/pkg-plist @@ -1,19 +1,19 @@ bin/pclock -share/pclock/pixmaps/glowclock.xpm -share/pclock/pixmaps/green.xpm -share/pclock/pixmaps/moonphase.xpm -share/pclock/pixmaps/oclock.xpm -share/pclock/pixmaps/radar.xpm -share/pclock/pixmaps/rolex2.xpm -share/pclock/pixmaps/rolexgmt.xpm -share/pclock/pixmaps/round-3d.xpm -share/pclock/pixmaps/square.xpm -share/pclock/pixmaps/swatch.xpm -share/pclock/pixmaps/time-icon.xpm -share/pclock/pixmaps/will-return.xpm -share/pclock/pixmaps/wmaker-tile.xpm -share/pclock/pixmaps/wood-tile.xpm -share/pclock/pixmaps/wristwatch.xpm -share/pclock/pixmaps/yellow-diamond.xpm -@dirrm share/pclock/pixmaps -@dirrm share/pclock +%%DATADIR%%/pixmaps/glowclock.xpm +%%DATADIR%%/pixmaps/green.xpm +%%DATADIR%%/pixmaps/moonphase.xpm +%%DATADIR%%/pixmaps/oclock.xpm +%%DATADIR%%/pixmaps/radar.xpm +%%DATADIR%%/pixmaps/rolex2.xpm +%%DATADIR%%/pixmaps/rolexgmt.xpm +%%DATADIR%%/pixmaps/round-3d.xpm +%%DATADIR%%/pixmaps/square.xpm +%%DATADIR%%/pixmaps/swatch.xpm +%%DATADIR%%/pixmaps/time-icon.xpm +%%DATADIR%%/pixmaps/will-return.xpm +%%DATADIR%%/pixmaps/wmaker-tile.xpm +%%DATADIR%%/pixmaps/wood-tile.xpm +%%DATADIR%%/pixmaps/wristwatch.xpm +%%DATADIR%%/pixmaps/yellow-diamond.xpm +@dirrm %%DATADIR%%/pixmaps +@dirrm %%DATADIR%% |