diff options
-rw-r--r-- | sysutils/Makefile | 1 | ||||
-rw-r--r-- | sysutils/spassgen/Makefile | 49 | ||||
-rw-r--r-- | sysutils/spassgen/distinfo | 2 | ||||
-rw-r--r-- | sysutils/spassgen/pkg-descr | 6 | ||||
-rw-r--r-- | sysutils/spassgen/pkg-plist | 12 |
5 files changed, 70 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile index 744a4f1bd96d..0a45cac024a0 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -376,6 +376,7 @@ SUBDIR += snowlog SUBDIR += socket SUBDIR += socklog + SUBDIR += spassgen SUBDIR += spinner SUBDIR += srmt SUBDIR += ssync diff --git a/sysutils/spassgen/Makefile b/sysutils/spassgen/Makefile new file mode 100644 index 000000000000..b700326edef4 --- /dev/null +++ b/sysutils/spassgen/Makefile @@ -0,0 +1,49 @@ +# New ports collection makefile for: spassgen +# Date created: 29 Jul 2004 +# Whom: Rashid N. Achilov <shelton@granch.ru> +# +# $FreeBSD$ +# + +PORTNAME= spassgen +PORTVERSION= 1.5 +CATEGORIES= sysutils kde +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= spassgen + +MAINTAINER= shelton@granch.ru +COMMENT= Qt GUI secure password generator + +BUILD_DEPENDS= qmake:${PORTSDIR}/devel/qmake + +USE_QT_VER= 3 +USE_GMAKE= yes +USE_BZIP2= yes +USE_X_PREFIX= yes + +WRKSRC= ${WRKDIR}/${PORTNAME} +QMAKE_LOCATION= ${LOCALBASE}/bin + +MAKE_ENV+= QTDIR="${QT_PREFIX}" +DOCSDIR= share/doc/HTML/en/${PORTNAME} + +pre-build: + (cd ${WRKSRC}; \ + ${QMAKE_LOCATION}/qmake -project spassgen.pro; \ + ${SETENV} QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++ \ + ${QMAKE_LOCATION}/qmake) + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/spassgen ${PREFIX}/bin +.for i in 128x128 16x16 32x32 48x48 64x64 + ${MKDIR} ${PREFIX}/share/icons/hicolor/${i}/apps + ${INSTALL_DATA} ${WRKSRC}/icons/${i}/password.png ${PREFIX}/share/icons/hicolor/${i}/apps +.endfor +.if !defined(NOPORTDOCS) + ${MKDIR} ${PREFIX}/${DOCSDIR} +.for i in AUTHORS LICENCE README TODO INSTALL + ${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/${DOCSDIR} +.endfor +.endif + +.include <bsd.port.mk> diff --git a/sysutils/spassgen/distinfo b/sysutils/spassgen/distinfo new file mode 100644 index 000000000000..f7471c4ca112 --- /dev/null +++ b/sysutils/spassgen/distinfo @@ -0,0 +1,2 @@ +MD5 (spassgen-1.5.tar.bz2) = ed019dda56551fb860c74016baa91fa4 +SIZE (spassgen-1.5.tar.bz2) = 66808 diff --git a/sysutils/spassgen/pkg-descr b/sysutils/spassgen/pkg-descr new file mode 100644 index 000000000000..8b33fb664918 --- /dev/null +++ b/sysutils/spassgen/pkg-descr @@ -0,0 +1,6 @@ +A small program that generates passwords for you so you don't have to. +It can have 6-25 characters in length, and generate 1 to 100 passwords. +Passwords can have numbers, lower case letters, upper case letters, and +symbols. + +WWW: http://spassgen.sourceforge.net diff --git a/sysutils/spassgen/pkg-plist b/sysutils/spassgen/pkg-plist new file mode 100644 index 000000000000..7098c023f9c6 --- /dev/null +++ b/sysutils/spassgen/pkg-plist @@ -0,0 +1,12 @@ +bin/spassgen +%%PORTDOCS%%%%DOCSDIR%%/INSTALL +%%PORTDOCS%%%%DOCSDIR%%/LICENCE +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/TODO +%%PORTDOCS%%%%DOCSDIR%%/AUTHORS +share/icons/hicolor/128x128/apps/password.png +share/icons/hicolor/16x16/apps/password.png +share/icons/hicolor/32x32/apps/password.png +share/icons/hicolor/48x48/apps/password.png +share/icons/hicolor/64x64/apps/password.png +%%PORTDOCS%%@dirrm %%DOCSDIR%% |