1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00
freebsd-ports/security/gcipher/Makefile
Joe Marcus Clarke 29747f458a Chase the GNOME X11BASE to LOCALBASE move, and fix the build with the
new freetype2 where needed.

Submitted by:	mezz, ahze, pav, and many others
Approved by:	portmgr (implicit, kris)
2006-10-14 08:54:54 +00:00

61 lines
1.5 KiB
Makefile

# 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= 6
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/gnome/gcipher
MAN1= gcipher.1
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/gnome/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>