summaryrefslogtreecommitdiffstats
path: root/chinese/oto/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'chinese/oto/Makefile')
-rw-r--r--chinese/oto/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/chinese/oto/Makefile b/chinese/oto/Makefile
index 73867e2..7cc5d13 100644
--- a/chinese/oto/Makefile
+++ b/chinese/oto/Makefile
@@ -7,6 +7,7 @@
PORTNAME= oto
PORTVERSION= 0.4
+PORTREVISION= 1
CATEGORIES= chinese print
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -14,12 +15,14 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= statue@freebsd.sinica.edu.tw
COMMENT= Show you font info and add new 'name' and 'cmap' tables
-LIB_DEPENDS= iconv.3:${PORTSDIR}/converters/libiconv \
- gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
+LIB_DEPENDS= iconv.3:${PORTSDIR}/converters/libiconv
+USE_GETOPT_LONG=yes
HAS_CONFIGURE= YES
USE_GMAKE= YES
USE_REINPLACE= yes
+CPPFLAGS= -I${LOCALBASE}/include
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LIBS="-L${LOCALBASE}/lib -liconv"
.include <bsd.port.pre.mk>
post-patch:
OpenPOWER on IntegriCloud