1999-05-10 16:44:07 +00:00
|
|
|
# New ports collection makefile for: asbutton
|
1999-08-01 01:59:42 +00:00
|
|
|
# Version required: 0.3
|
1999-05-10 16:44:07 +00:00
|
|
|
# Date created: 10 May 1999
|
1999-08-01 01:59:42 +00:00
|
|
|
# Whom: Jim Mock <jim@blues.ghis.net>
|
1999-05-10 16:44:07 +00:00
|
|
|
#
|
1999-08-01 01:59:42 +00:00
|
|
|
# $Id: Makefile,v 1.1.1.1 1999/05/10 16:44:06 flathill Exp $
|
1999-05-10 16:44:07 +00:00
|
|
|
#
|
|
|
|
|
1999-08-01 01:59:42 +00:00
|
|
|
DISTNAME= asbutton-0.3
|
1999-05-10 16:44:07 +00:00
|
|
|
CATEGORIES= misc windowmaker afterstep
|
1999-08-01 01:59:42 +00:00
|
|
|
MASTER_SITES= http://www.tigr.net/afterstep/as-apps/download/asbutton/ \
|
|
|
|
ftp://ftp.afterstep.org/apps/asbutton/
|
1999-05-10 16:44:07 +00:00
|
|
|
|
1999-08-01 01:59:42 +00:00
|
|
|
MAINTAINER= jim@blues.ghis.net
|
1999-05-10 16:44:07 +00:00
|
|
|
|
|
|
|
LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm
|
|
|
|
|
|
|
|
USE_X_PREFIX= yes
|
|
|
|
|
|
|
|
do-build:
|
|
|
|
(cd ${WRKSRC} && make)
|
|
|
|
|
|
|
|
do-install:
|
1999-08-01 01:59:42 +00:00
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/asbutton ${PREFIX}/bin
|
|
|
|
@${ECHO} "===> Installing icons in ${PREFIX}/share/asbutton"
|
1999-05-10 16:44:07 +00:00
|
|
|
@${MKDIR} ${PREFIX}/share/asbutton && chmod a+rx ${PREFIX}/share/asbutton
|
1999-08-01 01:59:42 +00:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/icons/*.xpm ${PREFIX}/share/asbutton
|
1999-05-10 16:44:07 +00:00
|
|
|
|
|
|
|
post-install:
|
1999-08-01 01:59:42 +00:00
|
|
|
@${ECHO} "===> Installing sample asbuttonrc in ${PREFIX}/share/examples/asbutton"
|
|
|
|
@${ECHO} "===> Copy to ~/.asbuttonrc and modify to desired config."
|
1999-05-10 16:44:07 +00:00
|
|
|
@${MKDIR} ${PREFIX}/share/examples/asbutton && chmod a+rx ${PREFIX}/share/examples/asbutton
|
1999-08-01 01:59:42 +00:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/.asbuttonrc ${PREFIX}/share/examples/asbutton/asbuttonrc && chmod u+rw ${PREFIX}/share/examples/asbutton/asbuttonrc
|
|
|
|
@${ECHO} "===> Use 'asbutton -h' for help."
|
1999-05-10 16:44:07 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|