openbsd-ports/devel/m4/Makefile

30 lines
603 B
Makefile

# $OpenBSD: Makefile,v 1.29 2012/01/06 23:08:01 sthen Exp $
COMMENT= GNU m4
DISTNAME= m4-1.4.16
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU:=m4/}
EXTRACT_SUFX= .tar.bz2
HOMEPAGE= http://www.gnu.org/software/m4/
# GPLv3
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c sigsegv
LIB_DEPENDS= devel/libsigsegv
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --program-prefix="g"
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/gm4
${INSTALL_DATA} ${WRKSRC}/examples/*.m4 ${PREFIX}/share/examples/gm4
.include <bsd.port.mk>