1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

- Fix reference to STAGEDIR in some shebangs

- Use OPTIONS helpers
This commit is contained in:
Antoine Brodin 2014-03-01 17:15:09 +00:00
parent d542ba4d80
commit 74bf5ba557
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=346656

View File

@ -3,6 +3,7 @@
PORTNAME= munger
PORTVERSION= 5.2
PORTREVISION= 1
CATEGORIES= lang
MASTER_SITES= http://www.mammothcheese.ca/
@ -16,11 +17,10 @@ DATADIR= ${PREFIX}/share/${PORTNAME}-${PORTVERSION}
OPTIONS_DEFINE= SQLITE
OPTIONS_DEFAULT= SQLITE
.include <bsd.port.options.mk>
SQLITE_USE= SQLITE=3
SQLITE_MAKE_ARGS= -DWITH_SQL
.if ${PORT_OPTIONS:MSQLITE}
USE_SQLITE= 3
MAKE_ARGS+= -DWITH_SQL
.endif
post-patch:
@${REINPLACE_CMD} 's,MUNGERPATH|$${DEST},/MUNGERPATH|$${PREFIX}/bin,' ${WRKSRC}/Makefile
.include <bsd.port.mk>