48 lines
1.1 KiB
Makefile
48 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.2 2006/06/17 15:31:52 naddy Exp $
|
|
|
|
COMMENT= "Dictionary Server Protocol client"
|
|
COMMENT-server= "Dictionary Server Protocol server"
|
|
|
|
DISTNAME= dictd-1.9.15
|
|
PKGNAME= ${DISTNAME:S/-/-client-/}p0
|
|
PKGNAME-server= ${DISTNAME:S/-/-server-/}
|
|
|
|
CATEGORIES= net education
|
|
|
|
HOMEPAGE= http://www.dict.org
|
|
|
|
MAINTAINER= Deanna Phillips <deanna@sdf.lonestar.org>
|
|
|
|
# GPL v2
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
WANTLIB= c z
|
|
|
|
MASTER_SITES= ftp://ftp.us0.dict.org/pub/dict/ \
|
|
ftp://ftp.at0.dict.org/pub/dict/
|
|
|
|
USE_GMAKE= Yes
|
|
CONFIGURE_STYLE=gnu
|
|
CONFIGURE_ARGS= --without-local-zlib \
|
|
--enable-dictorg
|
|
|
|
MULTI_PACKAGES= -server
|
|
SUBPACKAGE?=
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
pre-build:
|
|
@perl -pi -e "s,/etc,${SYSCONFDIR},g" ${WRKSRC}/*.[18]
|
|
@perl -pi -e "s,/usr/sbin,${LOCALBASE}/sbin,g" ${WRKSRC}/*.[18]
|
|
@perl -pi -e "s,/usr/share,${LOCALBASE}/share,g" ${WRKSRC}/*.[18]
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/dictd/
|
|
${INSTALL_DATA} ${WRKSRC}/example* \
|
|
${PREFIX}/share/examples/dictd
|
|
|
|
.include <bsd.port.mk>
|
|
|