aboutsummaryrefslogtreecommitdiff
path: root/x11-fm/workplace/Makefile
blob: 2119362f00d851b03a2c16ac0369eb17c4d203c3 (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
# New ports collection makefile for:	workplace
# Version required:			1.0a3
# Date created:				7 March 1998
# Whom:					Andrey Zakhvatov
#
# $FreeBSD$
#

DISTNAME=	workplace-1.0.a3
PKGNAME=	workplace-1.0a3
CATEGORIES=	x11-fm
MASTER_SITES=	http://www2.osk.3web.ne.jp/~hideki70/src/

MAINTAINER=	andy@icc.surw.chel.su

LIB_DEPENDS=	gtk10.1:${PORTSDIR}/x11-toolkits/gtk10

GNU_CONFIGURE=	yes
USE_X_PREFIX=	yes
CONFIGURE_ENV=	CPPFLAGS="-I${X11BASE}/include/gtk10" \
		LIBS="-L${LOCALBASE}/lib" 

pre-configure:
	@ ${RM} ${WRKSRC}/config.cache

do-install:
	@ ${INSTALL_PROGRAM} ${WRKSRC}/src/workplace ${PREFIX}/bin
	@ ${MKDIR} ${PREFIX}/include/X11/pixmaps
	@ ${INSTALL_DATA} ${WRKSRC}/icons/*.xpm ${PREFIX}/include/X11/pixmaps
	@ ${MKDIR} ${PREFIX}/share/doc/workplace
.for file in AUTHORS INSTALL README TODO
	@ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/workplace
.endfor
	@ ${MKDIR} ${PREFIX}/share/examples/workplace
	@ ${INSTALL_DATA} ${WRKSRC}/example/* ${PREFIX}/share/examples/workplace

.include <bsd.port.mk>