openbsd-ports/net/libst/Makefile

47 lines
1.2 KiB
Makefile
Raw Normal View History

2005-12-30 17:43:56 -05:00
# $OpenBSD: Makefile,v 1.12 2005/12/30 22:43:56 steven Exp $
# see md.h, add others
ONLY_FOR_ARCHS= alpha i386 sparc
COMMENT= "threaded library for writing Internet applications"
DISTNAME= st-1.4
PKGNAME= lib${DISTNAME}p0
2005-12-30 17:43:56 -05:00
SHARED_LIBS= st 1.4
CATEGORIES= net devel
HOMEPAGE= http://state-threads.sourceforge.net/
2002-05-10 20:31:22 -04:00
MAINTAINER= Patroklos Argyroudis <argp@ieee.org>
# MPL or GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2002-05-15 13:42:24 -04:00
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=state-threads/}
2001-09-30 22:20:51 -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}
USE_GMAKE= Yes
ALL_TARGET= openbsd-optimized
2002-01-25 15:09:28 -05:00
NO_REGRESS= Yes
do-install:
2005-12-30 17:43:56 -05:00
${INSTALL_PROGRAM} \
${WRKSRC}/OPENBSD_${OPSYS_VER}_OPT/libst.so.${LIBst_VERSION} \
2001-09-30 22:20:51 -04:00
${PREFIX}/lib
${INSTALL_DATA} ${WRKSRC}/OPENBSD_${OPSYS_VER}_OPT/libst.a \
${PREFIX}/lib
${INSTALL_DATA} ${WRKSRC}/OPENBSD_${OPSYS_VER}_OPT/st.h \
${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>