2006-10-20 07:48:06 -04:00
|
|
|
|
# $OpenBSD: Makefile,v 1.47 2006/10/20 11:48:06 ajacoutot Exp $
|
2004-12-10 23:59:46 -05:00
|
|
|
|
# $NetBSD: Makefile,v 1.37 2004/10/03 00:13:16 tv Exp $
|
2001-05-05 18:39:36 -04:00
|
|
|
|
|
2004-12-10 23:59:46 -05:00
|
|
|
|
COMMENT= "tools to connect your PalmOS<4F> compatible handheld"
|
1998-06-25 22:05:00 -04:00
|
|
|
|
|
2006-10-20 07:48:06 -04:00
|
|
|
|
DISTNAME= pilot-link-0.12.1
|
|
|
|
|
SHARED_LIBS= pisock 9.0 \
|
|
|
|
|
pisync 1.0
|
2005-12-23 09:16:00 -05:00
|
|
|
|
|
2005-12-14 16:47:17 -05:00
|
|
|
|
CATEGORIES= comms
|
2006-10-20 07:48:06 -04:00
|
|
|
|
MASTER_SITES= http://downloads.pilot-link.org/ \
|
2005-12-14 16:47:17 -05:00
|
|
|
|
http://www.slackware.at/data/slackware-10.2/source/l/pilot-link/ \
|
|
|
|
|
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/distfiles/ \
|
2006-10-20 07:48:06 -04:00
|
|
|
|
http://gentoo.oregonstate.edu/distfiles/
|
2001-06-03 19:58:35 -04:00
|
|
|
|
|
2004-12-10 23:59:46 -05:00
|
|
|
|
HOMEPAGE= http://www.pilot-link.org/
|
|
|
|
|
|
2006-10-20 07:48:06 -04:00
|
|
|
|
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
|
2004-12-10 23:59:46 -05:00
|
|
|
|
|
2005-12-14 16:47:17 -05:00
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
2004-12-10 23:59:46 -05:00
|
|
|
|
|
|
|
|
|
# GPLv2
|
2000-03-05 13:30:21 -05:00
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2002-02-18 16:37:41 -05:00
|
|
|
|
|
2006-10-20 07:48:06 -04:00
|
|
|
|
WANTLIB= c m readline termcap z
|
2001-10-17 07:19:59 -04:00
|
|
|
|
|
2004-12-10 23:59:46 -05:00
|
|
|
|
MODULES= converters/libiconv
|
2006-10-20 07:48:06 -04:00
|
|
|
|
LIB_DEPENDS= png.>=4::graphics/png \
|
|
|
|
|
popt::devel/popt
|
1998-06-25 22:05:00 -04:00
|
|
|
|
|
2004-12-10 23:59:46 -05:00
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
|
USE_LIBTOOL= Yes
|
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
|
|
|
|
|
|
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/libpng" \
|
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib" \
|
|
|
|
|
ac_cv_lib_png_main=yes
|
|
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
|
|
|
|
|
--with-libiconv=${LOCALBASE} \
|
|
|
|
|
--with-libpng=${LOCALBASE} \
|
|
|
|
|
--with-perl=/usr/bin/perl \
|
2006-10-20 07:48:06 -04:00
|
|
|
|
--with-readline \
|
|
|
|
|
--enable-conduits \
|
2004-12-10 23:59:46 -05:00
|
|
|
|
--without-efence \
|
|
|
|
|
--without-java \
|
|
|
|
|
--without-python \
|
|
|
|
|
--without-tcl
|
2001-09-26 20:32:36 -04:00
|
|
|
|
|
2006-10-20 07:48:06 -04:00
|
|
|
|
pre-configure:
|
|
|
|
|
@if pkg_info -e 'pilot-link-0.11.*'; then \
|
|
|
|
|
echo 1>&2 "+-------------------"; \
|
|
|
|
|
echo 1>&2 "| Error: you must remove the existing pilot-link installation"; \
|
|
|
|
|
echo 1>&2 "| before compiling this version. To fully remove run"; \
|
|
|
|
|
echo 1>&2 "| these commands as user root"; \
|
|
|
|
|
echo 1>&2 "|"; \
|
|
|
|
|
echo 1>&2 "| pkg_delete pilot-link"; \
|
|
|
|
|
echo 1>&2 "|"; \
|
|
|
|
|
echo 1>&2 "+-------------------"; \
|
|
|
|
|
exit 1; \
|
|
|
|
|
fi
|
|
|
|
|
perl -pi -e "s,\@\@CFLAGS\@\@,${CFLAGS},g" ${WRKSRC}/bindings/Perl/Makefile.PL.in
|
|
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/pilot-link
|
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/README.debugging ${PREFIX}/share/doc/pilot-link
|
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/README.usb ${PREFIX}/share/doc/pilot-link
|
|
|
|
|
|
1998-06-25 22:05:00 -04:00
|
|
|
|
.include <bsd.port.mk>
|