mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
877dce2447
Approved by: bapt@ (co-mentor)
32 lines
755 B
Makefile
32 lines
755 B
Makefile
# Created by: roberto
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= getline
|
|
PORTVERSION= 3.9
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://rodrigo.osorio.free.fr/freebsd/distfiles/
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:R}${PORTVERSION:E}-src
|
|
|
|
MAINTAINER= rodrigo@FreeBSD.org
|
|
COMMENT= Small, portable, and easy to use command line library
|
|
|
|
LICENSE= BSD
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME:S/-src//}
|
|
|
|
USE_LDCONFIG= yes
|
|
|
|
MAKE_ENV+= AR="${AR}"
|
|
MAKE_ENV+= CC="${CC}"
|
|
MAKE_ENV+= INSTALL="${INSTALL}"
|
|
MAKE_ENV+= LN="${LN}"
|
|
MAKE_ENV+= RANLIB="${RANLIB}"
|
|
MAKE_ENV+= INST_INCDIR="${STAGEDIR}${PREFIX}/include"
|
|
MAKE_ENV+= INST_LIBDIR="${STAGEDIR}${PREFIX}/lib"
|
|
MAKE_ENV+= INST_MANDIR="${STAGEDIR}${PREFIX}/man"
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgetline.so
|
|
|
|
.include <bsd.port.mk>
|