File:  [cvs.NetBSD.org] / pkgsrc / cad / qcad-partlibrary / Makefile
Revision 1.3: download - view: text, annotated - select for diffs
Mon Mar 3 01:50:27 2008 UTC (17 years ago) by jlam
Branches: MAIN
CVS tags: pkgsrc-2008Q1-base, pkgsrc-2008Q1, HEAD
Mechanical changes to add full DESTDIR support to packages that install
their files via a custom do-install target.

# $NetBSD: Makefile,v 1.3 2008/03/03 01:50:27 jlam Exp $
#

DISTNAME=		partlibrary-2.0.1.2-1
PKGNAME=		qcad-partlibrary-2.0.1.2
PKGREVISION=		1
CATEGORIES=		cad
MASTER_SITES=		http://www.ribbonsoft.com/archives/partlibrary/
EXTRACT_SUFX=		.zip

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		http://www.ribbonsoft.com/qcad/
COMMENT=	About 4500 mech, elec, etc. parts for the QCad 2D CAD system

PKG_DESTDIR_SUPPORT=	user-destdir

NO_CONFIGURE=	yes
NO_BUILD=	yes

DEPENDS+=	qcad>=2.0.0.0:../../cad/qcad

post-extract:
	chmod -R go-w ${WRKSRC}
	cd ${WRKSRC}/electrical/denzuq && chmod -x */*/*.dxf

do-install:
	${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/qcad/library
	cd ${WRKSRC} && pax -rwpm . ${DESTDIR}${PREFIX}/share/qcad/library

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

CVSweb <webmaster@jp.NetBSD.org>