1998-12-11 15:22:46 +00:00
|
|
|
# New ports collection makefile for: wmmon
|
|
|
|
# Version required: 1.0b2
|
|
|
|
# Date created: 27 November 1998
|
|
|
|
# Whom: Kris Kennaway <kkennawa@physics.adelaide.edu.au>
|
|
|
|
#
|
1999-02-23 11:21:09 +00:00
|
|
|
# $Id: Makefile,v 1.5 1999/01/26 19:53:01 fenner Exp $
|
1998-12-11 15:22:46 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= wmmon-1.0b2
|
1999-01-18 06:43:04 +00:00
|
|
|
CATEGORIES= sysutils windowmaker
|
1999-01-26 19:53:03 +00:00
|
|
|
MASTER_SITES= ftp://ftp.mezaway.org/pub/DockApps/ \
|
1999-01-04 03:40:06 +00:00
|
|
|
http://www.physics.adelaide.edu.au/~kkennawa/ \
|
|
|
|
ftp://ftp.tecnogi.com/pub/linux/WindowMaker/ \
|
|
|
|
ftp://ftp.deva.net/pub/sources/X11/WindowMaker/dockapps/ \
|
|
|
|
ftp://ftp.paco.odessa.ua/.2/x11/wm/WindowMaker/apps/
|
|
|
|
DISTFILES= wmmon-1.0b2.tar.gz wmmon-1.0b2-freebsd.tar.gz
|
1998-12-11 15:22:46 +00:00
|
|
|
|
|
|
|
MAINTAINER= kkennawa@physics.adelaide.edu.au
|
|
|
|
|
|
|
|
LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm
|
|
|
|
|
|
|
|
USE_X_PREFIX= yes
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/wmmon.app/wmmon
|
|
|
|
|
1999-01-04 03:40:06 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
1998-12-11 15:22:46 +00:00
|
|
|
pre-patch:
|
1999-01-04 03:40:06 +00:00
|
|
|
@cd ${WRKDIR}/wmmon.app && ${PATCH} -p < ${WRKDIR}/wmmon-freebsd.patch
|
1998-12-11 15:22:46 +00:00
|
|
|
|
1999-01-04 03:40:06 +00:00
|
|
|
post-patch:
|
|
|
|
.if ${OSVERSION} >= 300000
|
|
|
|
@${CP} ${WRKDIR}/wmmon/Makefile.FreeBSD-3.0 ${WRKSRC}/Makefile
|
|
|
|
.else
|
|
|
|
@${CP} ${WRKDIR}/wmmon/Makefile.FreeBSD-2.2 ${WRKSRC}/Makefile
|
|
|
|
.endif
|
1998-12-11 15:22:46 +00:00
|
|
|
|
1999-02-23 11:21:09 +00:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/wmmon ${PREFIX}/bin/wmmon
|
1998-12-11 15:22:46 +00:00
|
|
|
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${PREFIX}/share/doc/wmmon
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/../HINTS ${PREFIX}/share/doc/wmmon
|
|
|
|
.endif
|
|
|
|
|
1999-01-04 03:40:06 +00:00
|
|
|
.include <bsd.port.post.mk>
|