summaryrefslogtreecommitdiffstats
path: root/security/gcipher/Makefile
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2007-08-07 03:07:30 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2007-08-07 03:07:30 +0800
commit02216c59d520c7dfc03710d14791f0461e8a1a5a (patch)
tree8181925af4848075d9453fa943a1f854bde6148c /security/gcipher/Makefile
parentaa0845cfb3c57b441e18b7816d72927d0f746d41 (diff)
downloadmarcuscom-ports-02216c59d520c7dfc03710d14791f0461e8a1a5a.tar
marcuscom-ports-02216c59d520c7dfc03710d14791f0461e8a1a5a.tar.gz
marcuscom-ports-02216c59d520c7dfc03710d14791f0461e8a1a5a.tar.bz2
marcuscom-ports-02216c59d520c7dfc03710d14791f0461e8a1a5a.tar.lz
marcuscom-ports-02216c59d520c7dfc03710d14791f0461e8a1a5a.tar.xz
marcuscom-ports-02216c59d520c7dfc03710d14791f0461e8a1a5a.tar.zst
marcuscom-ports-02216c59d520c7dfc03710d14791f0461e8a1a5a.zip
-share/gnome/ -> share/.
-Fix a few of hardcore paths such as respect PREFIX. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9359 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'security/gcipher/Makefile')
-rw-r--r--security/gcipher/Makefile64
1 files changed, 64 insertions, 0 deletions
diff --git a/security/gcipher/Makefile b/security/gcipher/Makefile
new file mode 100644
index 000000000..92a77f22b
--- /dev/null
+++ b/security/gcipher/Makefile
@@ -0,0 +1,64 @@
+# New ports collection makefile for: gcipher
+# Date created: 25 June 2003
+# Whom: Shannon -jj Behrens <jjinux@yahoo.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gcipher
+PORTVERSION= 1.0
+PORTREVISION= 8
+CATEGORIES= security gnome
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= jjinux@yahoo.com
+COMMENT= A simple encryption tool
+
+RUN_DEPENDS= ${PYTHON_SITELIBDIR}/gtk-2.0/gnome/__init__.py:${PORTSDIR}/x11-toolkits/py-gnome2
+
+USE_PYTHON= yes
+USE_XLIB= yes
+USE_GNOME= libgnomeui
+
+GCIPHER_PREFIX= ${PREFIX}/share/gcipher
+
+MAN1= gcipher.1
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \
+ ${WRKSRC}/src/Const.py ${WRKSRC}/src/gcipher
+
+do-build:
+ (cd ${WRKSRC}/src; \
+ ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py .)
+
+do-install:
+ ${MKDIR} \
+ ${GCIPHER_PREFIX}/lib/cipher \
+ ${GCIPHER_PREFIX}/lib/ciphergui \
+ ${GCIPHER_PREFIX}/plugins/cipher \
+ ${GCIPHER_PREFIX}/plugins/ciphergui
+
+ (cd ${WRKSRC}; \
+ ${INSTALL_MAN} gcipher.1 ${PREFIX}/man/man1; \
+ ${INSTALL_DATA} CONTRIB LICENSE README "${GCIPHER_PREFIX}")
+
+ (cd ${WRKSRC}/src; \
+ ${INSTALL_SCRIPT} gcipher ${PREFIX}/bin/gcipher; \
+ ${INSTALL_DATA} gcipher.desktop ${PREFIX}/share/applications; \
+ for i in `${FIND} . -name '*.py' \
+ -o -name '*.pyc' \
+ -o -name '*.glade' \
+ -o -name '*.gladep'`; do \
+ ${INSTALL_DATA} "$$i" "${GCIPHER_PREFIX}/lib/$$i"; \
+ done)
+
+ (cd ${WRKSRC}/plugins; \
+ for i in `${FIND} . -name '*.py' \
+ -o -name '*.glade' \
+ -o -name '*.gladep'`; do \
+ ${INSTALL_DATA} "$$i" "${GCIPHER_PREFIX}/plugins/$$i"; \
+ done)
+
+.include <bsd.port.mk>