openbsd-ports/net/libst/Makefile

48 lines
1.3 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.16 2010/07/18 18:49:01 naddy Exp $
# see md.h, add others
2009-10-06 05:25:12 -04:00
ONLY_FOR_ARCHS = amd64 alpha i386 sparc
2009-10-06 05:25:12 -04:00
COMMENT = threaded library for writing Internet applications
2009-10-06 05:25:12 -04:00
DISTNAME = st-1.9
PKGNAME = lib${DISTNAME}
SHARED_LIBS = st 2.0
CATEGORIES = net devel
2009-10-06 05:25:12 -04:00
HOMEPAGE = http://state-threads.sourceforge.net/
2009-10-06 05:25:12 -04:00
MAINTAINER = Benoit Lecocq <benoit@openbsd.org>
# MPLv1.1 or GPLv2
2009-10-06 05:25:12 -04:00
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
2009-10-06 05:25:12 -04:00
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=state-threads/}
2009-10-06 05:25:12 -04:00
MAKE_FLAGS = CC='${CC}' CFLAGS='${CFLAGS} -fPIC -DOPENBSD' \
2005-12-30 17:43:56 -05:00
LD='${CC}' LDFLAGS='-shared -fPIC' \
VERSION=${LIBst_VERSION}
2009-10-06 05:25:12 -04:00
USE_GMAKE = Yes
ALL_TARGET = openbsd-optimized
NO_REGRESS = Yes
do-install:
2005-12-30 17:43:56 -05:00
${INSTALL_PROGRAM} \
${WRKSRC}/OPENBSD_${OSREV}_OPT/libst.so.${LIBst_VERSION} \
2001-09-30 22:20:51 -04:00
${PREFIX}/lib
${INSTALL_DATA} ${WRKSRC}/OPENBSD_${OSREV}_OPT/libst.a \
2001-09-30 22:20:51 -04:00
${PREFIX}/lib
${INSTALL_DATA} ${WRKSRC}/OPENBSD_${OSREV}_OPT/st.h \
2001-09-30 22:20:51 -04:00
${PREFIX}/include
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/libst
${INSTALL_DATA} ${WRKSRC}/docs/* ${PREFIX}/share/doc/libst
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/libst
${INSTALL_DATA} ${WRKSRC}/examples/* \
${PREFIX}/share/examples/libst
.include <bsd.port.mk>