1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/devel/libshhopt/Makefile
Baptiste Daroussin f7c913d038 Support stage
Respect examplesdir
2014-01-21 01:01:15 +00:00

29 lines
732 B
Makefile

# Created by: Andrey Zakhvatov
# $FreeBSD$
PORTNAME= libshhopt
PORTVERSION= 1.1.7
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://shh.thathost.com/pub-unix/files/
DISTNAME= shhopt-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Library for parsing command line options
OPTIONS_DEFINE= DOCS EXAMPLES
USES= uidfix
MAKEFILE= ${FILESDIR}/Makefile.lib
USE_LDCONFIG= yes
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/CREDITS ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${FILESDIR}/Makefile ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/example.c ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>