diff options
author | Johan van Selst <johans@FreeBSD.org> | 2006-04-13 16:20:56 +0000 |
---|---|---|
committer | Johan van Selst <johans@FreeBSD.org> | 2006-04-13 16:20:56 +0000 |
commit | c0477ef9593f1c42d56e8754b40284eac0a0d769 (patch) | |
tree | a514ca768d6f09fd7b138133c053a73f885c00e7 /lang/munger/Makefile | |
parent | - Update to 0.8.8 (diff) |
- Update to version 4.95.
PR: ports/93850
Submitted by: James Bailie (maintainer)
Approved by: flz (mentor)
Notes
Notes:
svn path=/head/; revision=159431
Diffstat (limited to 'lang/munger/Makefile')
-rw-r--r-- | lang/munger/Makefile | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/lang/munger/Makefile b/lang/munger/Makefile index 0b6704a02222..575d0a5b1492 100644 --- a/lang/munger/Makefile +++ b/lang/munger/Makefile @@ -6,7 +6,7 @@ # PORTNAME= munger -PORTVERSION= 4.87 +PORTVERSION= 4.95 CATEGORIES= lang MASTER_SITES= http://www.jamesbailie.com/ @@ -20,7 +20,11 @@ MANCOMPRESSED= yes OPTIONS= FCGI "include FastCGI interface" on \ SQL "include SQLite interface" on \ - TERM "include character-I/O functions" on + TERM "include character-I/O functions" on \ + BN "include bignum support" off \ + DKNS "install Dickens text editor" off + +INSTALLS_SHLIB= yes .include <bsd.port.pre.mk> @@ -38,6 +42,23 @@ MAKE_ARGS+= -DWITH_FCGI MAKE_ARGS+= -DWITH_TERM .endif +.if defined(WITH_BN) +MAKE_ARGS+= -DWITH_BN +.endif + +.if defined(WITH_DKNS) +MAKE_ARGS+= -DWITH_DKNS +MAN1+= dkns.1 +PLIST_SUB+= DKNS_BIN="bin/dkns" +.else +PLIST_SUB+= DKNS_BIN="${DATADIR:S,^${PREFIX}/,,}/dkns.munger" +.endif + +post-patch: +.if !defined(WITHOUT_SQL) + ${REINPLACE_CMD} 's/-lsqlite3/${PTHREAD_LIBS} &/' ${WRKSRC}/Makefile +.endif + post-build: .if !defined(WITHOUT_FCGI) @${CAT} ${PKGMESSAGE} |