27 lines
578 B
Makefile
27 lines
578 B
Makefile
# Created by: Hans de Hartog <hans@dehartog.nl>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= cdls
|
|
PORTVERSION= 4.2
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= ftp://pd7w.fs2a.eu/
|
|
|
|
MAINTAINER= hans@dehartog.nl
|
|
COMMENT= A curses based file manager for system managers
|
|
|
|
PLIST_FILES= bin/cdls
|
|
|
|
USES= ncurses
|
|
|
|
NO_STAGE= yes
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${NCURSESBASE} == /usr
|
|
# no need to use ncurses-config if we use ncurses from the base system
|
|
CONFIGURE_ARGS+= NCURSES_CONFIG=/usr/bin/true
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' ${WRKSRC}/Makefile
|
|
|
|
.include <bsd.port.post.mk>
|