diff options
author | Jeremy Messenger <mezz@FreeBSD.org> | 2004-10-18 22:11:02 +0000 |
---|---|---|
committer | Jeremy Messenger <mezz@FreeBSD.org> | 2004-10-18 22:11:02 +0000 |
commit | f983c445f3e2322df587a228daec4cef98c39d8d (patch) | |
tree | da374800986052f49a683552e2116e2b95bfbcee /editors/leafpad/Makefile | |
parent | 7952dcb847eb6825dedefeef1cac5b974c5550f2 (diff) |
Notes
Diffstat (limited to 'editors/leafpad/Makefile')
-rw-r--r-- | editors/leafpad/Makefile | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/editors/leafpad/Makefile b/editors/leafpad/Makefile new file mode 100644 index 000000000000..665d25ea4818 --- /dev/null +++ b/editors/leafpad/Makefile @@ -0,0 +1,46 @@ +# New ports collection makefile for: leafpad +# Date created: 2004-10-18 +# Whom: Michael Johnson <ahze@ahze.net> +# +# $FreeBSD$ +# + +PORTNAME= leafpad +PORTVERSION= 0.7.3.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= gnomeprefix gtk20 +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|/icons|/pixmaps|g' ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} -e 's|/share/icons/|/share/gnome/pixmaps/|g' \ + ${WRKSRC}/src/callback.c ${WRKSRC}/src/window.c + +.ifndef (NOPORTDOCS) +post-install: + @${MKDIR} ${DOCSDIR} +.for i in ${DOCS} + @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} +.endfor +.endif + +.include <bsd.port.mk> |