mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-01 01:17:02 +00:00
42 lines
819 B
Makefile
42 lines
819 B
Makefile
# Created by: Michael L. Hostbaek <mich@freebsdcluster.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= clex
|
|
PORTVERSION= 4.6.6
|
|
CATEGORIES= misc
|
|
MASTER_SITES= http://www.clex.sk/download/
|
|
DISTNAME= clex-4.6.patch6
|
|
|
|
MAINTAINER= mich@FreeBSD.org
|
|
COMMENT= A command line file manager
|
|
|
|
LICENSE= GPLv2
|
|
|
|
GNU_CONFIGURE= yes
|
|
USES= ncurses
|
|
USE_GMAKE= yes
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
PLIST_FILES= bin/clex bin/cfg-clex bin/kbd-test
|
|
PORTDOCS= AUTHORS ChangeLog README
|
|
MAN1= clex.1 cfg-clex.1 kbd-test.1
|
|
|
|
NO_STAGE= yes
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e '18s,^,#include <stdio.h>,' \
|
|
${WRKSRC}/src/preview.c
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
post-install:
|
|
@${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|