aboutsummaryrefslogtreecommitdiff
path: root/astro/gpstk
diff options
context:
space:
mode:
authorBruce M Simpson <bms@FreeBSD.org>2007-01-02 04:33:32 +0000
committerBruce M Simpson <bms@FreeBSD.org>2007-01-02 04:33:32 +0000
commit22f84b0076b77c28861eddf94634b6dc26efc78b (patch)
tree9cc098db9718194f68c85f31e06d26055372af60 /astro/gpstk
parent7845c79cf719f0fad5ca0a91f656bf452350a087 (diff)
downloadports-22f84b0076b77c28861eddf94634b6dc26efc78b.tar.gz
ports-22f84b0076b77c28861eddf94634b6dc26efc78b.zip
Fix install target.
Notes
Notes: svn path=/head/; revision=181240
Diffstat (limited to 'astro/gpstk')
-rw-r--r--astro/gpstk/Makefile7
-rw-r--r--astro/gpstk/files/patch-Jamrules2
2 files changed, 4 insertions, 5 deletions
diff --git a/astro/gpstk/Makefile b/astro/gpstk/Makefile
index c7905fff8111..0f037164a89d 100644
--- a/astro/gpstk/Makefile
+++ b/astro/gpstk/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gpstk
PORTVERSION= 1.1
+PORTREVISION= 1
CATEGORIES= astro devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -16,22 +17,20 @@ COMMENT= Toolkit for developing GPS applications
BUILD_DEPENDS= ${LOCALBASE}/bin/jam:${PORTSDIR}/devel/jam
-BROKEN= Does not build
-
USE_GCC= 3.4+
USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
JAM= ${LOCALBASE}/bin/jam
JAM_ENV= BINDIR=${PREFIX}/bin \
- INCDIR=${PREFIX}/include \
+ INCDIR=${PREFIX}/include/$(PORTNAME) \
LIBDIR=${PREFIX}/lib
do-build:
cd ${WRKSRC} && ${SETENV} ${JAM_ENV} ${JAM}
do-install:
- ${MKDIR} ${PREFIX}/include/gpstk
+ ${MKDIR} ${PREFIX}/include/${PORTNAME}
cd ${WRKSRC} && ${SETENV} ${JAM_ENV} ${JAM} install
.include <bsd.port.mk>
diff --git a/astro/gpstk/files/patch-Jamrules b/astro/gpstk/files/patch-Jamrules
index b2af4fae9dee..e16d70802906 100644
--- a/astro/gpstk/files/patch-Jamrules
+++ b/astro/gpstk/files/patch-Jamrules
@@ -25,7 +25,7 @@
BINDIR = [ FDirName $(PREFIX) bin ] ;
LIBDIR = [ FDirName $(PREFIX) lib ] ;
- INCDIR = [ FDirName $(PREFIX) include ] ;
-+ INCDIR = [ FDirName $(PREFIX) include/gpstk ] ;
++ INCDIR = [ FDirName $(PREFIX) include gpstk ] ;
}
# debug - edit this as needed.