1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

Stagify. Fix LIB_DEPENDS.

Reviewed by:	flo (mentor)
Approved by:	flo (mentor)
This commit is contained in:
Michael Gmelin 2014-06-01 16:01:11 +00:00
parent fd2a6e212c
commit fe83049fbd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=356145
2 changed files with 8 additions and 9 deletions

View File

@ -10,29 +10,27 @@ MASTER_SITES= http://untroubled.org/${PORTNAME}/
MAINTAINER= uffe@uffe.org
COMMENT= Front-end for qmail-queue to run messages through filters
LIB_DEPENDS= bg-sysdeps.2:${PORTSDIR}/devel/bglibs
LIB_DEPENDS= libbg-sysdeps.so:${PORTSDIR}/devel/bglibs
BGLIBS_INC= ${LOCALBASE}/include/bglibs
BGLIBS_LIB= ${LOCALBASE}/lib/bglibs
MAN1= qmail-qfilter.1
DOCS= NEWS README TODO
NO_STAGE= yes
do-configure:
${ECHO_CMD} "${PREFIX}/bin" > ${WRKSRC}/conf-bin
${ECHO_CMD} "${MANPREFIX}/man" > ${WRKSRC}/conf-man
${ECHO_CMD} "${STAGEDIR}${PREFIX}/bin" > ${WRKSRC}/conf-bin
${ECHO_CMD} "${STAGEDIR}${MANPREFIX}/man" > ${WRKSRC}/conf-man
${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
${ECHO_CMD} "${CC} ${STRIP} ${LDFLAGS}" > ${WRKSRC}/conf-ld
${ECHO_CMD} "${BGLIBS_INC}" > ${WRKSRC}/conf-bgincs
${ECHO_CMD} "${BGLIBS_LIB}" > ${WRKSRC}/conf-bglibs
post-install:
@${MKDIR} ${EXAMPLESDIR}
cd ${WRKSRC} && ${INSTALL_DATA} samples/* ${EXAMPLESDIR}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC} && ${INSTALL_DATA} samples/* ${STAGEDIR}${EXAMPLESDIR}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>

View File

@ -1,4 +1,5 @@
bin/qmail-qfilter
man/man1/qmail-qfilter.1.gz
%%EXAMPLESDIR%%/README
%%EXAMPLESDIR%%/block-long-dates
%%EXAMPLESDIR%%/deny-filetypes