aboutsummaryrefslogtreecommitdiff
path: root/x11-clocks/astime
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2014-02-27 09:21:03 +0000
committerMartin Wilke <miwi@FreeBSD.org>2014-02-27 09:21:03 +0000
commita6022e7c0fbcc22f15038b38841546ba4b7add19 (patch)
treee3f5e2b2e9834425144267dc99081ad470fbae2c /x11-clocks/astime
parentd4aa27bf925c0bee3e19ecec6038c6fbae90dc6e (diff)
downloadports-a6022e7c0fbcc22f15038b38841546ba4b7add19.tar.gz
ports-a6022e7c0fbcc22f15038b38841546ba4b7add19.zip
- Update MASTER_SITES
- Add LICENSE - Support STRIP properly PR: 187062
Notes
Notes: svn path=/head/; revision=346294
Diffstat (limited to 'x11-clocks/astime')
-rw-r--r--x11-clocks/astime/Makefile21
-rw-r--r--x11-clocks/astime/files/patch-aa15
2 files changed, 16 insertions, 20 deletions
diff --git a/x11-clocks/astime/Makefile b/x11-clocks/astime/Makefile
index 7fa5b9bb1a68..54e1530357b6 100644
--- a/x11-clocks/astime/Makefile
+++ b/x11-clocks/astime/Makefile
@@ -5,17 +5,28 @@ PORTNAME= astime
PORTVERSION= 2.8
PORTREVISION= 2
CATEGORIES= x11-clocks afterstep
-MASTER_SITES= ftp://ftp.afterstep.org/apps/astime/ \
- http://www.tigr.net/afterstep/download/astime/
+MASTER_SITES= AFTERSTEP/apps/astime/ \
+ http://tigr.net/afterstep/download/astime/
MAINTAINER= ports@FreeBSD.org
COMMENT= Time/Date applet for WindowMaker
+LICENSE= GPLv2
+
USE_XORG= xpm
GNU_CONFIGURE= yes
-CONFIGURE_ARGS+=--with-xpm-library="${LOCALBASE}/lib" --with-xpm-includes="${LOCALBASE}/include/X11"
-INSTALL_TARGET= install install.man
+CONFIGURE_ARGS= --with-xpm-includes=${LOCALBASE}/include \
+ --with-xpm-library=${LOCALBASE}/lib
+
+PLIST_FILES= bin/astime man/man1/astime.1.gz
+
+post-build:
+ @${LN} -sf astime.man ${WRKSRC}/astime.1
-PLIST_FILES= bin/astime man/man1/${PORTNAME}.1.gz
+do-install:
+ (cd ${WRKSRC} && ${INSTALL_PROGRAM} astime \
+ ${STAGEDIR}${PREFIX}/bin)
+ (cd ${WRKSRC} && ${INSTALL_MAN} astime.1 \
+ ${STAGEDIR}${MANPREFIX}/man/man1)
.include <bsd.port.mk>
diff --git a/x11-clocks/astime/files/patch-aa b/x11-clocks/astime/files/patch-aa
deleted file mode 100644
index 8ec328b726f8..000000000000
--- a/x11-clocks/astime/files/patch-aa
+++ /dev/null
@@ -1,15 +0,0 @@
---- 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 $(DESTDIR)$(AFTER_MAN_DIR)/$(PROG).1
-
- uninstall:
- $(RMF) $(AFTER_BIN_DIR)/$(PROG)