aboutsummaryrefslogtreecommitdiff
path: root/x11-wm/wmthemeinstall/Makefile
blob: 77d4ae331362f5c4e76052c0a9341c52fc9f2e6c (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
41
# 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=	4
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_GMAKE=	yes
USE_GNOME=	gtk12
GNU_CONFIGURE=	yes

PORTDOCS=	AUTHORS ChangeLog README
PLIST_FILES=	bin/wmthemeinstall

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}
. for f in ${PORTDOCS}
	@${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
. endfor
	@${ECHO}
	@${ECHO} "Documentation was installed in ${DOCSDIR}."
	@${ECHO}
.endif

.include <bsd.port.mk>