mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-11 02:50:24 +00:00
f0a4256b91
- Reduce Makefile header
33 lines
914 B
Makefile
33 lines
914 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= cppi
|
|
PORTVERSION= 1.17
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= johans@FreeBSD.org
|
|
COMMENT= A tool to indent the C preprocessor directives
|
|
|
|
USE_XZ= yes
|
|
USE_GETTEXT= yes
|
|
GNU_CONFIGURE= yes
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
MAN1= cppi.1
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MNLS}
|
|
USE_GETTEXT= yes
|
|
PLIST_SUB+= NLS=""
|
|
.else
|
|
CONFIGURE_ARGS+=--disable-nls
|
|
PLIST_SUB+= NLS="@comment "
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's:(libdir)/lib:(libdir):' ${WRKSRC}/Makefile.in
|
|
|
|
.include <bsd.port.mk>
|