1999-10-10 23:59:11 +00:00
|
|
|
# New ports collection makefile for: WindowMaker Theme Installer
|
|
|
|
# Date created: 09 Oct 1999
|
|
|
|
# Whom: Will Andrews <andrews@technologist.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-10 19:50:46 +00:00
|
|
|
PORTNAME= wmthemeinstall
|
|
|
|
PORTVERSION= 0.62
|
1999-10-10 23:59:11 +00:00
|
|
|
CATEGORIES= x11-wm
|
1999-12-29 21:17:14 +00:00
|
|
|
MASTER_SITES= http://www.lovett.com/FreeBSD/ \
|
|
|
|
ftp://ftp.cronyx.ru/.w3/distfiles/
|
1999-10-10 23:59:11 +00:00
|
|
|
|
|
|
|
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:
|
1999-12-29 21:17:14 +00:00
|
|
|
@${PERL} -pi -e "s:/usr/local:${PREFIX}:g" ${WRKSRC}/wmOptions.c
|
1999-10-10 23:59:11 +00:00
|
|
|
|
|
|
|
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>
|