summaryrefslogtreecommitdiff
path: root/sysutils/wmcube-gdk/Makefile
blob: 09b7c2f76b35596f6fe5bae00bb9d204a350e781 (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
42
43
# New ports collection makefile for:	wmcube-gdk
# Date created:				Thu Aug 16 12:42:18 EDT 2001
# Whom:					Patrick Li <pat@databits.net>
#
# $FreeBSD$
#

PORTNAME=	wmcube
PORTVERSION=	0.98p1
CATEGORIES=	sysutils windowmaker
MASTER_SITES=	http://www.ne.jp/asahi/linux/timecop/software/
PKGNAMESUFFIX=	-gdk
DISTNAME=	${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION}

MAINTAINER=	pat@databits.net

USE_X_PREFIX=	yes
USE_XPM=	yes
USE_GTK=	yes
MAKEFILE=	Makefile.FREEBSD

do-install:
	@${INSTALL_PROGRAM} ${WRKSRC}/wmcube \
		${PREFIX}/bin/wmcube-gdk
	@${CHMOD} g+s ${PREFIX}/bin/wmcube-gdk
	@${CHOWN} root:kmem ${PREFIX}/bin/wmcube-gdk

post-install:
.for files in *.wmc
	@${MKDIR} ${DATADIR}${PKGNAMESUFFIX}
	@${INSTALL_DATA} ${WRKSRC}/3dObjects/${files} \
		${DATADIR}${PKGNAMESUFFIX}
.endfor
.ifndef(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}${PKGNAMESUFFIX}
.for file in CHANGES README README.GDK TODO
	@${INSTALL_DATA} ${WRKSRC}/${file} \
		${DOCSDIR}${PKGNAMESUFFIX}
.endfor
.endif #NOPORTDOCS
	@${SED} -e "s|%%PREFIX%%|${PREFIX}|" ${PKGMESSAGE}

.include <bsd.port.mk>