summaryrefslogtreecommitdiff
path: root/x11/wmmenu/Makefile
blob: 0277343a4082429654ff17cff895d99cb3f0f5e7 (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:	wmmenu
# Date created:		16 November 2000
# Whom:			Jeremy <karlj000@unbc.ca>
#
# $FreeBSD$
#

PORTNAME=	wmmenu
PORTVERSION=	0.8
CATEGORIES=	x11 gnome
MASTER_SITES=	http://www.fcoutant.freesurf.fr/download/

MAINTAINER=	karlj000@unbc.ca

LIB_DEPENDS=	dockapp.1:${PORTSDIR}/x11-wm/libdockapp:install

WRKSRC=		${WRKDIR}/${PORTNAME}
USE_X_PREFIX=	yes
USE_GMAKE=	yes
USE_GNOMECTRL=	yes

post-patch:
	@ ${MV} ${WRKSRC}/example/defaults ${WRKSRC}/example/defaults.presed
	@ ${SED} -e 's#%%PREFIX%%#${PREFIX}#' ${WRKSRC}/example/defaults.presed \
	> ${WRKSRC}/example/defaults

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/wmmenu ${PREFIX}/bin
.ifndef(NOPORTDOCS)
	${MKDIR} ${PREFIX}/share/doc/wmmenu
	${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/wmmenu
	${MKDIR} ${PREFIX}/share/doc/wmmenu/example
	${INSTALL_DATA} ${WRKSRC}/example/apps ${PREFIX}/share/doc/wmmenu/example
	${INSTALL_DATA} ${WRKSRC}/example/defaults ${PREFIX}/share/doc/wmmenu/example
.endif

post-install:
	@${SED} -e 's#%%PREFIX%%#${PREFIX}#g' ${PKGMESSAGE}

.include <bsd.port.mk>