2001-05-10 05:37:17 +02:00
|
|
|
# New ports collection makefile for: wmmemmon
|
|
|
|
# Date created: Wed May 9 17:55:21 EDT 2001
|
|
|
|
# Whom: Patrick Li <pat@databits.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= wmmemmon
|
2004-05-17 01:33:20 +02:00
|
|
|
PORTVERSION= 1.0.1
|
2008-03-25 23:44:48 +01:00
|
|
|
PORTREVISION= 2
|
2001-05-10 05:37:17 +02:00
|
|
|
CATEGORIES= sysutils windowmaker
|
2006-04-28 23:44:59 +02:00
|
|
|
MASTER_SITES= http://seiichisato.jp/dockapps/src/
|
2001-05-10 05:37:17 +02:00
|
|
|
|
2006-04-24 04:38:37 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Mem/Swap monitoring dockapp for WindowMaker
|
2001-05-10 05:37:17 +02:00
|
|
|
|
2004-05-17 01:33:20 +02:00
|
|
|
#USE_BZIP2= yes # ATM the .bz2 distfile is broken.
|
2008-03-25 23:44:48 +01:00
|
|
|
USE_XORG= xpm
|
2006-04-28 23:44:59 +02:00
|
|
|
USE_GNOME= gnometarget
|
2002-01-04 00:00:46 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2001-05-10 05:37:17 +02:00
|
|
|
|
2002-03-24 00:14:54 +01:00
|
|
|
MAN1= wmmemmon.1
|
2006-04-28 23:44:59 +02:00
|
|
|
PORTDOCS= ChangeLog README
|
|
|
|
PLIST_FILES= bin/wmmemmon
|
|
|
|
|
2008-06-23 23:34:16 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} > 700000
|
|
|
|
EXTRA_PATCHES= ${PATCHDIR}/extra-kvm2sysctl.diff
|
|
|
|
.endif
|
|
|
|
|
2006-04-28 23:44:59 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e '/^DEFS/s|-I\.\.$$|-I.. -I../libdockapp/|g ; \
|
|
|
|
/^CFLAGS/s|-I../libdockapp/||g' ${WRKSRC}/src/Makefile.in
|
2002-03-24 00:14:54 +01:00
|
|
|
|
2002-01-04 00:00:46 +01:00
|
|
|
post-install:
|
2006-04-28 23:44:59 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
2002-01-04 00:00:46 +01:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
2006-04-28 23:44:59 +02:00
|
|
|
.for file in ${PORTDOCS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
|
|
|
.endfor
|
2001-05-10 05:37:17 +02:00
|
|
|
.endif # !NOPORTDOCS
|
|
|
|
|
2008-06-23 23:34:16 +02:00
|
|
|
.include <bsd.port.post.mk>
|