summaryrefslogtreecommitdiff
path: root/editors/lpe/Makefile
blob: db9ee05aeb90b3f744d08a9c5aa04e2db237dc9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# $NetBSD: Makefile,v 1.5 2004/02/14 17:21:39 jlam Exp $
#

DISTNAME=	lpe-1.2.6
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=	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"