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

File: [cvs.NetBSD.org] / pkgsrc / math / tochnog / Makefile (download)

Revision 1.24, Tue Sep 11 23:04:35 2012 UTC (7 years, 4 months ago) by asau
Branch: MAIN
CVS Tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4, pkgsrc-2012Q3-base, pkgsrc-2012Q3
Changes since 1.23: +1 -3 lines

"user-destdir" is default these days

# $NetBSD: Makefile,v 1.24 2012/09/11 23:04:35 asau Exp $

DISTNAME=	tochnog-20010429
CATEGORIES=	math
MASTER_SITES=	http://sourceforge.net/projects/tochnog/files/tochnog/
DISTFILES=	tn.tar.gz tnu.ps.gz tnp.ps.gz

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://tochnog.sourceforge.net/
COMMENT=	Finite Element Analysis Program

WRKSRC=		${WRKDIR}/tochnog/src
DIST_SUBDIR=	${DISTNAME}
EXTRACT_ONLY=	tn.tar.gz
MAKE_FILE=	makefile
BUILD_TARGET=	netbsd

MAKE_ENV+=	MACHINE_ARCH=${MACHINE_ARCH:Q}

USE_LANGUAGES=	c c++

INSTALLATION_DIRS=	bin share/doc/tochnog share/tochnog/tools \
			share/tochnog/test

post-patch:
	@${RM} -f ${WRKDIR}/tochnog/test/*.orig ${WRKDIR}/tochnog/tools/*.bat

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/tochnog ${DESTDIR}${PREFIX}/bin
	${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/tnu.ps.gz \
		${DESTDIR}${PREFIX}/share/doc/tochnog
	${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/tnp.ps.gz \
		${DESTDIR}${PREFIX}/share/doc/tochnog
	${INSTALL_DATA} ${WRKDIR}/tochnog/test/* \
		${DESTDIR}${PREFIX}/share/tochnog/test/
	${INSTALL_DATA} ${WRKDIR}/tochnog/tools/* \
		${DESTDIR}${PREFIX}/share/tochnog/tools/

.include "../../mk/bsd.pkg.mk"