openbsd-ports/mail/prepop/Makefile

31 lines
684 B
Makefile

# $OpenBSD: Makefile,v 1.11 2011/03/14 20:49:49 jasper Exp $
COMMENT= simple interactive POP3 client
DISTNAME= prepop-0.1b7
REVISION = 1
CATEGORIES= mail
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c m readline stdc++ termcap
MAKE_FLAGS= \
CC='${CXX}' \
CFLAGS='${CFLAGS} -c -DVERSION="$${VERSION}" -DDATE="$${DATE}"' \
LDFLAGS='-lreadline -ltermcap'
ALL_TARGET= compile link
NO_REGRESS= Yes
do-install:
${INSTALL_PROGRAM} ${WRKBUILD}/prepop ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/prepop
${INSTALL_DATA} ${WRKSRC}/MANUAL ${PREFIX}/share/doc/prepop
.include <bsd.port.mk>