mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-17 08:01:36 +00:00
7074d7f6ae
While here move some manpages to share/man
45 lines
980 B
Makefile
45 lines
980 B
Makefile
PORTNAME= pwsafe
|
|
DISTVERSION= 0.2.2beta-196
|
|
PORTREVISION= 1
|
|
DISTVERSIONSUFFIX= -g4bf61c5
|
|
CATEGORIES= sysutils
|
|
|
|
MAINTAINER= m.ne@gmx.net
|
|
COMMENT= Command-line encrypted password database manager
|
|
WWW= https://github.com/nsd20463/pwsafe/
|
|
|
|
LICENSE= GPLv2+
|
|
|
|
FLAVORS= x11 nox11
|
|
FLAVOR?= ${FLAVORS:[1]}
|
|
nox11_PKGNAMESUFFIX= -nox11
|
|
|
|
USES= autoreconf gmake ncurses readline ssl
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= ac_cv_header_curses_h=yes
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= nsd20463
|
|
GH_TAGNAME= 4bf61c5
|
|
|
|
PLIST_FILES= bin/pwsafe \
|
|
share/man/man1/pwsafe.1.gz
|
|
|
|
OPTIONS_DEFINE= SETUID
|
|
SETUID_DESC= Install setuid pwsafe binary
|
|
|
|
.if ${FLAVOR} == "x11"
|
|
USES+= xorg
|
|
USE_XORG= ice sm x11 xmu
|
|
.elif ${FLAVOR} == "nox11"
|
|
CONFIGURE_ARGS+= --without-x
|
|
.endif
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/pwsafe ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/pwsafe.1 ${STAGEDIR}${PREFIX}/share/man/man1
|
|
|
|
post-install-SETUID-on:
|
|
${CHMOD} u+s ${STAGEDIR}${PREFIX}/bin/pwsafe
|
|
|
|
.include <bsd.port.mk>
|