aboutsummaryrefslogtreecommitdiff
path: root/security/gnome-password-generator
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-03-29 23:15:58 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-03-29 23:15:58 +0000
commitf53ed7a3a16621d1b993e7cef4ad90a54cf98e15 (patch)
tree56cce4bcd4a74b2cc0526827a177a112069f616e /security/gnome-password-generator
parentb08d0042516c993bbcebd024f1bb9e1c11f89590 (diff)
downloadports-f53ed7a3a16621d1b993e7cef4ad90a54cf98e15.tar.gz
ports-f53ed7a3a16621d1b993e7cef4ad90a54cf98e15.zip
Notes
Diffstat (limited to 'security/gnome-password-generator')
-rw-r--r--security/gnome-password-generator/Makefile19
-rw-r--r--security/gnome-password-generator/distinfo6
2 files changed, 14 insertions, 11 deletions
diff --git a/security/gnome-password-generator/Makefile b/security/gnome-password-generator/Makefile
index d2950c52b6d6..25156ceaeaa3 100644
--- a/security/gnome-password-generator/Makefile
+++ b/security/gnome-password-generator/Makefile
@@ -6,21 +6,24 @@
#
PORTNAME= gnome-password-generator
-PORTVERSION= 1.4
-PORTREVISION= 6
+PORTVERSION= 1.6
CATEGORIES= security gnome python
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= gnome-password
+MASTER_SITES= SF/gnome-password
MAINTAINER= ports@FreeBSD.org
COMMENT= GNOME 2 password generator
USE_GNOME= pygnome2
USE_PYTHON= yes
-USE_GMAKE= yes
-post-patch:
- @${REINPLACE_CMD} -e 's|prefix=/usr|prefix=${PREFIX}|g' ${WRKSRC}/Makefile
- @${REINPLACE_CMD} -e 's|/usr/bin/python|${PYTHON_CMD}|g' ${WRKSRC}/${PORTNAME}
+do-build:
+ @cd ${WRKSRC} && ${SED} -e 's|/usr/bin/python|${PYTHON_CMD}|g ; \
+ s|/usr/share|${PREFIX}/share|g' ${PORTNAME}.py > ${PORTNAME}
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/*.png ${PREFIX}/share/pixmaps
+ @${MKDIR} ${PREFIX}/share/applications
+ ${INSTALL_DATA} ${WRKSRC}/*.desktop ${PREFIX}/share/applications
.include <bsd.port.mk>
diff --git a/security/gnome-password-generator/distinfo b/security/gnome-password-generator/distinfo
index d40144213d61..a92057bf2f17 100644
--- a/security/gnome-password-generator/distinfo
+++ b/security/gnome-password-generator/distinfo
@@ -1,3 +1,3 @@
-MD5 (gnome-password-generator-1.4.tar.gz) = a2a043a93ce04f3bb798afded8bfd329
-SHA256 (gnome-password-generator-1.4.tar.gz) = e962fe93811b8403354c72e3b19926d01c75d86c621958ae70d217bb1f6b896f
-SIZE (gnome-password-generator-1.4.tar.gz) = 20767
+MD5 (gnome-password-generator-1.6.tar.gz) = 6d7f49639e64028c2eee733c0be735ec
+SHA256 (gnome-password-generator-1.6.tar.gz) = 9e4d9dd39f6fb6ce9f643b20fba2e6824ceccc5d8bb1cedeb7e8a00d7ec35340
+SIZE (gnome-password-generator-1.6.tar.gz) = 22170