freebsd-ports/x11-wm/spager/Makefile
2001-04-01 11:49:24 +00:00

40 lines
991 B
Makefile

# New ports collection makefile for: sawfish pager
# Date created: 05 June 2000
# Whom: Yukihiro Nakai <nakai@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= spager
PORTVERSION= 0.14
PORTREVISION= 1
CATEGORIES= x11-wm
MASTER_SITES= http://www.stanford.edu/~satyakid/
MAINTAINER= nakai@FreeBSD.org
RUN_DEPENDS= sawfish:${PORTSDIR}/x11-wm/sawfish
USE_X_PREFIX= yes
USE_GTK= yes
ALL_TARGET= spager
post-extract:
${RM} -f ${WRKSRC}/spager
post-patch:
${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/sample.rc
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/spager ${PREFIX}/bin/
${MKDIR} ${PREFIX}/share/spager
${INSTALL_SCRIPT} ${WRKSRC}/spager.jl ${PREFIX}/share/spager
${MKDIR} ${PREFIX}/share/spager/merlin
${INSTALL_SCRIPT} ${WRKSRC}/merlin/message.jl ${PREFIX}/share/spager/merlin
${INSTALL_SCRIPT} ${WRKSRC}/merlin/util.jl ${PREFIX}/share/spager/merlin
${INSTALL_DATA} ${WRKSRC}/sample.rc ${PREFIX}/share/spager
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>