mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
8503536d38
Approved by: portmgr (kris)
37 lines
823 B
Makefile
37 lines
823 B
Makefile
# New ports collection makefile for: poslib
|
|
# Date created: 2003-08-03
|
|
# Whom: Sergei Kolobov <sergei@kolobov.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= poslib
|
|
PORTVERSION= 1.0.6
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel dns
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= posadis
|
|
|
|
MAINTAINER= sergei@FreeBSD.org
|
|
COMMENT= Posadis C++ DNS library
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= LIBS="${PTHREAD_LIBS}"
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
INSTALLS_SHLIB= yes
|
|
|
|
PLIST_SUB= VERSION="${PORTVERSION}"
|
|
|
|
DOCS= AUTHORS ChangeLog NEWS README TODO
|
|
EXAMPLES= examples/*.cpp
|
|
|
|
post-install:
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR}
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|