aboutsummaryrefslogtreecommitdiff
path: root/security/yapet
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2009-05-17 13:01:46 +0000
committerMartin Wilke <miwi@FreeBSD.org>2009-05-17 13:01:46 +0000
commit3a00a8ffdf9aa53b67aa9a81cb97b11d90e09134 (patch)
treefb780d69f984633d63a21296fe46b624ffaef7c6 /security/yapet
parent1fb0bacb5a2c07dbf47904d0613cbeb2970c2690 (diff)
downloadports-3a00a8ffdf9aa53b67aa9a81cb97b11d90e09134.tar.gz
ports-3a00a8ffdf9aa53b67aa9a81cb97b11d90e09134.zip
Notes
Diffstat (limited to 'security/yapet')
-rw-r--r--security/yapet/Makefile32
-rw-r--r--security/yapet/distinfo12
-rw-r--r--security/yapet/pkg-plist9
3 files changed, 34 insertions, 19 deletions
diff --git a/security/yapet/Makefile b/security/yapet/Makefile
index f5d98787df34..650ce75f7e9e 100644
--- a/security/yapet/Makefile
+++ b/security/yapet/Makefile
@@ -6,14 +6,9 @@
#
PORTNAME= yapet
-PORTVERSION= 0.2
-PORTREVISION= 1
+PORTVERSION= 0.3
CATEGORIES= security
-MASTER_SITES= http://www.guengel.ch/myapps/yapet/downloads/
-
-PATCH_SITES= http://www.guengel.ch/myapps/yapet/downloads/patches/
-PATCHFILES= yapet_gcc43-0.2.diff yapet_crs_bs-0.2.diff
-PATCH_DIST_STRIP=-p1
+MASTER_SITES= http://www.guengel.ch/myapps/yapet/downloads/ http://homepage.hispeed.ch/rostertag/yapet/
MAINTAINER= rafi@guengel.ch
COMMENT= A curses based password manager
@@ -21,8 +16,27 @@ COMMENT= A curses based password manager
MAN1= yapet.1
MANCOMPRESSED= no
+USE_OPENSSL= yes
GNU_CONFIGURE= yes
-USE_OPENSSL= yes
+OPTIONS= TTITLE "Enable Terminal Title" ON
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_TTITLE)
+CONFIGURE_ARGS+= --enable-terminal-title
+.endif
+
+.if !defined(WITHOUT_NLS)
+USE_GETTEXT= yes
+CPPFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
+PLIST_SUB+= NLS=""
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \
+ LDFLAGS="${LDFLAGS}"
+.else
+CONFIGURE_ARGS+= --disable-nls
+PLIST_SUB+= NLS="@comment "
+.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/security/yapet/distinfo b/security/yapet/distinfo
index 3ac12b6bd0f5..3c2b84f93fd2 100644
--- a/security/yapet/distinfo
+++ b/security/yapet/distinfo
@@ -1,9 +1,3 @@
-MD5 (yapet-0.2.tar.gz) = b8a55734cb22fe580316545c69dc824e
-SHA256 (yapet-0.2.tar.gz) = 3aa385d56609d51a1071622dabee1a03e24f9c1a1a951f884abf1afebd0bc2f0
-SIZE (yapet-0.2.tar.gz) = 486638
-MD5 (yapet_gcc43-0.2.diff) = d066a085819b8a8d8fa274965c43a705
-SHA256 (yapet_gcc43-0.2.diff) = 8a7754197dca855f593a25f798a14689837521dbfe734835c88775f7e7036e9e
-SIZE (yapet_gcc43-0.2.diff) = 2223
-MD5 (yapet_crs_bs-0.2.diff) = 386e1785b081fca0567b23c2bf4e73f6
-SHA256 (yapet_crs_bs-0.2.diff) = d29994bfe53af057b44a62d7e3dac1b052d5445685b3ee591c7901fb1e751fde
-SIZE (yapet_crs_bs-0.2.diff) = 2235
+MD5 (yapet-0.3.tar.gz) = 4aeef814ea613178b0b5075ef2f44c17
+SHA256 (yapet-0.3.tar.gz) = 60b54f179783315351bce26d92a34974889d92dbfa2a936bdb1b9e74cabd8580
+SIZE (yapet-0.3.tar.gz) = 859076
diff --git a/security/yapet/pkg-plist b/security/yapet/pkg-plist
index aab21b8f6cf0..b9da00b48f73 100644
--- a/security/yapet/pkg-plist
+++ b/security/yapet/pkg-plist
@@ -4,9 +4,16 @@ share/applications/yapet.desktop
%%DOCSDIR%%/COPYING
%%DOCSDIR%%/DESIGN
%%DOCSDIR%%/README
-%%DOCSDIR%%/html/yapet.html
%%DOCSDIR%%/html/DESIGN.html
%%DOCSDIR%%/html/README.html
+%%DOCSDIR%%/html/yapet.html
+%%NLS%%share/locale/de_AT/LC_MESSAGES/yapet.mo
+%%NLS%%share/locale/de_CH/LC_MESSAGES/yapet.mo
+%%NLS%%share/locale/de_DE/LC_MESSAGES/yapet.mo
+@dirrmtry share/locale/de_DE/LC_MESSAGES
+@dirrmtry share/locale/de_DE
+@dirrmtry share/locale/de_CH/LC_MESSAGES
+@dirrmtry share/locale/de_CH
@dirrm %%DOCSDIR%%/html
@dirrm %%DOCSDIR%%
@dirrmtry share/applications