head	1.11;
access;
symbols
	RELEASE_8_3_0:1.10
	RELEASE_9_0_0:1.10
	RELEASE_7_4_0:1.9
	RELEASE_8_2_0:1.9
	RELEASE_6_EOL:1.9
	RELEASE_8_1_0:1.8
	RELEASE_7_3_0:1.7
	RELEASE_8_0_0:1.7
	RELEASE_7_2_0:1.3
	RELEASE_7_1_0:1.3
	RELEASE_6_4_0:1.3
	RELEASE_5_EOL:1.1;
locks; strict;
comment	@# @;


1.11
date	2012.11.17.06.01.23;	author svnexp;	state Exp;
branches;
next	1.10;

1.10
date	2011.09.23.22.25.20;	author amdmi3;	state Exp;
branches;
next	1.9;

1.9
date	2010.09.20.13.50.20;	author decke;	state Exp;
branches;
next	1.8;

1.8
date	2010.05.31.02.00.54;	author ade;	state Exp;
branches;
next	1.7;

1.7
date	2009.09.04.17.07.44;	author wxs;	state Exp;
branches;
next	1.6;

1.6
date	2009.07.25.07.48.11;	author beat;	state Exp;
branches;
next	1.5;

1.5
date	2009.07.13.22.21.10;	author miwi;	state Exp;
branches;
next	1.4;

1.4
date	2009.05.17.13.01.46;	author miwi;	state Exp;
branches;
next	1.3;

1.3
date	2008.08.15.00.22.12;	author edwin;	state Exp;
branches;
next	1.2;

1.2
date	2008.07.20.18.41.53;	author miwi;	state Exp;
branches;
next	1.1;

1.1
date	2008.03.03.09.11.34;	author vanilla;	state Exp;
branches;
next	;


desc
@@


1.11
log
@Switch exporter over
@
text
@# New ports collection makefile for:	yapet
# Date created:		01 March 2008
# Whom:			Rafael Ostertag <rafi@@guengel.ch>
#
# $FreeBSD: head/security/yapet/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=	yapet
PORTVERSION=	0.7
CATEGORIES=	security
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

MAN1=		yapet.1
MANCOMPRESSED=	no

USE_OPENSSL=	yes
GNU_CONFIGURE=	yes

OPTIONS=	TTITLE "Enable Terminal Title" ON \
		PWGEN "Enable Password Generator" ON \
		CSV2YAPET "Build csv2yapet" ON

.include <bsd.port.pre.mk>

# --enable-silent-rules:  will make the build quiet
# --disable-install-doc:  I take care of installing docs
CONFIGURE_ARGS+=	--enable-silent-rules --disable-install-doc

.if defined(WITH_TTITLE)
CONFIGURE_ARGS+=	--enable-terminal-title
.else
CONFIGURE_ARGS+=	--disable-terminal-title
.endif

.if defined(WITH_PWGEN)
CONFIGURE_ARGS+=	--enable-pwgen
.else
CONFIGURE_ARGS+=	--disable-pwgen
.endif

.if defined(WITH_CSV2YAPET)
CONFIGURE_ARGS+=	--enable-csv2yapet
MAN1+=			csv2yapet.1
PLIST_SUB+=		CSV2YAPET=""
.else
CONFIGURE_ARGS+=	--disable-csv2yapet
PLIST_SUB+=		CSV2YAPET="@@comment "
.endif

.if !defined(WITHOUT_NLS)
USE_GETTEXT=		yes
CONFIGURE_ARGS+=	--enable-nls
PLIST_SUB+=		NLS=""
CPPFLAGS+=		-I${LOCALBASE}/include
LDFLAGS+=		-L${LOCALBASE}/lib
.else
CONFIGURE_ARGS+=	--disable-nls
PLIST_SUB+=		NLS="@@comment "
.endif

.if !defined(NOPORTDOCS)
PLIST_SUB+=		NOPORTDOCS=""
.else
PLIST_SUB+=		NOPORTDOCS="@@comment "
.endif

# Taking care of installing docs due to --disable-install-doc
# configure switch.
post-install:
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
	${INSTALL_MAN} ${WRKSRC}/AUTHORS ${DOCSDIR}
	${INSTALL_MAN} ${WRKSRC}/DESIGN ${DOCSDIR}
	${INSTALL_MAN} ${WRKSRC}/LICENSE ${DOCSDIR}
	${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}
	${INSTALL_MAN} ${WRKSRC}/THANKS ${DOCSDIR}
.endif

.include <bsd.port.post.mk>
@


1.10
log
@- Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.9
log
@- Update to 0.7

PR:		ports/150730
Submitted by:	Rafael Ostertag <rafi at guengel dot ch> (maintainer)
Approved by:	beat (co-mentor, implicit)
@
text
@a58 2
CONFIGURE_ENV=		CPPFLAGS="${CPPFLAGS}" \
			LDFLAGS="${LDFLAGS}"
@


1.8
log
@Bounce PORTREVISION for gettext-related ports.  Have fun, ya'll.
@
text
@d9 1
a9 2
PORTVERSION=	0.6
PORTREVISION=	1
@


1.7
log
@- Update to 0.6
- Add option to enable password generator
- Respect NOPORTDOCS
- Fix pkg-descr to be more accurate

PR:		ports/138530
Submitted by:	Rafael Ostertag <rafi@@guengel.ch> (maintainer)
@
text
@d10 1
@


1.6
log
@- Add patch to fix bug "load option in ~/.yapet does not append the
  suffix" (see http://bugs.guengel.ch/show_bug.cgi?id=3)
- Add patch to fix bug "Fields containing the field delimiter confuses
  csv2yapet" (see http://bugs.guengel.ch/show_bug.cgi?id=6)
- Honor NOPORTDOCS
- Bump PORTREVISION

PR:		ports/136910
Submitted by:	Rafael Ostertag <rafi AT guengel.ch> (maintainer)
@
text
@d9 1
a9 2
PORTVERSION=	0.4
PORTREVISION=	1
a12 4
PATCH_SITES=	http://www.guengel.ch/myapps/yapet/downloads/patches/ http://homepage.hispeed.ch/rostertag/yapet/patches/
PATCHFILES=	yapet_cfgfile-0.4.diff yapet_csv2yapet-0.4.diff
PATCH_DIST_STRIP=	-p1

a20 2
USE_AUTOTOOLS=	autoconf:262 automake:110 aclocal:110
ACLOCAL_ARGS=	-I m4
d23 1
d28 4
d38 6
d55 2
a58 1
PLIST_SUB+=		NLS=""
a66 1
CONFIGURE_ARGS+=	--enable-install-doc
a68 1
CONFIGURE_ARGS+=	--disable-install-doc
d70 12
a81 2
.undef MAN1
.undef MANCOMPRESSED
@


1.5
log
@- Update to 0.4

PR:		136694
Submitted by:	Rafael Ostertag <rafi@@guengel.ch> (maintainer)
@
text
@d10 1
d14 4
d26 2
d61 10
@


1.4
log
@- Update to 0.3

PR:		133713
Submitted by:	Rafael Ostertag <rafi@@guengel.ch> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	0.3
d22 2
a23 1
OPTIONS=		TTITLE "Enable Terminal Title" ON
d29 11
@


1.3
log
@[maintainer update] security/yapet: port update to 0.2_1

	Port update to 0.2_1 in order to incorporate software patches.

PR:		ports/126335
Submitted by:	Rafael Ostertag <rafi@@guengel.ch>
@
text
@d9 1
a9 2
PORTVERSION=	0.2
PORTREVISION=	1
d11 1
a11 5
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
d19 1
d22 19
a40 1
USE_OPENSSL=	yes
d42 1
a42 1
.include <bsd.port.mk>
@


1.2
log
@- Update to 0.2

PR:		125807
Submitted by:	maintainer
@
text
@d10 1
d14 4
@


1.1
log
@Add yapet 0.1, a curses based password manager.

PR:		ports/121293
Submitted by:	Rafael Ostertag <rafi at guengel.ch>
@
text
@d9 1
a9 1
PORTVERSION=	0.1
@

