diff options
author | CHOI Junho <cjh@FreeBSD.org> | 2006-01-24 03:28:14 +0000 |
---|---|---|
committer | CHOI Junho <cjh@FreeBSD.org> | 2006-01-24 03:28:14 +0000 |
commit | 128b0a5cf6225e45702e3e57c16bbd40f60f380e (patch) | |
tree | cf030c99a790aa018aaceb7b554f92947c4bc5ed /misc/linm/Makefile | |
parent | SHA256ify (diff) |
Activate linm, mc-style terminal file manager.
Notes
Notes:
svn path=/head/; revision=154309
Diffstat (limited to 'misc/linm/Makefile')
-rw-r--r-- | misc/linm/Makefile | 50 |
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> |