aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/wmthemeinstall/Makefile
blob: 23e579b3e148d3af839a225494d8aca2351bad5a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# New ports collection makefile for:    WindowMaker Theme Installer
# Date created:     09 Oct 1999
# Whom:         Will Andrews <andrews@technologist.com>
#
# $FreeBSD$
#

PORTNAME=   wmthemeinstall
PORTVERSION=    0.62
PORTREVISION=   1
CATEGORIES= x11-wm
MASTER_SITES=   http://www.jeremias.net/wmthemeinstall/download/

MAINTAINER= adam-ports@blacktabby.org
COMMENT=    A neat theme manager for WindowMaker

RUN_DEPENDS=    wmaker:${PORTSDIR}/x11-wm/windowmaker

USE_X_PREFIX=   yes
USE_GMAKE=  yes
USE_GNOME=  gtk12
GNU_CONFIGURE=  yes
USE_REINPLACE=  yes

pre-build:
    @${REINPLACE_CMD} -e "s|/usr/local|${PREFIX}|g" ${WRKSRC}/wmOptions.c

do-install:
    @${INSTALL_PROGRAM} ${WRKSRC}/wmthemeinstall ${PREFIX}/bin
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    @${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCSDIR}
    @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
    @${INSTALL_DATA} ${WRKSRC}/AUTHORS ${DOCSDIR}
    @${ECHO}
    @${ECHO} "Documentation was installed in ${DOCSDIR}."
    @${ECHO}
.endif

.include <bsd.port.mk>