freebsd-ports/x11-wm/wmthemeinstall/Makefile
Steve Price 0c1812d7db Fix MASTER_SITES and use Perl to simulate sed(1).
PR:		15771
Submitted by:	maintainer
1999-12-29 21:17:14 +00:00

40 lines
1 KiB
Makefile

# New ports collection makefile for: WindowMaker Theme Installer
# Version required: 0.62
# Date created: 09 Oct 1999
# Whom: Will Andrews <andrews@technologist.com>
#
# $FreeBSD$
#
DISTNAME= wmthemeinstall-0.62
CATEGORIES= x11-wm
MASTER_SITES= http://www.lovett.com/FreeBSD/ \
ftp://ftp.cronyx.ru/.w3/distfiles/
MAINTAINER= andrews@technologist.com
RUN_DEPENDS= wmaker:${PORTSDIR}/x11-wm/windowmaker
LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
USE_X_PREFIX= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= GTK_CONFIG="${X11BASE}/bin/gtk12-config"
DOCS_DIR= ${PREFIX}/share/wmthemeinstall
pre-build:
@${PERL} -pi -e "s:/usr/local:${PREFIX}:g" ${WRKSRC}/wmOptions.c
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/wmthemeinstall ${PREFIX}/bin
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCS_DIR}
@${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCS_DIR}
@${INSTALL_DATA} ${WRKSRC}/README ${DOCS_DIR}
@${INSTALL_DATA} ${WRKSRC}/AUTHORS ${DOCS_DIR}
@${ECHO}
@${ECHO} "Documentation was installed in ${DOCS_DIR}."
@${ECHO}
.endif
.include <bsd.port.mk>