Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Feb 2014 02:52:46 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/187039: misc/asbutton: Update MASTER_SITES
Message-ID:  <20140226025246.e6ab7e4b1022c06c5de22b7b@yahoo.com>
Resent-Message-ID: <201402251810.s1PIA1Vb042258@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         187039
>Category:       ports
>Synopsis:       misc/asbutton: 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:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 8.4-RELEASE-p7 i386
>Organization:
>Environment:
>Description:
- Update MASTER_SITES
- Add LICENSE

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/misc/asbutton/Makefile misc/asbutton/Makefile
--- /usr/ports/misc/asbutton/Makefile	2014-02-08 04:12:04.000000000 +0900
+++ misc/asbutton/Makefile	2014-02-26 00:00:00.000000000 +0900
@@ -5,13 +5,13 @@
 PORTVERSION=	0.3
 PORTREVISION=	3
 CATEGORIES=	misc windowmaker afterstep
-MASTER_SITES=	http://www.tigr.net/afterstep/download/asbutton/
+MASTER_SITES=	AFTERSTEP/apps/asbutton/ \
+		http://tigr.net/afterstep/download/asbutton/
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Dockapp that displays 4 or 9 buttons to run apps of your choice
 
-DEPRECATED=	No more public distfiles
-EXPIRATION_DATE=	2014-03-07
+LICENSE=	GPLv2
 
 USE_XORG=	x11 xpm
 ALL_TARGET=	asbutton
@@ -19,23 +19,22 @@
 		LIBINC="-L${LOCALBASE}/lib" LIBS="-lm -lX11 -lXpm -lXext" \
 		CCFLAGS="${CFLAGS}"
 
-NO_STAGE=	yes
-.include <bsd.port.pre.mk>
+OPTIONS_DEFINE=	EXAMPLES
 
 post-patch:
-	@${REINPLACE_CMD} -e 's:gcc :${CC} :' ${WRKSRC}/Makefile
+	@${REINPLACE_CMD} -e 's|gcc |$${CC} |' ${WRKSRC}/Makefile
+
+post-build:
+	@${LN} -sf .asbuttonrc ${WRKSRC}/asbuttonrc
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/asbutton ${PREFIX}/bin
-	@${ECHO} "===>   Installing icons in ${PREFIX}/share/asbutton"
-	@${MKDIR} ${PREFIX}/share/asbutton && ${CHMOD} a+rx ${PREFIX}/share/asbutton
-	${INSTALL_DATA} ${WRKSRC}/icons/*.xpm ${PREFIX}/share/asbutton
-
-post-install:
-	@${ECHO} "===>   Installing sample asbuttonrc in ${PREFIX}/share/examples/asbutton"
-	@${ECHO} "===>   Copy to ~/.asbuttonrc and modify to desired config."
-	@${MKDIR} ${PREFIX}/share/examples/asbutton && ${CHMOD} a+rx ${PREFIX}/share/examples/asbutton
-	${INSTALL_DATA} ${WRKSRC}/.asbuttonrc ${PREFIX}/share/examples/asbutton/asbuttonrc && ${CHMOD} u+rw ${PREFIX}/share/examples/asbutton/asbuttonrc
-	@${ECHO} "===>   Use 'asbutton -h' for help."
+	(cd ${WRKSRC} && ${INSTALL_PROGRAM} asbutton \
+		${STAGEDIR}${PREFIX}/bin)
+	@${MKDIR} ${STAGEDIR}${DATADIR}
+	(cd ${WRKSRC}/icons && ${INSTALL_DATA} *.xpm \
+		${STAGEDIR}${DATADIR})
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	(cd ${WRKSRC} && ${INSTALL_DATA} asbuttonrc \
+		${STAGEDIR}${EXAMPLESDIR})
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff -urN /usr/ports/misc/asbutton/pkg-plist misc/asbutton/pkg-plist
--- /usr/ports/misc/asbutton/pkg-plist	2014-01-23 05:13:21.000000000 +0900
+++ misc/asbutton/pkg-plist	2014-02-26 00:00:00.000000000 +0900
@@ -1,61 +1,61 @@
 bin/asbutton
-share/asbutton/asb4-1.xpm
-share/asbutton/asb4-2.xpm
-share/asbutton/asb4-3.xpm
-share/asbutton/asb4-4.xpm
-share/asbutton/asb4-blank.xpm
-share/asbutton/asb4-bullethole.xpm
-share/asbutton/asb4-corel.xpm
-share/asbutton/asb4-filingcabinet.xpm
-share/asbutton/asb4-gear.xpm
-share/asbutton/asb4-gnu-button-thang.xpm
-share/asbutton/asb4-gnu-defaultapp.xpm
-share/asbutton/asb4-gqview.xpm
-share/asbutton/asb4-gv.xpm
-share/asbutton/asb4-info.xpm
-share/asbutton/asb4-info2.xpm
-share/asbutton/asb4-netscape.xpm
-share/asbutton/asb4-network.xpm
-share/asbutton/asb4-package.xpm
-share/asbutton/asb4-redhat.xpm
-share/asbutton/asb4-term-bsd.xpm
-share/asbutton/asb4-term-linux.xpm
-share/asbutton/asb4-turn.xpm
-share/asbutton/asb4-vim.xpm
-share/asbutton/asb4-wilbur.xpm
-share/asbutton/asb4-xmms.xpm
-share/asbutton/asb4-xv.xpm
-share/asbutton/asb9-1.xpm
-share/asbutton/asb9-2.xpm
-share/asbutton/asb9-3.xpm
-share/asbutton/asb9-4.xpm
-share/asbutton/asb9-5.xpm
-share/asbutton/asb9-6.xpm
-share/asbutton/asb9-7.xpm
-share/asbutton/asb9-8.xpm
-share/asbutton/asb9-9.xpm
-share/asbutton/asb9-blank.xpm
-share/asbutton/asb9-bullethole.xpm
-share/asbutton/asb9-corel.xpm
-share/asbutton/asb9-filecabinet.xpm
-share/asbutton/asb9-gear.xpm
-share/asbutton/asb9-gnu-button-thang.xpm
-share/asbutton/asb9-gnu-defaultapp.xpm
-share/asbutton/asb9-gqview.xpm
-share/asbutton/asb9-gv.xpm
-share/asbutton/asb9-info.xpm
-share/asbutton/asb9-info2.xpm
-share/asbutton/asb9-netscape.xpm
-share/asbutton/asb9-network.xpm
-share/asbutton/asb9-package.xpm
-share/asbutton/asb9-redhat.xpm
-share/asbutton/asb9-term-bsd.xpm
-share/asbutton/asb9-term-linux.xpm
-share/asbutton/asb9-turn.xpm
-share/asbutton/asb9-vim.xpm
-share/asbutton/asb9-wilbur.xpm
-share/asbutton/asb9-xmms.xpm
-share/asbutton/asb9-xv.xpm
-share/examples/asbutton/asbuttonrc
-@dirrm share/asbutton
-@dirrm share/examples/asbutton
+%%DATADIR%%/asb4-1.xpm
+%%DATADIR%%/asb4-2.xpm
+%%DATADIR%%/asb4-3.xpm
+%%DATADIR%%/asb4-4.xpm
+%%DATADIR%%/asb4-blank.xpm
+%%DATADIR%%/asb4-bullethole.xpm
+%%DATADIR%%/asb4-corel.xpm
+%%DATADIR%%/asb4-filingcabinet.xpm
+%%DATADIR%%/asb4-gear.xpm
+%%DATADIR%%/asb4-gnu-button-thang.xpm
+%%DATADIR%%/asb4-gnu-defaultapp.xpm
+%%DATADIR%%/asb4-gqview.xpm
+%%DATADIR%%/asb4-gv.xpm
+%%DATADIR%%/asb4-info.xpm
+%%DATADIR%%/asb4-info2.xpm
+%%DATADIR%%/asb4-netscape.xpm
+%%DATADIR%%/asb4-network.xpm
+%%DATADIR%%/asb4-package.xpm
+%%DATADIR%%/asb4-redhat.xpm
+%%DATADIR%%/asb4-term-bsd.xpm
+%%DATADIR%%/asb4-term-linux.xpm
+%%DATADIR%%/asb4-turn.xpm
+%%DATADIR%%/asb4-vim.xpm
+%%DATADIR%%/asb4-wilbur.xpm
+%%DATADIR%%/asb4-xmms.xpm
+%%DATADIR%%/asb4-xv.xpm
+%%DATADIR%%/asb9-1.xpm
+%%DATADIR%%/asb9-2.xpm
+%%DATADIR%%/asb9-3.xpm
+%%DATADIR%%/asb9-4.xpm
+%%DATADIR%%/asb9-5.xpm
+%%DATADIR%%/asb9-6.xpm
+%%DATADIR%%/asb9-7.xpm
+%%DATADIR%%/asb9-8.xpm
+%%DATADIR%%/asb9-9.xpm
+%%DATADIR%%/asb9-blank.xpm
+%%DATADIR%%/asb9-bullethole.xpm
+%%DATADIR%%/asb9-corel.xpm
+%%DATADIR%%/asb9-filecabinet.xpm
+%%DATADIR%%/asb9-gear.xpm
+%%DATADIR%%/asb9-gnu-button-thang.xpm
+%%DATADIR%%/asb9-gnu-defaultapp.xpm
+%%DATADIR%%/asb9-gqview.xpm
+%%DATADIR%%/asb9-gv.xpm
+%%DATADIR%%/asb9-info.xpm
+%%DATADIR%%/asb9-info2.xpm
+%%DATADIR%%/asb9-netscape.xpm
+%%DATADIR%%/asb9-network.xpm
+%%DATADIR%%/asb9-package.xpm
+%%DATADIR%%/asb9-redhat.xpm
+%%DATADIR%%/asb9-term-bsd.xpm
+%%DATADIR%%/asb9-term-linux.xpm
+%%DATADIR%%/asb9-turn.xpm
+%%DATADIR%%/asb9-vim.xpm
+%%DATADIR%%/asb9-wilbur.xpm
+%%DATADIR%%/asb9-xmms.xpm
+%%DATADIR%%/asb9-xv.xpm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/asbuttonrc
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
+@dirrm %%DATADIR%%
>Release-Note:
>Audit-Trail:
>Unformatted:



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