39 lines
955 B
Makefile
39 lines
955 B
Makefile
# $OpenBSD: Makefile,v 1.47 2006/11/07 15:31:37 naddy Exp $
|
|
|
|
COMMENT= "small, easy to use editor"
|
|
|
|
DISTNAME= nano-1.2.5
|
|
PKGNAME= ${DISTNAME}p0
|
|
CATEGORIES= editors
|
|
HOMEPAGE= http://www.nano-editor.org/
|
|
|
|
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
|
|
|
|
MASTER_SITES= http://www.nano-editor.org/dist/v1.2/ \
|
|
http://www.ewtoo.org/~astyanax/nano/dist/v1.2/
|
|
|
|
# GPL
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MODULES= devel/gettext
|
|
WANTLIB= c ncurses
|
|
|
|
FAKE= lib
|
|
CONFIGURE_STYLE=gnu
|
|
CONFIGURE_ENV= CPPFLAGS="-I${DEPBASE}/include" \
|
|
LDFLAGS="-L${DEPBASE}/lib"
|
|
CONFIGURE_ARGS= --enable-all
|
|
|
|
post-install:
|
|
perl -i -pe 's:\$$SYSCONFDIR:${SYSCONFDIR}:g' \
|
|
${PREFIX}/man/man5/nanorc.5 \
|
|
${PREFIX}/man/man1/nano.1 \
|
|
${PREFIX}/info/nano.info
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/nano
|
|
${INSTALL_DATA} ${WRKSRC}/nanorc.sample ${PREFIX}/share/examples/nano
|
|
|
|
.include <bsd.port.mk>
|