diff options
author | Michael Johnson <ahze@FreeBSD.org> | 2004-11-19 19:11:32 +0000 |
---|---|---|
committer | Michael Johnson <ahze@FreeBSD.org> | 2004-11-19 19:11:32 +0000 |
commit | 4a0751904b73edc3ddda595a8dcf4b30e2fa9048 (patch) | |
tree | ac5809238c3e4e98101869b531dea6c4585f7092 /editors/leafpad | |
parent | 209b908961e6322b6a09333ed27a7de5e6bf965a (diff) | |
download | ports-4a0751904b73edc3ddda595a8dcf4b30e2fa9048.tar.gz ports-4a0751904b73edc3ddda595a8dcf4b30e2fa9048.zip |
Notes
Diffstat (limited to 'editors/leafpad')
-rw-r--r-- | editors/leafpad/Makefile | 28 | ||||
-rw-r--r-- | editors/leafpad/distinfo | 4 | ||||
-rw-r--r-- | editors/leafpad/pkg-plist | 27 |
3 files changed, 22 insertions, 37 deletions
diff --git a/editors/leafpad/Makefile b/editors/leafpad/Makefile index 9a5d8432e355..dc7006d0f0c4 100644 --- a/editors/leafpad/Makefile +++ b/editors/leafpad/Makefile @@ -6,42 +6,32 @@ # PORTNAME= leafpad -PORTVERSION= 0.7.6 -PORTREVISION= 1 +PORTVERSION= 0.7.7 CATEGORIES= editors MASTER_SITES= ${MASTER_SITE_SAVANNAH} MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= radek@raadradd.com -COMMENT= Light-weight GTK+ Editor similar to notepad.exe +COMMENT= Light-weight GTK+ editor similar to notepad.exe USE_GNOME= gtk20 gnomehier +USE_REINPLACE= yes USE_X_PREFIX= yes GNU_CONFIGURE= yes -USE_REINPLACE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" -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 +PORTDOCS= AUTHORS COPYING ChangeLog INSTALL README post-patch: @${REINPLACE_CMD} -e 's|/pixmaps|/gnome/pixmaps|; \ s|/applications|/gnome/applications|' \ - ${WRKSRC}/Makefile.in ${WRKSRC}/src/Makefile.in + ${WRKSRC}/Makefile.in ${WRKSRC}/src/Makefile.in -.ifndef (NOPORTDOCS) +.if !defined(NOPORTDOCS) post-install: @${MKDIR} ${DOCSDIR} -.for i in ${DOCS} +.for i in ${PORTDOCS} @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} .endfor .endif diff --git a/editors/leafpad/distinfo b/editors/leafpad/distinfo index fe561f54e467..60f11f45a6be 100644 --- a/editors/leafpad/distinfo +++ b/editors/leafpad/distinfo @@ -1,2 +1,2 @@ -MD5 (leafpad-0.7.6.tar.gz) = b45985eb0a811f67224a9c1f77f9ade9 -SIZE (leafpad-0.7.6.tar.gz) = 177604 +MD5 (leafpad-0.7.7.tar.gz) = 7875e25a31ed180a49ba8f9efb896322 +SIZE (leafpad-0.7.7.tar.gz) = 179836 diff --git a/editors/leafpad/pkg-plist b/editors/leafpad/pkg-plist index 903845c34cac..0139fe3d4e27 100644 --- a/editors/leafpad/pkg-plist +++ b/editors/leafpad/pkg-plist @@ -1,19 +1,14 @@ bin/leafpad -%%PORTDOCS%%%%DOCSDIR%%/AUTHORS -%%PORTDOCS%%%%DOCSDIR%%/COPYING -%%PORTDOCS%%%%DOCSDIR%%/ChangeLog -%%PORTDOCS%%%%DOCSDIR%%/INSTALL -%%PORTDOCS%%%%DOCSDIR%%/README share/gnome/applications/leafpad.desktop share/gnome/pixmaps/leafpad.png -%%NLS:%%share/locale/de/LC_MESSAGES/leafpad.mo -%%NLS:%%share/locale/es/LC_MESSAGES/leafpad.mo -%%NLS:%%share/locale/fr/LC_MESSAGES/leafpad.mo -%%NLS:%%share/locale/ja/LC_MESSAGES/leafpad.mo -%%NLS:%%share/locale/ru/LC_MESSAGES/leafpad.mo -%%NLS:%%share/locale/sv/LC_MESSAGES/leafpad.mo -%%NLS:%%share/locale/zh_CN/LC_MESSAGES/leafpad.mo -%%NLS:%%share/locale/zh_TW/LC_MESSAGES/leafpad.mo -%%PORTDOCS%%@dirrm %%DOCSDIR%% -@exec update-mime-database %D/share/mime -@unexec update-mime-database %D/share/mime +share/locale/cs/LC_MESSAGES/leafpad.mo +share/locale/de/LC_MESSAGES/leafpad.mo +share/locale/es/LC_MESSAGES/leafpad.mo +share/locale/fr/LC_MESSAGES/leafpad.mo +share/locale/ja/LC_MESSAGES/leafpad.mo +share/locale/ru/LC_MESSAGES/leafpad.mo +share/locale/sv/LC_MESSAGES/leafpad.mo +share/locale/zh_CN/LC_MESSAGES/leafpad.mo +share/locale/zh_TW/LC_MESSAGES/leafpad.mo +@exec update-desktop-database > /dev/null || true +@unexec update-desktop-database > /dev/null || true |