summaryrefslogblamecommitdiffstats
path: root/astro/glunarclock/Makefile
blob: f7d8657170bcc1e14fb70d2676ae627e328fb074 (plain) (tree)




































                                                                             
# New ports collection makefile for:    glunarclock
# Date created:     9 December 2003
# Whom:         Vincent Tantardini <vinc@freebsd-fr.org>
#
# $FreeBSD$
#   $MCom$
#

PORTNAME=   glunarclock
PORTVERSION=    0.32.4
PORTREVISION=   7
CATEGORIES= astro gnome
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= ports@FreeBSD.org
COMMENT=    GNOME applet that displays the current phase of the Moon

LIB_DEPENDS=    xklavier.12:${PORTSDIR}/x11/libxklavier

USE_GNOME=  gnomehack gnomepanel gnomeprefix intlhack
USE_GMAKE=  yes
USE_GETTEXT=    yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"
INSTALLS_OMF=   yes

PLIST_SUB=  VERSION="${PORTVERSION:R}"

GCONF_SCHEMAS=  glunarclock.schemas

post-patch:
    @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
        's|-DGNOME_DISABLE_DEPRECATED||g'

.include <bsd.port.mk>