View | Details | Raw Unified | Return to bug 138530
Collapse All | Expand All

(-)yapet/Makefile (-13 / +26 lines)
Lines 6-20 Link Here
6
#
6
#
7
7
8
PORTNAME=	yapet
8
PORTNAME=	yapet
9
PORTVERSION=	0.4
9
PORTVERSION=	0.6
10
PORTREVISION=	1
11
CATEGORIES=	security
10
CATEGORIES=	security
12
MASTER_SITES=	http://www.guengel.ch/myapps/yapet/downloads/ http://homepage.hispeed.ch/rostertag/yapet/
11
MASTER_SITES=	http://www.guengel.ch/myapps/yapet/downloads/ http://homepage.hispeed.ch/rostertag/yapet/
13
12
14
PATCH_SITES=	http://www.guengel.ch/myapps/yapet/downloads/patches/ http://homepage.hispeed.ch/rostertag/yapet/patches/
15
PATCHFILES=	yapet_cfgfile-0.4.diff yapet_csv2yapet-0.4.diff
16
PATCH_DIST_STRIP=	-p1
17
18
MAINTAINER=	rafi@guengel.ch
13
MAINTAINER=	rafi@guengel.ch
19
COMMENT=	A curses based password manager
14
COMMENT=	A curses based password manager
20
15
Lines 23-42 Link Here
23
18
24
USE_OPENSSL=	yes
19
USE_OPENSSL=	yes
25
GNU_CONFIGURE=	yes
20
GNU_CONFIGURE=	yes
26
USE_AUTOTOOLS=	autoconf:262 automake:110 aclocal:110
27
ACLOCAL_ARGS=	-I m4
28
21
29
OPTIONS=	TTITLE "Enable Terminal Title" ON \
22
OPTIONS=	TTITLE "Enable Terminal Title" ON \
23
		PWGEN "Enable Password Generator" ON \
30
		CSV2YAPET "Build csv2yapet" ON
24
		CSV2YAPET "Build csv2yapet" ON
31
25
32
.include <bsd.port.pre.mk>
26
.include <bsd.port.pre.mk>
33
27
28
# --enable-silent-rules:  will make the build quiet
29
# --disable-install-doc:  I take care of installing docs
30
CONFIGURE_ARGS+=	--enable-silent-rules --disable-install-doc
31
34
.if defined(WITH_TTITLE)
32
.if defined(WITH_TTITLE)
35
CONFIGURE_ARGS+=	--enable-terminal-title
33
CONFIGURE_ARGS+=	--enable-terminal-title
36
.else
34
.else
37
CONFIGURE_ARGS+=	--disable-terminal-title
35
CONFIGURE_ARGS+=	--disable-terminal-title
38
.endif
36
.endif
39
37
38
.if defined(WITH_PWGEN)
39
CONFIGURE_ARGS+=	--enable-pwgen
40
.else
41
CONFIGURE_ARGS+=	--disable-pwgen
42
.endif
43
40
.if defined(WITH_CSV2YAPET)
44
.if defined(WITH_CSV2YAPET)
41
CONFIGURE_ARGS+=	--enable-csv2yapet
45
CONFIGURE_ARGS+=	--enable-csv2yapet
42
MAN1+=			csv2yapet.1
46
MAN1+=			csv2yapet.1
Lines 48-56 Link Here
48
52
49
.if !defined(WITHOUT_NLS)
53
.if !defined(WITHOUT_NLS)
50
USE_GETTEXT=		yes
54
USE_GETTEXT=		yes
55
CONFIGURE_ARGS+=	--enable-nls
56
PLIST_SUB+=		NLS=""
51
CPPFLAGS+=		-I${LOCALBASE}/include
57
CPPFLAGS+=		-I${LOCALBASE}/include
52
LDFLAGS+=		-L${LOCALBASE}/lib
58
LDFLAGS+=		-L${LOCALBASE}/lib
53
PLIST_SUB+=		NLS=""
54
CONFIGURE_ENV=		CPPFLAGS="${CPPFLAGS}" \
59
CONFIGURE_ENV=		CPPFLAGS="${CPPFLAGS}" \
55
			LDFLAGS="${LDFLAGS}"
60
			LDFLAGS="${LDFLAGS}"
56
.else
61
.else
Lines 59-71 Link Here
59
.endif
64
.endif
60
65
61
.if !defined(NOPORTDOCS)
66
.if !defined(NOPORTDOCS)
62
CONFIGURE_ARGS+=	--enable-install-doc
63
PLIST_SUB+=		NOPORTDOCS=""
67
PLIST_SUB+=		NOPORTDOCS=""
64
.else
68
.else
65
CONFIGURE_ARGS+=	--disable-install-doc
66
PLIST_SUB+=		NOPORTDOCS="@comment "
69
PLIST_SUB+=		NOPORTDOCS="@comment "
67
.undef MAN1
70
.endif
68
.undef MANCOMPRESSED
71
72
# Taking care of installing docs due to --disable-install-doc
73
# configure switch.
74
post-install:
75
.if !defined(NOPORTDOCS)
76
	${MKDIR} ${DOCSDIR}
77
	${INSTALL_MAN} ${WRKSRC}/AUTHORS ${DOCSDIR}
78
	${INSTALL_MAN} ${WRKSRC}/DESIGN ${DOCSDIR}
79
	${INSTALL_MAN} ${WRKSRC}/LICENSE ${DOCSDIR}
80
	${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}
81
	${INSTALL_MAN} ${WRKSRC}/THANKS ${DOCSDIR}
69
.endif
82
.endif
70
83
71
.include <bsd.port.post.mk>
84
.include <bsd.port.post.mk>
(-)yapet/distinfo (-9 / +3 lines)
Lines 1-9 Link Here
1
MD5 (yapet-0.4.tar.gz) = 9efad0e6b5337b0171d77ee2bf9cecc9
1
MD5 (yapet-0.6.tar.gz) = 30ee2bf2d4658e667b8eea4a62704b76
2
SHA256 (yapet-0.4.tar.gz) = ae758cd0778e6f55e0dca63f22ce8bca3a77860646324d43ff09539d667d3ae2
2
SHA256 (yapet-0.6.tar.gz) = 78a57878d7085bd2f2fe503c392c3955eef1304ad2678a5646342d92995a70fb
3
SIZE (yapet-0.4.tar.gz) = 535666
3
SIZE (yapet-0.6.tar.gz) = 2921149
4
MD5 (yapet_cfgfile-0.4.diff) = 961fd692fb3554de2e7947e0bdb2afae
5
SHA256 (yapet_cfgfile-0.4.diff) = 38f14e88702a07264231924a9831e363332909c7cc0daa6af1f12e752e98250e
6
SIZE (yapet_cfgfile-0.4.diff) = 15064
7
MD5 (yapet_csv2yapet-0.4.diff) = 80e8bd649174334b5748b2f9e70a4ce4
8
SHA256 (yapet_csv2yapet-0.4.diff) = f71f5a51551f7e7d8fc69393b15e8a7157d71dae89ac617a9fb9b6ce423de86e
9
SIZE (yapet_csv2yapet-0.4.diff) = 157466
(-)yapet/files/patch-Makefile.am (-22 lines)
Lines 1-22 Link Here
1
--- Makefile.am	2009-07-11 21:13:35.000000000 +0200
2
+++ Makefile.am	2009-07-19 16:59:36.228663464 +0200
3
@@ -1,7 +1,7 @@
4
 # 
5
 
6
 AUTOMAKE_OPTIONS = check-news dist-bzip2
7
-DISTCHECK_CONFIGURE_FLAGS = --enable-csv2yapet --enable-terminal-title --disable-source-doc
8
+DISTCHECK_CONFIGURE_FLAGS = --enable-csv2yapet --enable-terminal-title --disable-source-doc --enable-install-doc
9
 
10
 EXTRA_DIST = config.rpath m4/ChangeLog README.Cygwin MAINTAINER DESIGN LICENSE	\
11
 INSTALL.generic Makefile.cvs yapet.desktop.in intl.h gettext.h BUGS
12
@@ -15,8 +15,10 @@
13
 desktopfile_DATA = yapet.desktop
14
 desktopfiledir = $(datadir)/applications
15
 
16
+if !DISABLEINSTALLDOC
17
 textdoc_DATA = README COPYING AUTHORS DESIGN LICENSE
18
 textdocdir = $(docdir)
19
+endif # !DISABLEINSTALLDOC
20
 
21
 editfile = $(SED) -e 's|@PACKAGE_STRING[@]|$(PACKAGE_STRING)|g' \
22
 	-e 's|@PACKAGE_VERSION[@]|$(PACKAGE_VERSION)|g' \
(-)yapet/files/patch-configure.ac (-33 lines)
Lines 1-33 Link Here
1
--- configure.ac	2009-07-11 21:26:00.000000000 +0200
2
+++ configure.ac	2009-07-19 16:49:39.328663575 +0200
3
@@ -51,6 +51,14 @@
4
 	[AS_HELP_STRING([--enable-build-doc],[enable the rebuild of the documentation (Requires xsltproc, lynx; Default: no)])],
5
 	[my_builddoc=$enableval],
6
 	[my_builddoc=no])
7
+AC_ARG_ENABLE([install-doc],
8
+	[AS_HELP_STRING([--disable-install-doc],[disable the installation of the documentation (man pages, text and html files; Default: no)])],
9
+	[if test x$enableval = xno ; then
10
+	my_disableinstalldoc=yes
11
+	else
12
+	my_disableinstalldoc=no
13
+	fi],
14
+	[my_disableinstalldoc=no])
15
 AC_ARG_ENABLE([source-doc],
16
 	[AS_HELP_STRING([--enable-source-doc],[enable the build of the source code documentention (Requires doxygen; default: no)])],
17
 	[my_buildsourcedoc=$enableval],
18
@@ -180,6 +188,7 @@
19
 AM_CONDITIONAL([HAVEXSLTPROC], [test x$XSLTPROC != xno -a x$LYNX != xno])
20
 AM_CONDITIONAL([USE_INCLUDED_LIBINTL], [test x$USE_INCLUDED_LIBINTL = xyes])
21
 AM_CONDITIONAL([BUILDCSV2YAPET], [test x$my_buildcsv2yapet = xyes])
22
+AM_CONDITIONAL([DISABLEINSTALLDOC], [test x$my_disableinstalldoc = xyes])
23
 AC_CONFIG_FILES([Makefile
24
 	intl/Makefile
25
 	po/Makefile.in
26
@@ -207,6 +216,7 @@
27
 echo "Docbook XSL         : $DOCBOOKXSL"
28
 echo ""
29
 echo "Build Documentation : $my_builddoc"
30
+echo "Disable install Doc.: $my_disableinstalldoc"
31
 echo "Build Source Doc.   : $my_buildsourcedoc"
32
 echo "Set Terminal Title  : $my_settitle"
33
 echo "Build csv2yapet     : $my_buildcsv2yapet"
(-)yapet/files/patch-doc-Makefile.am (-39 lines)
Lines 1-39 Link Here
1
--- doc/Makefile.am	2009-07-12 12:55:26.000000000 +0200
2
+++ doc/Makefile.am	2009-07-19 16:57:52.880643243 +0200
3
@@ -1,16 +1,18 @@
4
 #
5
 
6
+if !DISABLEINSTALLDOC
7
 htmldoc_DATA = README.html DESIGN.html yapet.html
8
 if BUILDCSV2YAPET
9
 htmldoc_DATA += csv2yapet.html
10
-endif
11
+endif # BUILDCSV2YAPET
12
 htmldocdir = $(docdir)/html
13
 
14
 dist_man1_MANS = yapet.1
15
 
16
 if BUILDCSV2YAPET
17
 dist_man1_MANS += csv2yapet.1
18
-endif
19
+endif # BUILDCSV2YAPET
20
+endif # !DISABLEINSTALLDOC
21
 
22
 sed_files = README.sgml.in INSTALL.sgml.in DESIGN.sgml.in yapet.sgml.in	\
23
 csv2yapet.sgml.in README.Cygwin.sgml.in
24
@@ -91,6 +93,7 @@
25
 
26
 endif # HAVEDOXYGEN
27
 
28
+if !DISABLEINSTALLDOC
29
 if BUILDDOC
30
 
31
 if BUILDSOURCEDOC
32
@@ -106,6 +109,7 @@
33
 endif #BUILDSOURCEDOC
34
 
35
 endif # BUILDDOC
36
+endif # !DISABLEINSTALLDOC
37
 
38
 maintainer-clean-local:
39
 	rm -rf source-doc
(-)yapet/pkg-descr (-3 / +2 lines)
Lines 1-5 Link Here
1
YAPET is a curses based password encryption tool using the Blowfish
1
YAPET is a curses based password manager using the Blowfish encryption
2
encryption algorithm to store the password records encrypted on
2
algorithm to store passwords encrypted on disk.
3
disk.
4
3
5
WWW: http://www.guengel.ch/myapps/yapet/
4
WWW: http://www.guengel.ch/myapps/yapet/
(-)yapet/pkg-plist (-14 / +5 lines)
Lines 2-22 Link Here
2
%%CSV2YAPET%%bin/csv2yapet
2
%%CSV2YAPET%%bin/csv2yapet
3
share/applications/yapet.desktop
3
share/applications/yapet.desktop
4
%%NOPORTDOCS%%%%DOCSDIR%%/AUTHORS
4
%%NOPORTDOCS%%%%DOCSDIR%%/AUTHORS
5
%%NOPORTDOCS%%%%DOCSDIR%%/COPYING
6
%%NOPORTDOCS%%%%DOCSDIR%%/DESIGN
5
%%NOPORTDOCS%%%%DOCSDIR%%/DESIGN
7
%%NOPORTDOCS%%%%DOCSDIR%%/README
8
%%NOPORTDOCS%%%%DOCSDIR%%/LICENSE
6
%%NOPORTDOCS%%%%DOCSDIR%%/LICENSE
9
%%NOPORTDOCS%%%%DOCSDIR%%/html/DESIGN.html
7
%%NOPORTDOCS%%%%DOCSDIR%%/README
10
%%NOPORTDOCS%%%%DOCSDIR%%/html/README.html
8
%%NOPORTDOCS%%%%DOCSDIR%%/THANKS
11
%%NOPORTDOCS%%%%DOCSDIR%%/html/yapet.html
9
%%NLS%%share/locale/de/LC_MESSAGES/yapet.mo
12
%%NOPORTDOCS%%%%CSV2YAPET%%%%DOCSDIR%%/html/csv2yapet.html
10
@dirrmtry share/locale/de/LC_MESSAGES
13
%%NLS%%share/locale/de_AT/LC_MESSAGES/yapet.mo
11
@dirrmtry share/locale/de
14
%%NLS%%share/locale/de_CH/LC_MESSAGES/yapet.mo
15
%%NLS%%share/locale/de_DE/LC_MESSAGES/yapet.mo
16
@dirrmtry share/locale/de_DE/LC_MESSAGES
17
@dirrmtry share/locale/de_DE
18
@dirrmtry share/locale/de_CH/LC_MESSAGES
19
@dirrmtry share/locale/de_CH
20
%%NOPORTDOCS%%@dirrm %%DOCSDIR%%/html
21
%%NOPORTDOCS%%@dirrm %%DOCSDIR%%
12
%%NOPORTDOCS%%@dirrm %%DOCSDIR%%
22
@dirrmtry share/applications
13
@dirrmtry share/applications

Return to bug 138530