aboutsummaryrefslogtreecommitdiffstats
path: root/x11-clocks/wmtimer/Makefile
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2001-05-02 01:16:31 +0800
committerlioux <lioux@FreeBSD.org>2001-05-02 01:16:31 +0800
commit17f0a839a1795abaf2fedf24d4215d651e711e09 (patch)
tree95b35f216083e77181b8d092d57ede1ab18fbee3 /x11-clocks/wmtimer/Makefile
parenta652294014a1df20d5e36588107206ad3d751c38 (diff)
downloadfreebsd-ports-gnome-17f0a839a1795abaf2fedf24d4215d651e711e09.tar.gz
freebsd-ports-gnome-17f0a839a1795abaf2fedf24d4215d651e711e09.tar.zst
freebsd-ports-gnome-17f0a839a1795abaf2fedf24d4215d651e711e09.zip
New port: Multi-Function timer dockapp for WindowMaker
Submitted by: Patrick Li <pat@databits.net> et al
Diffstat (limited to 'x11-clocks/wmtimer/Makefile')
-rw-r--r--x11-clocks/wmtimer/Makefile47
1 files changed, 47 insertions, 0 deletions
diff --git a/x11-clocks/wmtimer/Makefile b/x11-clocks/wmtimer/Makefile
new file mode 100644
index 000000000000..01de467e7273
--- /dev/null
+++ b/x11-clocks/wmtimer/Makefile
@@ -0,0 +1,47 @@
+# New ports collection makefile for: wmtimer
+# Date created: Thu Apr 26 16:46:38 EDT 2001
+# Whom: Patrick Li <pat@databits.net> et al
+#
+# $FreeBSD$
+#
+
+PORTNAME= wmtimer
+PORTVERSION= 2.2
+CATEGORIES= x11-clocks windowmaker
+MASTER_SITES= http://home.dwave.net/~jking/wmtimer/
+
+MAINTAINER= pat@databits.net
+
+WRKSRC= ${WRKDIR}/${DISTNAME}/wmtimer
+USE_GMAKE= yes
+USE_X_PREFIX= yes
+USE_XPM= yes
+USE_GTK= yes
+
+.if !defined(BATCH)
+HAS_CONFIGURE= yes
+IS_INTERACTIVE= yes
+.endif # !BATCH
+
+pre-patch:
+ @${PERL} -pi -n \
+ -e "s!CFLAGS =! CFLAGS \+=!;" \
+ -e "s!-I/usr/lib/glib/include!`${GTK_CONFIG} --cflags` `${GLIB_CONFIG} --cflags`!;" \
+ -e "s!-lgtk -lgdk -rdynamic -lgmodule -lglib -ldl!`${GTK_CONFIG} --libs` `${GLIB_CONFIG} --libs`!;" \
+ -e "s!/usr/X11R6/lib!${X11BASE}/lib!;" \
+ -e "s!/usr/X11R6/include!${X11BASE}/include!;" \
+ -e "s!/usr/lib!${LOCALBASE}/lib!;" \
+ ${WRKSRC}/Makefile
+.if defined(IS_INTERACTIVE)
+ @${PERL} -pi -ne "s!/bin/bash!${SH}!" ${WRKSRC}/configure
+.endif # IS_INTERACTIVE
+
+do-install:
+ @${INSTALL_PROGRAM} ${WRKSRC}/wmtimer ${PREFIX}/bin
+.ifndef(NOPORTDOCS)
+ @${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m ${SHAREMODE} \
+ ${PREFIX}/share/doc/wmtimer
+ @${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/wmtimer
+.endif # !NOPORTDOCS
+
+.include <bsd.port.mk>