diff options
author | acm <acm@FreeBSD.org> | 2008-07-04 04:42:13 +0800 |
---|---|---|
committer | acm <acm@FreeBSD.org> | 2008-07-04 04:42:13 +0800 |
commit | 59b88af2643660ce5e0388b47c92bb2477ba5756 (patch) | |
tree | 2d67b9af95a5f6031d38de0be556c20a1ae58e3b /lang/nbc/Makefile | |
parent | 7a9464552185dbdc6e26b837bc8f7b0baca959dc (diff) | |
download | freebsd-ports-gnome-59b88af2643660ce5e0388b47c92bb2477ba5756.tar.gz freebsd-ports-gnome-59b88af2643660ce5e0388b47c92bb2477ba5756.tar.zst freebsd-ports-gnome-59b88af2643660ce5e0388b47c92bb2477ba5756.zip |
- Use new fpc stuff
- Remove obsolete Makefile lines
- Bump PORTREVISION
Approved by: rambiusparkisanius at gmail.com (maintainer)
Diffstat (limited to 'lang/nbc/Makefile')
-rw-r--r-- | lang/nbc/Makefile | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/lang/nbc/Makefile b/lang/nbc/Makefile index 50d84cfadff8..1176d2388fd6 100644 --- a/lang/nbc/Makefile +++ b/lang/nbc/Makefile @@ -7,6 +7,7 @@ PORTNAME= nbc PORTVERSION= 1.0.1.b32 +PORTREVISION= 1 CATEGORIES= lang MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= bricxcc @@ -16,21 +17,16 @@ EXTRACT_SUFX= .tgz MAINTAINER= rambiusparkisanius@gmail.com COMMENT= NBC is a programming language for the LEGO MINDSTORMS NXT product -BUILD_DEPENDS= fpc:${PORTSDIR}/lang/fpc \ - ${UNITSDIR}/fcl-base/Package.fpc:${PORTSDIR}/devel/fpc-fcl-base RUN_DEPENDS= legoctl:${PORTSDIR}/devel/legoctl USE_GMAKE= yes USE_DOS2UNIX= yes +USE_FPC= fcl-base MAKEFILE= nbcfreebsd.mak SUB_FILES= pkg-message WRKSRC= ${WRKDIR}/nxt -BUILDNAME= ${ARCH}-freebsd -FPC_MINVER= 2.2.0 -UNITSDIR= ${LOCALBASE}/lib/fpc/${FPC_MINVER}/units/${BUILDNAME} - PLIST_FILES= bin/nbc \ share/nbc/history.txt \ share/nbc/readme.txt \ @@ -40,16 +36,6 @@ PLIST_FILES= bin/nbc \ PLIST_DIRS= share/nbc \ include/nbc -post-depends: -.if exists(${LOCALBASE}/bin/fpc) -FPC_VER!= ${LOCALBASE}/bin/fpc -iV -FPC_REQVER!= ${ECHO_CMD} $$(${EXPR} ${FPC_VER:C/^[^\.]*\.//} \>= ${FPC_MINVER:C/^[^\.]*\.//}) - -.if (${FPC_REQVER} != 1) -IGNORE= requires fpc ${FPC_MINVER} or above. Please upgrade -.endif -.endif - do-install: ${MKDIR} ${PREFIX}/include/nbc ${PREFIX}/share/nbc ${INSTALL_PROGRAM} ${WRKSRC}/nbc ${PREFIX}/bin |