blob: fb229ee09078ecb5f0d420da991ec4c138744ce4 (
plain) (
blame)
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
39
40
41
42
43
44
45
46
47
48
|
# New ports collection makefile for: leafpad
# Date created: 2004-10-18
# Whom: Michael Johnson <ahze@ahze.net>
#
# $FreeBSD$
#
PORTNAME= leafpad
PORTVERSION= 0.7.5
PORTREVISION= 1
CATEGORIES= editors
MASTER_SITES= http://tarot.freeshell.org/leafpad/
MAINTAINER= ports@FreeBSD.org
COMMENT= Light-weight GTK+ Editor similar to notepad.exe
USE_GNOME= gtk20
USE_X_PREFIX= yes
GNU_CONFIGURE= yes
USE_REINPLACE= yes
DOCS= AUTHORS COPYING ChangeLog INSTALL README
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
CONFIGURE_ARGS= --enable-nls \
--with-libiconv-prefix=${LOCALBASE} \
--with-libintl-prefix=${LOCALBASE}
PLIST_SUB+= NLS:=""
.else
CONFIGURE_ARGS= --disable-nls
PLIST_SUB+= NLS:="@comment "
.endif
post-patch:
@${REINPLACE_CMD} -e 's|/pixmaps|/gnome/pixmaps|; \
s|/applications|/gnome/applications|' \
${WRKSRC}/Makefile.in ${WRKSRC}/src/Makefile.in
.ifndef (NOPORTDOCS)
post-install:
@${MKDIR} ${DOCSDIR}
.for i in ${DOCS}
@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>
|