ports/63715: Maintainer update: astro/seti-applet (2.1.3) revival
Cyrille Lefevre
cyrille.lefevre at laposte.net
Wed Mar 10 00:30:20 UTC 2004
The following reply was made to PR ports/63715; it has been noted by GNATS.
From: Cyrille Lefevre <cyrille.lefevre at laposte.net>
To: freebsd-gnats-submit at FreeBSD.org
Cc:
Subject: Re: ports/63715: Maintainer update: astro/seti-applet (2.1.3) revival
Date: Wed, 10 Mar 2004 01:27:14 +0100
Makefile : *_SUB added
--- /dev/null Wed Mar 10 01:25:34 2004
+++ Makefile Wed Mar 10 01:24:36 2004
@@ -0,0 +1,65 @@
+# New ports collection makefile for: seti-applet
+# Date Created: 1 Jul 2000
+# Whom: HIYAMA Takeshi <th at cis.ibaraki.ac.jp>
+#
+# $FreeBSD$
+#
+
+PORTNAME= seti-applet
+PORTVERSION= 2.1.3
+CATEGORIES= astro gnome
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= ports at FreeBSD.org
+COMMENT= An applet that displays current status of seti at home client
+
+# Global variables
+#
+
+LIB_DEPENDS= gtop-2.0:${PORTSDIR}/devel/libgtop2
+RUN_DEPENDS= ${LOCALBASE}/sbin/setiathome:${PORTSDIR}/astro/setiathome
+
+USE_REINPLACE= yes
+USE_X_PREFIX= yes
+USE_GMAKE= yes
+USE_GNOME= gnomeprefix gnomehack gnomepanel
+USE_LIBTOOL= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+# Local variables
+#
+
+MSG_FILE= ${PKGDIR}/pkg-message
+PKGMESSAGE= ${WRKDIR}/pkg-message
+
+REINPLACE_SUB= LOCALBASE=${LOCALBASE}
+PKGMESSAGE_SUB= LOCALBASE=${LOCALBASE}
+
+FIND?= find
+XARGS?= xargs
+
+# Post-patch
+#
+
+post-patch: patch-seti_applet \
+ patch-pkgmessage
+
+patch-seti_applet:
+ @${REINPLACE_CMD} ${REINPLACE_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
+ ${WRKSRC}/src/seti_applet.schemas
+
+patch-pkgmessage:
+ @${SED} ${REINPLACE_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
+ ${MSG_FILE} > ${PKGMESSAGE}
+
+# Post-install
+#
+
+post-install: display-message
+
+display-message:
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
Cyrille Lefevre
--
mailto:cyrille.lefevre at laposte.net
More information about the freebsd-ports-bugs
mailing list