blob: fd51ceb2762732bc128922b8064fbea35b9090c7 (
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
44
45
46
47
48
49
|
# Created by: Patrick Li <pat@databits.net>
# $FreeBSD$
PORTNAME= wmcube
PORTVERSION= 0.98
PORTREVISION= 3
CATEGORIES= sysutils windowmaker
MASTER_SITES= ${MASTER_SITE_TUCOWS} \
http://dockapps.org/download.php/id/222/ \
http://freebsd.unixfreunde.de/sources/
MASTER_SITE_SUBDIR= x11/dock
MAINTAINER= garga@FreeBSD.org
COMMENT= Window Maker dockapp that displays cpu load and a realtime 3D object
OPTIONS_DEFINE= DOCS
WRKSRC= ${WRKDIR}/${PORTNAME}/${PORTNAME}
USE_XORG= xpm
MAKEFILE= Makefile.FREEBSD
PORTDOCS= CHANGES README TODO
SUB_FILES= pkg-message
USE_CSTD= gnu89
MAKE_JOBS_UNSAFE= yes
.include <bsd.port.pre.mk>
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/wmcube ${PREFIX}/bin
@${CHMOD} g+s ${PREFIX}/bin/wmcube
@${CHOWN} root:kmem ${PREFIX}/bin/wmcube
post-install:
.for file in *.wmc
@${ECHO} "===> Installing extra 3d objects in ${PREFIX}/share/${PORTNAME}"
@${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m 555 ${DATADIR}
@${INSTALL_DATA} ${WRKDIR}/${PORTNAME}/3dObjects/${file} ${DATADIR}
.endfor
.if ${PORT_OPTIONS:MDOCS}
@${ECHO} "===> Installing README in ${PREFIX}/share/doc/${PORTNAME}"
@${ECHO} "===> Please Read pkg-descr and README for usage information"
@${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m 555 ${DOCSDIR}
. for f in ${PORTDOCS}
@${INSTALL_DATA} ${WRKSRC}/../${f} ${DOCSDIR}
. endfor
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>
|