1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00
freebsd-ports/x11-wm/spager/Makefile
Steve Price 89b7d2a446 - Use GTK_CONFIG/GLIB_CONFIG instead of hardcoded gtk12-config/glib12-config
- Support CC/CFLAGS/PREIFX/LOCALBASE/X11BASE/MAKE/etc. properly

PR:		19623
Submitted by:	KATO Tsuguru <tkato@prontomail.ne.jp>
2000-07-07 19:59:26 +00:00

39 lines
974 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.08
CATEGORIES= x11-wm
MASTER_SITES= http://www.stanford.edu/~satyakid/
MAINTAINER= nakai@FreeBSD.org
RUN_DEPENDS= sawfish:${PORTSDIR}/x11-wm/sawfish
LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
USE_X_PREFIX= yes
MAKE_ENV= GTK_CONFIG="${GTK_CONFIG}"
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
${INSTALL_SCRIPT} ${WRKSRC}/x-message.jl ${PREFIX}/share/spager
${INSTALL_DATA} ${WRKSRC}/sample.rc ${PREFIX}/share/spager
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>