1997-11-24 10:10:43 +01:00
|
|
|
# New ports collection makefile for: pilot-link
|
|
|
|
# Date created: November, 1997
|
|
|
|
# Whom: Paul Traina <pst@freebsd.org>
|
|
|
|
#
|
1999-08-30 16:33:04 +02:00
|
|
|
# $FreeBSD$
|
2000-04-13 21:19:05 +02:00
|
|
|
#
|
1997-11-24 10:10:43 +01:00
|
|
|
|
2000-04-13 21:19:05 +02:00
|
|
|
PORTNAME= pilot-link
|
2001-08-24 21:35:11 +02:00
|
|
|
PORTVERSION= 0.9.5
|
|
|
|
CATEGORIES= palm comms tk83
|
|
|
|
MASTER_SITES= http://www.gnu-designs.com/pilot-link/source/
|
2000-04-13 21:19:05 +02:00
|
|
|
DISTNAME= ${PORTNAME}.${PORTVERSION}
|
1997-11-24 10:10:43 +01:00
|
|
|
|
1998-05-10 18:47:31 +02:00
|
|
|
MAINTAINER= dima@freebsd.org
|
1997-11-24 10:10:43 +01:00
|
|
|
|
2001-08-24 21:35:11 +02:00
|
|
|
LIB_DEPENDS= tk83:${PORTSDIR}/x11-toolkits/tk83 \
|
|
|
|
giconv:${PORTSDIR}/converters/libiconv
|
1997-11-24 10:10:43 +01:00
|
|
|
|
2001-08-24 21:35:11 +02:00
|
|
|
USE_BZIP2= yes
|
1999-12-22 22:29:31 +01:00
|
|
|
USE_LIBTOOL= yes
|
2000-06-16 23:52:40 +02:00
|
|
|
INSTALLS_SHLIB= yes
|
1997-11-24 10:10:43 +01:00
|
|
|
USE_PERL5= yes
|
1998-01-15 18:47:37 +01:00
|
|
|
PREFIX= ${LOCALBASE}/pilot
|
2001-08-24 21:35:11 +02:00
|
|
|
CONFIGURE_ARGS= --with-perl5=${PERL5} --with-libiconv=${LOCALBASE}
|
2001-02-14 23:50:24 +01:00
|
|
|
|
1997-11-25 10:06:46 +01:00
|
|
|
MAN1= dlpsh.1 ietf2datebook.1 install-datebook.1 \
|
1999-02-21 23:30:59 +01:00
|
|
|
install-hinote.1 install-memo.1 install-user.1 \
|
|
|
|
pilot-xfer.1 read-ical.1
|
1998-09-30 06:52:36 +02:00
|
|
|
MAN7= pilot-link.7
|
1997-11-24 10:38:13 +01:00
|
|
|
|
2001-08-24 21:35:11 +02:00
|
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
|
|
|
2001-02-14 23:50:24 +01:00
|
|
|
post-patch:
|
2001-08-24 21:35:11 +02:00
|
|
|
# FreeBSD installs -lgiconv instead of -liconv. Patch configure.
|
|
|
|
${PERL} -pi -e 's/([^g])iconv.h/\1giconv.h/g;' \
|
|
|
|
-e 's/-liconv/-lgiconv/g' ${WRKSRC}/${CONFIGURE_SCRIPT} \
|
|
|
|
${WRKSRC}/libsock/util.c
|
|
|
|
# Remove the FORCE tag, which forced recompiling/relinking
|
|
|
|
# of the otherwise up-to-date files.
|
|
|
|
${PERL} -pi -e 's/: FORCE/:/;' -e 's/getopt.h//;' ${WRKSRC}/Makefile.in
|
|
|
|
# When the day comes, and pilot-link starts using longopt,
|
|
|
|
# we'll start using -lgnugetopt. No need for this files:
|
|
|
|
${RM} -f ${WRKSRC}/getopt*
|
2001-02-14 23:50:24 +01:00
|
|
|
|
2000-08-04 03:38:56 +02:00
|
|
|
post-install:
|
2001-01-11 23:19:38 +01:00
|
|
|
@${SED} "s|%%PREFIX%%|${PREFIX}|g" < ${FILESDIR}/pilot-link.sh > ${LOCALBASE}/etc/rc.d/pilot-link.sh
|
2000-08-04 03:38:56 +02:00
|
|
|
@${CHMOD} 750 ${LOCALBASE}/etc/rc.d/pilot-link.sh
|
|
|
|
|
2001-08-24 21:35:11 +02:00
|
|
|
.include <bsd.port.mk>
|