aboutsummaryrefslogtreecommitdiffstats
path: root/lang/nml/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/nml/Makefile')
-rw-r--r--lang/nml/Makefile21
1 files changed, 19 insertions, 2 deletions
diff --git a/lang/nml/Makefile b/lang/nml/Makefile
index b8180854ee71..557ae1bfffcc 100644
--- a/lang/nml/Makefile
+++ b/lang/nml/Makefile
@@ -6,12 +6,29 @@
#
PORTNAME= nml
-PORTVERSION= 0.91
+PORTVERSION= 0.92
CATEGORIES= lang
MASTER_SITES= http://ropas.kaist.ac.kr/n/
MAINTAINER= netj@ropas.kaist.ac.kr
-HAS_CONFIGURE= yes
+HAS_CONFIGURE= yes
+CONFIGURE_ARGS+= \
+ -prefix ${PREFIX}
+
+USE_GMAKE= yes
+ALL_TARGET= all opt opt.opt
+INSTALL_TARGET= install installopt
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/Changes ${WRKSRC}/LICENSE ${WRKSRC}/README ${DOCSDIR}
+ ${MKDIR} ${DATADIR}/contrib/emacs
+ ${MKDIR} ${DATADIR}/contrib/vim
+ ${INSTALL_DATA} ${WRKSRC}/contrib/emacs/* ${DATADIR}/contrib/emacs
+ ${INSTALL_DATA} ${WRKSRC}/contrib/vim/* ${DATADIR}/contrib/vim
+.endif
+ @strip ${PREFIX}/bin/ncamlrun
.include <bsd.port.mk>