24a0fea2d5
- regen WANTLIB/PLIST/PATCHES - use SUBST_CMD from gleydson soares
46 lines
1.2 KiB
Makefile
46 lines
1.2 KiB
Makefile
# $OpenBSD: Makefile,v 1.33 2011/04/25 12:39:31 jasper Exp $
|
|
|
|
COMMENT= biff-type program, designed to match AfterStep
|
|
|
|
DISTNAME= asmail-0.56
|
|
REVISION = 4
|
|
CATEGORIES= mail
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=asmail/}
|
|
|
|
HOMEPAGE= http://asmail.sourceforge.net/
|
|
|
|
LIB_DEPENDS= graphics/jpeg
|
|
|
|
# GPLv2
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
WANTLIB= ICE SM X11 Xext Xpm Xt c jpeg>=62
|
|
|
|
USE_GROFF = Yes
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ARGS= --enable-shaping
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
pre-configure:
|
|
${SUBST_CMD} ${WRKSRC}/sample.asmailrc
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/include/X11/pixmaps/cloud-e
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/asmail
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/asmail
|
|
${INSTALL_MAN} ${WRKSRC}/asmail.man ${PREFIX}/man/cat1/asmail.0
|
|
${INSTALL_DATA} ${WRKSRC}/pixmaps/cloud-e/*.xpm ${PREFIX}/include/X11/pixmaps/cloud-e
|
|
${INSTALL_DATA} ${WRKSRC}/pixmaps/*.xpm ${PREFIX}/include/X11/pixmaps
|
|
${INSTALL_DATA} ${WRKSRC}/sample.asmailrc ${PREFIX}/share/examples/asmail
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/asmail
|
|
|
|
.include <bsd.port.mk>
|