2001-05-30 05:11:45 +02:00
|
|
|
# New ports collection makefile for: wmcube
|
|
|
|
# Date created: Mon May 28 02:14:47 EDT 2001
|
|
|
|
# Whom: Patrick Li <pat@databits.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= wmcube
|
|
|
|
PORTVERSION= 0.98
|
2008-04-11 13:44:14 +02:00
|
|
|
PORTREVISION= 3
|
2001-05-30 05:11:45 +02:00
|
|
|
CATEGORIES= sysutils windowmaker
|
2006-06-03 16:50:43 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_TUCOWS} \
|
|
|
|
http://dockapps.org/download.php/id/222/ \
|
|
|
|
http://freebsd.unixfreunde.de/sources/
|
|
|
|
MASTER_SITE_SUBDIR= x11/dock
|
2001-05-30 05:11:45 +02:00
|
|
|
|
2008-04-11 13:44:14 +02:00
|
|
|
MAINTAINER= garga@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Window Maker dockapp that displays cpu load and a realtime 3d object
|
2001-05-30 05:11:45 +02:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}/${PORTNAME}
|
2008-03-25 23:44:48 +01:00
|
|
|
USE_XORG= xpm
|
2001-08-19 01:22:13 +02:00
|
|
|
MAKEFILE= Makefile.FREEBSD
|
2008-04-11 13:44:14 +02:00
|
|
|
PORTDOCS= CHANGES README TODO
|
|
|
|
SUB_FILES= pkg-message
|
2011-07-27 00:12:14 +02:00
|
|
|
USE_CSTD= gnu89
|
2009-03-28 18:53:24 +01:00
|
|
|
MAKE_JOBS_UNSAFE= yes
|
2001-05-30 05:11:45 +02:00
|
|
|
|
2001-08-19 01:22:13 +02:00
|
|
|
do-install:
|
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/wmcube ${PREFIX}/bin
|
|
|
|
@${CHMOD} g+s ${PREFIX}/bin/wmcube
|
|
|
|
@${CHOWN} root:kmem ${PREFIX}/bin/wmcube
|
2001-05-30 05:11:45 +02:00
|
|
|
|
|
|
|
post-install:
|
2001-06-02 06:12:13 +02:00
|
|
|
.for file in *.wmc
|
|
|
|
@${ECHO} "===> Installing extra 3d objects in ${PREFIX}/share/${PORTNAME}"
|
2008-04-11 13:44:14 +02:00
|
|
|
@${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m 555 ${DATADIR}
|
|
|
|
@${INSTALL_DATA} ${WRKDIR}/${PORTNAME}/3dObjects/${file} ${DATADIR}
|
2001-06-02 06:12:13 +02:00
|
|
|
.endfor
|
2001-05-30 05:11:45 +02:00
|
|
|
.ifndef(NOPORTDOCS)
|
2001-06-02 06:12:13 +02:00
|
|
|
@${ECHO} "===> Installing README in ${PREFIX}/share/doc/${PORTNAME}"
|
|
|
|
@${ECHO} "===> Please Read pkg-descr and README for usage information"
|
2008-04-11 13:44:14 +02:00
|
|
|
@${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m 555 ${DOCSDIR}
|
|
|
|
. for f in ${PORTDOCS}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/../${f} ${DOCSDIR}
|
|
|
|
. endfor
|
|
|
|
.endif
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
2001-05-30 05:11:45 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|