f1e7eab840
packing-lists was changes in significant ways, and they do not have enough dependencies that pkg_add can detect they changed through their signature. Bump the pkgname, so that pkg_add -r will choose to update them. okay pvalchev@
44 lines
1.2 KiB
Makefile
44 lines
1.2 KiB
Makefile
# $OpenBSD: Makefile,v 1.11 2005/08/17 16:10:03 espie 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
|
|
CATEGORIES= net devel
|
|
HOMEPAGE= http://state-threads.sourceforge.net/
|
|
|
|
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
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=state-threads/}
|
|
|
|
MAKE_FLAGS= CC='${CC}' CFLAGS='${CFLAGS} -fPIC -DOPENBSD' \
|
|
LD='${CC}' LDFLAGS='-shared -fPIC'
|
|
|
|
USE_GMAKE= Yes
|
|
ALL_TARGET= openbsd-optimized
|
|
NO_REGRESS= Yes
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/OPENBSD_${OPSYS_VER}_OPT/libst.so.1.4 \
|
|
${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>
|