ports/187062: x11-clocks/astime: Update MASTER_SITES

KATO Tsuguru tkato432 at yahoo.com
Tue Feb 25 18:10:08 UTC 2014


>Number:         187062
>Category:       ports
>Synopsis:       x11-clocks/astime: Update MASTER_SITES
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 25 18:10:07 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 8.4-RELEASE-p7 i386
>Organization:
>Environment:
>Description:
- Update MASTER_SITES
- Add LICENSE
- Support STRIP properly

Remove file:
files/patch-aa

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/x11-clocks/astime/Makefile x11-clocks/astime/Makefile
--- /usr/ports/x11-clocks/astime/Makefile	2014-01-23 04:07:24.000000000 +0900
+++ x11-clocks/astime/Makefile	2014-02-26 00:00:00.000000000 +0900
@@ -5,17 +5,28 @@
 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 at 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 -urN /usr/ports/x11-clocks/astime/files/patch-aa x11-clocks/astime/files/patch-aa
--- /usr/ports/x11-clocks/astime/files/patch-aa	2014-01-23 04:07:23.000000000 +0900
+++ x11-clocks/astime/files/patch-aa	1970-01-01 09:00:00.000000000 +0900
@@ -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)
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list