From f9e76559818e174f01c31a760d25a6ae8b85033f Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Thu, 8 Sep 2016 17:53:13 +0000 Subject: - Fix build WITHOUT=EXAMPLES - While here, fix LICENSE, add LICENSE_FILE, switch to USES=ssl, switch to options helpers, unsilence installation PR: 207283 Submitted by: samorders@gmail.com Approved by: maintainer timeout (swills, 6 months) --- irc/bip/Makefile | 24 ++++++++++-------------- irc/bip/pkg-plist | 4 ++-- 2 files changed, 12 insertions(+), 16 deletions(-) (limited to 'irc') diff --git a/irc/bip/Makefile b/irc/bip/Makefile index 660f36a0431b..767dfab276d7 100644 --- a/irc/bip/Makefile +++ b/irc/bip/Makefile @@ -9,17 +9,16 @@ MASTER_SITES= https://projects.duckcorp.org/attachments/download/61/ MAINTAINER= swills@FreeBSD.org COMMENT= Simple IRC proxy with SSL support -LICENSE= GPLv2 +LICENSE= GPLv2+ +LICENSE_FILE= ${WRKSRC}/COPYING GNU_CONFIGURE= yes LDFLAGS+= -L${LOCALBASE}/lib CFLAGS+= -Wno-sign-compare -Wno-error -USES= cpe gmake +USES= cpe gmake ssl CPE_VENDOR= duckcorp INSTALL_TARGET= SUBDIR=src install-exec -USE_OPENSSL= yes - PATCH_STRIP= -p1 SUB_FILES= pkg-message @@ -28,25 +27,22 @@ EXAMPLEFILES= bip.conf bip.vim OPTIONS_DEFINE= DOCS EXAMPLES -.include - post-install: - @cd ${WRKSRC} && ${INSTALL} bip.1 ${STAGEDIR}${PREFIX}/man/man1 - @cd ${WRKSRC} && ${INSTALL} bipmkpw.1 ${STAGEDIR}${PREFIX}/man/man1 - @cd ${WRKSRC} && ${INSTALL} bip.conf.5 ${STAGEDIR}${PREFIX}/man/man5 + ${INSTALL_MAN} ${WRKSRC}/bip.1 ${STAGEDIR}${PREFIX}/man/man1 + ${INSTALL_MAN} ${WRKSRC}/bipmkpw.1 ${STAGEDIR}${PREFIX}/man/man1 + ${INSTALL_MAN} ${WRKSRC}/bip.conf.5 ${STAGEDIR}${PREFIX}/man/man5 -.if ${PORT_OPTIONS:MDOCS} +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for docs in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${docs} ${STAGEDIR}${DOCSDIR} .endfor -.endif -.if ${PORT_OPTIONS:MEXAMPLES} - @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + +post-install-EXAMPLES-on: + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} .for i in ${EXAMPLEFILES} ${INSTALL_DATA} ${WRKSRC}/samples/${i} ${STAGEDIR}${EXAMPLESDIR} .endfor -.endif .include diff --git a/irc/bip/pkg-plist b/irc/bip/pkg-plist index af5153841691..727dfebcc051 100644 --- a/irc/bip/pkg-plist +++ b/irc/bip/pkg-plist @@ -3,5 +3,5 @@ bin/bipmkpw man/man1/bip.1.gz man/man1/bipmkpw.1.gz man/man5/bip.conf.5.gz -%%EXAMPLESDIR%%/bip.conf -%%EXAMPLESDIR%%/bip.vim +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bip.conf +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bip.vim -- cgit v1.2.3