pkgsrc/editors/lpe/Makefile

39 lines
978 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.4 2004/01/22 08:30:30 grant Exp $
#
DISTNAME= lpe-1.2.6
2003-07-13 15:50:19 +02:00
PKGREVISION= 1
CATEGORIES= editors
MASTER_SITES= ftp://ftp.sasknow.com/pub/ \
ftp://ftp.twu.net/users/cdsmith/lpe/
MAINTAINER= xtraeme@NetBSD.org
HOMEPAGE= http://cdsmith.twu.net/professional/opensource/lpe.html
COMMENT= Small and efficient programmer's editor for UNIX systems
BUILD_USES_MSGFMT= YES
USE_BUILDLINK2= YES
USE_PKGLOCALEDIR= YES
USE_PKGINSTALL= YES
USE_LIBTOOL= YES
USE_GNU_TOOLS+= make
GNU_CONFIGURE= YES
SHLIBTOOL_OVERRIDE= ${WRKSRC}/libtool
CONFIGURE_ENV= EXPORT_SYMBOLS_LDFLAGS="${EXPORT_SYMBOLS_LDFLAGS}"
MAKE_ENV= EXPORT_SYMBOLS_LDFLAGS="${EXPORT_SYMBOLS_LDFLAGS}"
CFLAGS= -DPREFIX=\"\\\"${PREFIX}\\\"\"
post-patch:
@cd ${WRKSRC}/man && \
for f in cs de en es; do \
${MV} lpe.1.$${f} lpe.1.$${f}.orig; \
${SED} ${FILES_SUBST_SED} lpe.1.$${f}.orig > lpe.1.$${f}; \
done
.include "../../devel/libslang/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"