aboutsummaryrefslogtreecommitdiffstats
path: root/misc/linm/Makefile
diff options
context:
space:
mode:
authorcjh <cjh@FreeBSD.org>2006-01-24 11:28:14 +0800
committercjh <cjh@FreeBSD.org>2006-01-24 11:28:14 +0800
commitd614ede822bdb5a484cbc082161e8f3ac1d1ceed (patch)
tree9bcd868ad8827e2f42bb2f52d5310dadbe1c48af /misc/linm/Makefile
parent5916330a76a49493eb8e92fadff90d99cb1a6445 (diff)
downloadfreebsd-ports-gnome-d614ede822bdb5a484cbc082161e8f3ac1d1ceed.tar.gz
freebsd-ports-gnome-d614ede822bdb5a484cbc082161e8f3ac1d1ceed.tar.zst
freebsd-ports-gnome-d614ede822bdb5a484cbc082161e8f3ac1d1ceed.zip
Activate linm, mc-style terminal file manager.
Diffstat (limited to 'misc/linm/Makefile')
-rw-r--r--misc/linm/Makefile50
1 files changed, 50 insertions, 0 deletions
diff --git a/misc/linm/Makefile b/misc/linm/Makefile
new file mode 100644
index 000000000000..43de38c4e762
--- /dev/null
+++ b/misc/linm/Makefile
@@ -0,0 +1,50 @@
+# New ports collection makefile for: linm
+# Date created: 24 Jan 2005
+# Whom: cjh@FreeBSD.org
+#
+# $FreeBSD$
+#
+
+PORTNAME= linm
+PORTVERSION= ${LINM_VER}.1
+CATEGORIES= misc shells
+MASTER_SITES= http://kldp.net/frs/download.php/3116/ \
+ ftp://ftp.kr.freebsd.org/pub/kldp.net/download/mls/1.LinMUnstable/LinM${LINM_VER}/
+DISTNAME= linm_${LINM_VER}-1
+
+MAINTAINER= cjh@FreeBSD.org
+COMMENT= Clone of Mdir, mc-style terminal file manager
+
+BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
+
+USE_ICONV= yes
+USE_OPENSSL= yes
+GNU_CONFIGURE= yes
+
+CONFIGURE_ENV= CPPFLAGS=-I${LOCALBASE}/include
+
+# does not work now
+#.if defined(WITHOUT_NLS)
+#CONFIGURE_ARGS+=--disable-nls
+#PLIST_SUB+= NLS="@comment "
+#.else
+CONFIGURE_ENV+= LIBS="-L${LOCALBASE}/lib -lintl"
+USE_GETTEXT= yes
+PLIST_SUB+= NLS=""
+#.endif
+
+LINM_VER= 0.7.6
+WRKSRC= ${WRKDIR}/linm-${LINM_VER}
+
+post-patch:
+ @${REINPLACE_CMD} -e "s:/etc/linm:${PREFIX}/etc/linm:" "${WRKSRC}/src/ncurses/main_ncurces.cpp"
+
+post-install:
+.if !defined (NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/share/doc/linm
+.for file in AUTHORS COPYING ChangeLog README README.ko_euckr README.ko_utf8
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+.endfor
+.endif
+
+.include <bsd.port.mk>