aboutsummaryrefslogtreecommitdiff
path: root/misc/linm
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2013-03-25 04:30:31 +0000
committerEitan Adler <eadler@FreeBSD.org>2013-03-25 04:30:31 +0000
commitfd37d8821fdc48edb0c489017447cb8ee865c5b9 (patch)
treee9502ec9d580c1cb296d2b6e887c07a0737f2b7c /misc/linm
parent48c429ec3a76441cc6a3dba681f911b9b7eccb7f (diff)
downloadports-fd37d8821fdc48edb0c489017447cb8ee865c5b9.tar.gz
ports-fd37d8821fdc48edb0c489017447cb8ee865c5b9.zip
Notes
Diffstat (limited to 'misc/linm')
-rw-r--r--misc/linm/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/misc/linm/Makefile b/misc/linm/Makefile
index 5d3cb04b5813..f81b95073065 100644
--- a/misc/linm/Makefile
+++ b/misc/linm/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: linm
-# Date created: 24 Jan 2005
-# Whom: cjh@FreeBSD.org
-#
+# Created by: cjh@FreeBSD.org
# $FreeBSD$
-#
PORTNAME= linm
PORTVERSION= ${LINM_VER}.1
@@ -34,17 +30,19 @@ USE_GETTEXT= yes
PLIST_SUB+= NLS=""
#.endif
-CONFIGURE_ARGS+= --enable-cfgpath="${PREFIX}/etc/linm" --enable-kolocalepath="${PREFIX}/share/locale/ko/LC_MESSAGES"
+CONFIGURE_ARGS+= --enable-cfgpath="${PREFIX}/etc/linm" --enable-kolocalepath="${PREFIX}/share/locale/ko/LC_MESSAGES"
LINM_VER= 0.7.7
WRKSRC= ${WRKDIR}/linm-${LINM_VER}
+.include <bsd.port.options.mk>
+
post-patch:
@${REINPLACE_CMD} -e 's|Panel::SetCur|SetCur|' ${WRKSRC}/panel/common/panel.h
@${REINPLACE_CMD} -e 's|Position::Show|Show|' ${WRKSRC}/src/ncurses/dialog.h
post-install:
-.if !defined (NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${PREFIX}/share/doc/linm
.for file in AUTHORS COPYING ChangeLog README README.ko_euckr README.ko_utf8
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}