summaryrefslogtreecommitdiff
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
parentFix formatting: MOVEDLint (diff)
Cleanup unmaintained ports in the misc category:
- Trim Header - Convert to OptionsNG - Prefer DISTNAME to DISTFILES - Reorder variables - Fix comments (don't include leading article) - @unexec rm must not cause failure - Tabs, not spaces - Single space for WWW - Pet portlint - etc. In a few cases the option DOCS was used to control installation into EXAMPLEDIR. I opted to keep the existing logic of the port in these cases. Reviewed by: koobs, ashish
Notes
Notes: svn path=/head/; revision=315192
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}