Permalink
Browse files

Conform to conventional naming of installed files

  • Loading branch information...
1 parent 9328e6a commit a78549a42c6e2b7e1c7e6c3f4fdd28743ab4619e outpaddling committed Nov 11, 2012
Showing with 13 additions and 14 deletions.
  1. +4 −5 swig2/Makefile
  2. +4 −4 swig2/PLIST
  3. +5 −5 swig2/buildlink3.mk
View
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2010/04/12 13:57:59 taca Exp $
+# $NetBSD: Makefile,v 1.1 2012/11/09 14:25:44 gdt Exp $
DISTNAME= swig-2.0.8
PKGREVISION= 1
@@ -25,12 +25,11 @@ CONFLICTS= swig-build-[0-9]*
# 2012-10: gnuradio is said to work with swig2 (private communication
# by gdt@ with a GNU Radio developer). However, it doesn't find 'swig2'.
-# TODO: check x11/ruby-wxruby for working with swig2, but this is not
-# a bar to importing it.
-
# Keep the path from changing due to minor version bumps.
+# Conventional naming for swig installations uses suffix major.minor. ( See
+# math/ufc CMakeLists, FreeBSD port, etc. )
CONFIGURE_ARGS+= --with-swiglibdir=${PREFIX}/share/swig/2.0 \
- --program-suffix=2
+ --program-suffix=2.0
BUILD_TARGET= swig
USE_TOOLS+= gmake pax
View
@@ -1,7 +1,7 @@
-@comment $NetBSD$
-bin/ccache-swig2
-bin/swig2
-man/man1/ccache-swig2.1
+@comment $NetBSD: PLIST,v 1.1 2012/11/09 14:25:44 gdt Exp $
+bin/ccache-swig2.0
+bin/swig2.0
+man/man1/ccache-swig2.0.1
share/doc/swig/2.0/SWIGDocumentation.html
share/doc/swig/2.0/SWIGDocumentation.pdf
share/doc/swig/2.0/android-class.png
View
@@ -1,14 +1,14 @@
-# $NetBSD$
+# $NetBSD: buildlink3.mk,v 1.1 2012/11/09 14:25:44 gdt Exp $
-BUILDLINK_TREE+= swig
+BUILDLINK_TREE+= swig2
.if !defined(SWIG_BUILDLINK3_MK)
SWIG_BUILDLINK3_MK:=
-BUILDLINK_API_DEPENDS.swig+= swig>=2.0.4
-BUILDLINK_PKGSRCDIR.swig?= ../../wip/swig2
+BUILDLINK_API_DEPENDS.swig2+= swig>=2.0.8
+BUILDLINK_PKGSRCDIR.swig2?= ../../devel/swig2
.include "../../devel/pcre/buildlink3.mk"
.endif # SWIG_BUILDLINK3_MK
-BUILDLINK_TREE+= -swig
+BUILDLINK_TREE+= -swig2

0 comments on commit a78549a

Please sign in to comment.