diff options
author | lioux <lioux@FreeBSD.org> | 2001-05-02 01:16:31 +0800 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2001-05-02 01:16:31 +0800 |
commit | 17f0a839a1795abaf2fedf24d4215d651e711e09 (patch) | |
tree | 95b35f216083e77181b8d092d57ede1ab18fbee3 /x11-clocks/wmtimer/Makefile | |
parent | a652294014a1df20d5e36588107206ad3d751c38 (diff) | |
download | freebsd-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/Makefile | 47 |
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> |