1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/devel/st/Makefile
Felippe de Meirelles Motta 05ba18d9f8 - Fix Makefile to install event module recently added
- Make portlint happy

PR:		ports/162602, ports/173447
Submitted by:	Mark Delany <z2n@delta.emu.st>, Kevin Day <kevin@your.org>
2013-02-07 19:17:55 +00:00

41 lines
1021 B
Makefile

# Created by: tobez
# $FreeBSD$
#
PORTNAME= st
PORTVERSION= 1.9
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= SF/${PORTNAME}ate-threads/${PORTNAME}ate-threads/${PORTVERSION}
MAINTAINER= lippe@FreeBSD.org
COMMENT= State Threads Library for Internet Applications
USE_LDCONFIG= yes
ONLY_FOR_ARCHS= i386 alpha amd64
DOCS= fig.gif notes.html reference.html st.html \
timeout_heap.txt
EXAMPLES= Makefile README error.c lookupdns.c proxy.c \
res.c server.c
.include <bsd.port.pre.mk>
post-patch:
@${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/examples/Makefile
@${CP} ${FILESDIR}/Makefile.main ${WRKSRC}/Makefile
@${CP} ${FILESDIR}/Makefile.examples ${WRKSRC}/examples/Makefile
post-install:
@${CP} ${WRKSRC}/public.h ${PREFIX}/include/st.h
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/docs/,} ${DOCSDIR}/
.endif
.if ${PORT_OPTIONS:MEXAMPLES}
@${MKDIR} ${EXAMPLESDIR}
@${INSTALL_DATA} ${EXAMPLES:S,^,${WRKSRC}/examples/,} ${EXAMPLESDIR}/
.endif
.include <bsd.port.post.mk>