d1c026b4c0
From nicm's repo, which is a better fix than my original diff. OK nicm@
36 lines
927 B
Makefile
36 lines
927 B
Makefile
# $OpenBSD: Makefile,v 1.15 2012/03/22 10:47:14 sthen Exp $
|
|
|
|
COMMENT= fetch, filter and deliver mail
|
|
|
|
DISTNAME= fdm-1.6
|
|
REVISION= 3
|
|
CATEGORIES= mail
|
|
|
|
HOMEPAGE= http://fdm.sourceforge.net/
|
|
MAINTAINER= Nicholas Marriott <nicm@users.sourceforge.net>
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
WANTLIB= c crypto ssl z tdb>=3.0
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=fdm/}
|
|
|
|
LIB_DEPENDS += databases/tdb>=1.2.7
|
|
|
|
FAKE_FLAGS= PREFIX=${PREFIX}
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/fdm
|
|
${INSTALL_SCRIPT} ${WRKSRC}/fdm-sanitize ${PREFIX}/share/fdm
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/fdm
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/fdm
|
|
${INSTALL_DATA} ${WRKSRC}/MANUAL ${PREFIX}/share/doc/fdm
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/fdm
|
|
${INSTALL_DATA} ${WRKSRC}/examples/* ${PREFIX}/share/examples/fdm
|
|
|
|
.include <bsd.port.mk>
|