1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-15 07:56:36 +00:00
freebsd-ports/net/jwhois/Makefile
Makoto Matsushita b9120c330c More 3.1.0 fix and a feature enhancement from the jwhois CVS repository.
Use external location for patches by the PR submitter, remove patch-3.1.0-fix.
Bump PORTREVISION to note this change.

PR:		36463
Submitted by:	Jason Harris <jharris@widomaker.com>
2002-04-22 15:33:19 +00:00

42 lines
1.1 KiB
Makefile

# New ports collection makefile for: jwhois
# Date created: 15 Jul 2000
# Whom: matusita@jp.FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= jwhois
PORTVERSION= 3.1.0
PORTREVISION= 2
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= jwhois
PATCH_SITES= http://galileo.spaceports.com/~jharris/distfiles/
PATCHFILES= jwhois.rel_3_1_0-to-2002-04-20@2000UTC.patch.asc.gz
MAINTAINER= matusita@FreeBSD.org
LIB_DEPENDS= intl.2:${PORTSDIR}/devel/gettext
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --localstatedir=${PREFIX}/var/jwhois
USE_GMAKE= yes
CONFIGURE_ENV= CPPFLAGS="-I${PREFIX}/include" LDFLAGS="-L${PREFIX}/lib"
INSTALL_TARGET= install-strip
MANLANG= "" sv
MAN1= jwhois.1
post-install:
${MKDIR} ${PREFIX}/var/jwhois
${CHOWN} :nogroup ${PREFIX}/var/jwhois
${CHMOD} g+w ${PREFIX}/var/jwhois
${CHOWN} :nogroup ${PREFIX}/bin/jwhois
${CHMOD} g+s ${PREFIX}/bin/jwhois
${INSTALL_DATA} ${WRKSRC}/example/jwhois.conf ${PREFIX}/etc/jwhois.conf.sample
if [ ! -f ${PREFIX}/etc/jwhois.conf ]; then ${INSTALL_DATA} ${PREFIX}/etc/jwhois.conf.sample ${PREFIX}/etc/jwhois.conf; fi
.include <bsd.port.mk>