1999-04-11 12:53:10 +00:00
|
|
|
# New ports collection makefile for: wmbutton
|
|
|
|
# Version required: 0.4
|
|
|
|
# Date created: 10 Apr 1999
|
1999-08-14 09:11:55 +00:00
|
|
|
# Whom: Jim Mock <jim@FreeBSD.org>
|
1999-04-11 12:53:10 +00:00
|
|
|
#
|
1999-08-31 02:51:23 +00:00
|
|
|
# $FreeBSD$
|
1999-04-11 12:53:10 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= wmbutton-0.4
|
|
|
|
CATEGORIES= x11 windowmaker
|
2000-02-17 02:39:54 +00:00
|
|
|
MASTER_SITES= http://www.cs.mun.ca/~gstarkes/wmaker/dockapps/files/ \
|
|
|
|
http://people.FreeBSD.org/~jim/distfiles/
|
1999-04-11 12:53:10 +00:00
|
|
|
|
1999-08-14 09:11:55 +00:00
|
|
|
MAINTAINER= jim@FreeBSD.org
|
1999-04-11 12:53:10 +00:00
|
|
|
|
|
|
|
LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm
|
|
|
|
|
|
|
|
USE_X_PREFIX= yes
|
|
|
|
|
|
|
|
do-build:
|
2000-02-17 02:39:54 +00:00
|
|
|
@(cd ${WRKSRC} && make)
|
1999-04-11 12:53:10 +00:00
|
|
|
|
|
|
|
do-install:
|
2000-02-17 02:39:54 +00:00
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/wmbutton ${PREFIX}/bin
|
1999-04-11 12:53:10 +00:00
|
|
|
|
|
|
|
post-install:
|
1999-08-14 09:11:55 +00:00
|
|
|
@${ECHO} "===> Installing .wmbutton as ${PREFIX}/share/examples/wmbutton/wmbutton"
|
|
|
|
@${ECHO} "===> Modify if you wish and copy to ~/.wmbutton"
|
1999-08-22 19:01:07 +00:00
|
|
|
@${MKDIR} ${PREFIX}/share/examples/wmbutton && ${CHMOD} a+rx ${PREFIX}/share/examples/wmbutton
|
2000-02-17 02:39:54 +00:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/.wmbutton ${PREFIX}/share/examples/wmbutton/wmbutton
|
1999-08-14 09:11:55 +00:00
|
|
|
@${ECHO} "===> Installing README in ${PREFIX}/share/doc/wmbutton"
|
|
|
|
@${ECHO} "===> Please read it for usage instructions"
|
1999-08-22 19:01:07 +00:00
|
|
|
@${MKDIR} ${PREFIX}/share/doc/wmbutton && ${CHMOD} a+rx ${PREFIX}/share/doc/wmbutton
|
1999-08-14 09:11:55 +00:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/wmbutton
|
1999-04-11 12:53:10 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|