[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / misc / xtide

File: [cvs.NetBSD.org] / pkgsrc / misc / xtide / Attic / Makefile (download)

Revision 1.22, Mon Nov 10 17:21:37 2008 UTC (14 years, 2 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2008Q4-base
Branch point for: pkgsrc-2008Q4
Changes since 1.21: +2 -1 lines

Bump PKGREVISION for libXaw API depends bump due to libXaw8 removal.

# $NetBSD: Makefile,v 1.22 2008/11/10 17:21:37 wiz Exp $

DISTNAME=	xtide-2.8.3
PKGREVISION=	1
CATEGORIES=	misc x11
MASTER_SITES=	ftp://ftp.flaterco.com/xtide/
DISTFILES=	${DISTNAME}.tar.bz2 ${HARMONICS_FILE}.bz2

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.flaterco.com/
COMMENT=	X11 tide predictor

GNU_CONFIGURE=	yes
USE_LANGUAGES=	c c++

HARMONICS_FILE=	harmonics-dwf-20060708.tcd

CONFIGURE_ARGS+=--sysconfdir=${PKG_SYSCONFDIR:Q}
EGDIR=		${PREFIX}/share/examples/xtide
CONF_FILES=	${EGDIR}/xtide.conf ${PKG_SYSCONFDIR}/xtide.conf

SUBST_CLASSES+=	xt
SUBST_STAGE.xt=	pre-configure
SUBST_FILES.xt=	DOCUMENTATION/*
SUBST_SED.xt=	-e 's|/usr/local|${PREFIX}|g'

PLIST_SUBST+=	HARMONICS_FILE=${HARMONICS_FILE:Q}

INSTALLATION_DIRS=	share/xtide ${EGDIR}

post-extract:
	${ECHO} "${PREFIX}/share/xtide/${HARMONICS_FILE}" > ${WRKDIR}/xtide.conf

post-install:
	${INSTALL_DATA} ${WRKDIR}/xtide.conf ${EGDIR}/xtide.conf
	${INSTALL_DATA} ${WRKDIR}/${HARMONICS_FILE} ${PREFIX}/share/xtide

.include "../../graphics/png/buildlink3.mk"
.include "../../x11/libXaw/buildlink3.mk"
.include "../../x11/libXi/buildlink3.mk"
.include "../../x11/libXpm/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"