user-destdir support
This commit is contained in:
parent
4f78c1dc92
commit
75a3134906
5 changed files with 43 additions and 9 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.29 2007/01/11 11:38:50 joerg Exp $
|
||||
# $NetBSD: Makefile,v 1.30 2009/07/08 15:26:26 joerg Exp $
|
||||
|
||||
DISTNAME= RasMol_2.7.3
|
||||
PKGNAME= rasmol-2.7.3
|
||||
|
@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
|
|||
HOMEPAGE= http://www.bernstein-plus-sons.com/software/rasmol/
|
||||
COMMENT= Molecular Graphics Visualisation Tool
|
||||
|
||||
PKG_DESTDIR_SUPPORT= user-destdir
|
||||
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}/src
|
||||
USE_IMAKE= YES
|
||||
USE_TOOLS+= gunzip mkdirhier
|
||||
|
@ -38,20 +40,20 @@ pre-configure:
|
|||
rasmol.h.new && ${MV} rasmol.h.new rasmol.h
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/NOTICE ${PREFIX}/share/doc/rasmol
|
||||
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/NOTICE ${DESTDIR}${PREFIX}/share/doc/rasmol
|
||||
for doc in manualA4.pdf.gz manualA4.ps.gz manualA4.rtf.gz \
|
||||
manualUS.pdf.gz manualUS.ps.gz manualUS.rtf.gz \
|
||||
refcardA4.pdf.gz refcardA4.ps.gz \
|
||||
refcardA4.rtf.gz refcardUS.pdf.gz \
|
||||
refcardUS.ps.gz refcardUS.rtf.gz; do \
|
||||
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/doc/$$doc \
|
||||
${PREFIX}/share/doc/rasmol; \
|
||||
${DESTDIR}${PREFIX}/share/doc/rasmol; \
|
||||
done
|
||||
for data in 1crn.pdb 1gpd.pdb.gz 1ldb.pdb.gz 1ldm.pdb.gz \
|
||||
3cro.pdb 4hir.ent.gz 4ins.CIF 7lyz.pdb \
|
||||
IUCR9800028.cif asprin.alc pdb2mcg.ent; do \
|
||||
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/data/$$data \
|
||||
${PREFIX}/share/examples/rasmol; \
|
||||
${DESTDIR}${PREFIX}/share/examples/rasmol; \
|
||||
done
|
||||
|
||||
.include "../../x11/libXext/buildlink3.mk"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.40 2007/03/02 02:44:13 dmcmahill Exp $
|
||||
# $NetBSD: Makefile,v 1.41 2009/07/08 15:26:49 joerg Exp $
|
||||
#
|
||||
|
||||
DISTNAME= dinotrace-9.3c
|
||||
|
@ -10,6 +10,8 @@ MAINTAINER= dmcmahill@NetBSD.org
|
|||
HOMEPAGE= http://www.veripool.com/dinotrace/
|
||||
COMMENT= Tool for viewing the output of digital simulators
|
||||
|
||||
PKG_DESTDIR_SUPPORT= user-destdir
|
||||
|
||||
GNU_CONFIGURE= YES
|
||||
INFO_FILES= YES
|
||||
USE_TOOLS+= gmake perl
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
$NetBSD: distinfo,v 1.12 2007/03/02 02:44:13 dmcmahill Exp $
|
||||
$NetBSD: distinfo,v 1.13 2009/07/08 15:26:49 joerg Exp $
|
||||
|
||||
SHA1 (dinotrace-9.3c.tgz) = ed37f7fde4f69d42ee3904d363b35fd1be0a44bc
|
||||
RMD160 (dinotrace-9.3c.tgz) = 545d60ef99e7e878cc9380fef805deca6ad77cce
|
||||
Size (dinotrace-9.3c.tgz) = 521395 bytes
|
||||
SHA1 (patch-aa) = abe6d33f6788b6aaf418c0cc68bbd10dee44294b
|
||||
SHA1 (patch-ab) = dc03d89769f987c55a3436fd3f665729ce4d0995
|
||||
|
|
27
cad/dinotrace/patches/patch-ab
Normal file
27
cad/dinotrace/patches/patch-ab
Normal file
|
@ -0,0 +1,27 @@
|
|||
$NetBSD: patch-ab,v 1.4 2009/07/08 15:26:49 joerg Exp $
|
||||
|
||||
--- Makefile.in.orig 2009-07-08 17:24:49.000000000 +0200
|
||||
+++ Makefile.in
|
||||
@@ -156,11 +156,11 @@ dinotrace.dvi: dinotrace.texi
|
||||
$(TEXI2DVI) $(srcdir)/dinotrace.texi
|
||||
|
||||
installdirs:
|
||||
- $(SHELL) ${srcdir}/mkinstalldirs $(bindir) $(infodir)
|
||||
+ $(SHELL) ${srcdir}/mkinstalldirs ${DESTDIR}$(bindir) ${DESTDIR}$(infodir)
|
||||
|
||||
install: all info installdirs install-info
|
||||
for p in dinotrace; do \
|
||||
- $(INSTALL_PROGRAM) $$p $(bindir)/$$p; \
|
||||
+ $(INSTALL_PROGRAM) $$p ${DESTDIR}$(bindir)/$$p; \
|
||||
done
|
||||
@echo ""
|
||||
@echo "*** Lisp files not installed, you may want to"
|
||||
@@ -171,7 +171,7 @@ install: all info installdirs install-in
|
||||
# Don't cd, to avoid breaking install-sh references.
|
||||
install-info: info installdirs
|
||||
for i in *.info*; do \
|
||||
- $(INSTALL_DATA) $$i $(infodir)/$$i; \
|
||||
+ $(INSTALL_DATA) $$i ${DESTDIR}$(infodir)/$$i; \
|
||||
done
|
||||
|
||||
uninstall:
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.16 2007/05/09 02:42:25 dmcmahill Exp $
|
||||
# $NetBSD: Makefile,v 1.17 2009/07/08 15:35:48 joerg Exp $
|
||||
#
|
||||
|
||||
DISTNAME= electric-7.00
|
||||
|
@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
|
|||
HOMEPAGE= http://www.gnu.org/software/electric/electric.html
|
||||
COMMENT= Electrical CAD system
|
||||
|
||||
PKG_DESTDIR_SUPPORT= user-destdir
|
||||
|
||||
GNU_CONFIGURE= YES
|
||||
USE_LANGUAGES= c c++
|
||||
|
||||
|
@ -20,8 +22,8 @@ post-patch:
|
|||
< ${WRKSRC}/src/include/config.h.bak \
|
||||
> ${WRKSRC}/src/include/config.h
|
||||
|
||||
post-install:
|
||||
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} install.html
|
||||
INSTALL_TARGET= install install.html
|
||||
INSTALLATION_DIRS= bin
|
||||
|
||||
.include "../../mk/motif.buildlink3.mk"
|
||||
.include "../../mk/pthread.buildlink3.mk"
|
||||
|
|
Loading…
Reference in a new issue