diff options
author | Andrew Pantyukhin <sat@FreeBSD.org> | 2006-05-08 14:00:15 +0000 |
---|---|---|
committer | Andrew Pantyukhin <sat@FreeBSD.org> | 2006-05-08 14:00:15 +0000 |
commit | 338db6b7ce2ff1c851a28e050da7c08fe8278ef9 (patch) | |
tree | 524babc5e0443f596883796a6bacd05a4e76a8a1 /editors/leafpad/Makefile | |
parent | 6a2e831b5894b4c5dc1459f2b9a22bb9abea7f0d (diff) |
Notes
Diffstat (limited to 'editors/leafpad/Makefile')
-rw-r--r-- | editors/leafpad/Makefile | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/editors/leafpad/Makefile b/editors/leafpad/Makefile index 0a2e6c07c592..20f0bb132cd7 100644 --- a/editors/leafpad/Makefile +++ b/editors/leafpad/Makefile @@ -1,4 +1,4 @@ -# New ports collection makefile for: Leafpad +# New ports collection makefile for: leafpad # Date created: 2004-10-18 # Whom: Michael Johnson <ahze@ahze.net> # @@ -6,8 +6,7 @@ # PORTNAME= leafpad -PORTVERSION= 0.8.4 -PORTREVISION= 1 +PORTVERSION= 0.8.9 CATEGORIES= editors MASTER_SITES= ${MASTER_SITE_SAVANNAH} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -18,6 +17,7 @@ COMMENT= GTK+ based simple text editor USE_GNOME= gtk20 gnomehier desktopfileutils intlhack USE_GCC= 3.4 USE_GETOPT_LONG= yes +USE_GETTEXT= YES USE_X_PREFIX= yes GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \ @@ -27,9 +27,7 @@ CONFIGURE_ARGS= --enable-chooser CPPFLAGS= -I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS} LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS} -.if !defined(NOPORTDOCS) PORTDOCS= AUTHORS COPYING ChangeLog INSTALL README -.endif post-patch: @${REINPLACE_CMD} -e 's|/pixmaps|/gnome/pixmaps|; \ @@ -38,10 +36,8 @@ post-patch: post-install: .if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} -.for i in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} -.endfor + @${INSTALL} -d ${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/ .endif -@update-desktop-database |