[Midnightbsd-cvs] mports [17310] trunk/palm/pilot-link: add man pages
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Mon Sep 15 18:34:53 EDT 2014
Revision: 17310
http://svnweb.midnightbsd.org/mports/?rev=17310
Author: laffer1
Date: 2014-09-15 18:34:52 -0400 (Mon, 15 Sep 2014)
Log Message:
-----------
add man pages
Modified Paths:
--------------
trunk/palm/pilot-link/Makefile
trunk/palm/pilot-link/distinfo
trunk/palm/pilot-link/pkg-plist
Removed Paths:
-------------
trunk/palm/pilot-link/manpages.mk
Modified: trunk/palm/pilot-link/Makefile
===================================================================
--- trunk/palm/pilot-link/Makefile 2014-09-15 22:32:32 UTC (rev 17309)
+++ trunk/palm/pilot-link/Makefile 2014-09-15 22:34:52 UTC (rev 17310)
@@ -13,34 +13,28 @@
BUILD_DEPENDS= xsltproc:${PORTSDIR}/textproc/libxslt
-USE_BZIP2= yes
-USE_ICONV= yes
-USE_GNOME= gnomehack pkgconfig
+USES= pathfix pkgconfig iconv tar:bzip2
GNU_CONFIGURE= yes
CFLAGS+= -I${WRKSRC}/popt -I${LOCALBASE}/include
-CONFIGURE_ARGS+=--with-libiconv=${LOCALBASE} --with-included-popt --enable-conduits --enable-xsltproc
+CONFIGURE_ARGS+=${ICONV_CONFIGURE_BASE} --with-included-popt --enable-conduits --enable-xsltproc
USE_LDCONFIG= yes
-OPTIONS= PNG "build with png support" off \
- THREADS "built-in thread safety" on \
- USB "Compile with USB via libusb support (READ MANUAL!)" off
+OPTIONS_DEFINE= PNG THREADS USB
+USB_DESC= Compile with USB via libusb support (READ MANUAL!)
-.include <bsd.port.pre.mk>
+.include <bsd.mport.options.mk>
-.if !defined(WITHOUT_THREADS)
+.if ${PORT_OPTIONS:MTHREADS}
CONFIGURE_ARGS+= --enable-threads
CFLAGS+= ${PTHREAD_LIBS}
CONFIGURE_ENV+= PTHREAD_LIBS="${PTHREAD_LIBS}" PTHREAD_CFLAGS="${PTHREAD_CFLAGS}"
.endif
-.if defined(WITH_USB)
-. if ${OSVERSION} < 4015
-LIB_DEPENDS+= usb-0.1.8:${PORTSDIR}/devel/libusb
-. endif
+.if ${PORT_OPTIONS:MUSB}
CONFIGURE_ARGS+=--enable-libusb
LDFLAGS+= -L${PREFIX}/lib -lusb
-.if defined(WITHOUT_THREADS)
+.if ! ${PORT_OPTIONS:MTHREADS}
IGNORE= cannot be built: USB support requires THREADS turned on. Please reconfigure using 'make config'
.else
LDFLAGS+= ${PTHREAD_LIBS}
@@ -47,15 +41,13 @@
.endif
.endif
-.if defined(WITH_PNG)
-LIB_DEPENDS+= png15:${PORTSDIR}/graphics/png
+.if ${PORT_OPTIONS:MPNG}
+LIB_DEPENDS+= libpng15.so:${PORTSDIR}/graphics/png
CONFIGURE_ARGS+= --with-libpng=${PREFIX}
.else
CONFIGURE_ARGS+= --disable-png
.endif
-.include "${.CURDIR}/manpages.mk"
-
post-patch:
@${REINPLACE_CMD} -e 's|png_voidp_NULL|NULL|g' \
-e 's|png_error_ptr_NULL|NULL|g' \
@@ -63,8 +55,8 @@
${WRKSRC}/src/pilot-read-palmpix.c \
${WRKSRC}/src/pilot-read-screenshot.c \
${WRKSRC}/src/pilot-read-veo.c
-.if !defined(WITHOUT_THREADS)
+.if ${PORT_OPTIONS:MTHREADS}
@${REINPLACE_CMD} -e 's|Libs: |Libs: ${PTHREAD_LIBS} |' ${WRKSRC}/pilot-link.pc.in ${WRKSRC}/pilot-link-pp.pc.in
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Modified: trunk/palm/pilot-link/distinfo
===================================================================
--- trunk/palm/pilot-link/distinfo 2014-09-15 22:32:32 UTC (rev 17309)
+++ trunk/palm/pilot-link/distinfo 2014-09-15 22:34:52 UTC (rev 17310)
@@ -1,3 +1,2 @@
SHA256 (pilot-link-0.12.5.tar.bz2) = d3f99ec04016b38995fb370265200254710318105c792c017d3aaccfb97a84b2
-RMD160 (pilot-link-0.12.5.tar.bz2) = 806c87b9849d37fc5f88b453fb0842504be71a76
SIZE (pilot-link-0.12.5.tar.bz2) = 1578735
Deleted: trunk/palm/pilot-link/manpages.mk
===================================================================
--- trunk/palm/pilot-link/manpages.mk 2014-09-15 22:32:32 UTC (rev 17309)
+++ trunk/palm/pilot-link/manpages.mk 2014-09-15 22:34:52 UTC (rev 17310)
@@ -1,37 +0,0 @@
-MAN1+= ietf2datebook.1
-MAN1+= pilot-install-datebook.1
-MAN1+= pilot-install-expenses.1
-MAN1+= pilot-install-hinote.1
-MAN1+= pilot-install-memo.1
-MAN1+= pilot-install-netsync.1
-MAN1+= pilot-install-todo.1
-MAN1+= pilot-install-todos.1
-MAN1+= pilot-install-user.1
-MAN1+= pilot-addresses.1
-MAN1+= pilot-clip.1
-MAN1+= pilot-csd.1
-MAN1+= pilot-debugsh.1
-MAN1+= pilot-dedupe.1
-MAN1+= pilot-dlpsh.1
-MAN1+= pilot-file.1
-MAN1+= pilot-foto.1
-MAN1+= pilot-foto-treo600.1
-MAN1+= pilot-foto-treo650.1
-MAN1+= pilot-getram.1
-MAN1+= pilot-getrom.1
-MAN1+= pilot-getromtoken.1
-MAN1+= pilot-hinotes.1
-MAN1+= pilot-memos.1
-MAN1+= pilot-nredir.1
-MAN1+= pilot-reminders.1
-MAN1+= pilot-schlep.1
-MAN1+= pilot-wav.1
-MAN1+= pilot-xfer.1
-MAN1+= pilot-read-expenses.1
-MAN1+= pilot-read-ical.1
-MAN1+= pilot-read-notepad.1
-MAN1+= pilot-read-palmpix.1
-MAN1+= pilot-read-screenshot.1
-MAN1+= pilot-read-todos.1
-MAN1+= pilot-read-veo.1
-MAN7+= pilot-link.7
Modified: trunk/palm/pilot-link/pkg-plist
===================================================================
--- trunk/palm/pilot-link/pkg-plist 2014-09-15 22:32:32 UTC (rev 17309)
+++ trunk/palm/pilot-link/pkg-plist 2014-09-15 22:34:52 UTC (rev 17310)
@@ -98,6 +98,43 @@
%%DATADIR%%/prc/getrom.prc
%%DATADIR%%/prc/getrom2.prc
%%DATADIR%%/udev/60-libpisock.rules
+man/man1/ietf2datebook.1.gz
+man/man1/pilot-install-datebook.1.gz
+man/man1/pilot-install-expenses.1.gz
+man/man1/pilot-install-hinote.1.gz
+man/man1/pilot-install-memo.1.gz
+man/man1/pilot-install-netsync.1.gz
+man/man1/pilot-install-todo.1.gz
+man/man1/pilot-install-todos.1.gz
+man/man1/pilot-install-user.1.gz
+man/man1/pilot-addresses.1.gz
+man/man1/pilot-clip.1.gz
+man/man1/pilot-csd.1.gz
+man/man1/pilot-debugsh.1.gz
+man/man1/pilot-dedupe.1.gz
+man/man1/pilot-dlpsh.1.gz
+man/man1/pilot-file.1.gz
+man/man1/pilot-foto.1.gz
+man/man1/pilot-foto-treo600.1.gz
+man/man1/pilot-foto-treo650.1.gz
+man/man1/pilot-getram.1.gz
+man/man1/pilot-getrom.1.gz
+man/man1/pilot-getromtoken.1.gz
+man/man1/pilot-hinotes.1.gz
+man/man1/pilot-memos.1.gz
+man/man1/pilot-nredir.1.gz
+man/man1/pilot-reminders.1.gz
+man/man1/pilot-schlep.1.gz
+man/man1/pilot-wav.1.gz
+man/man1/pilot-xfer.1.gz
+man/man1/pilot-read-expenses.1.gz
+man/man1/pilot-read-ical.1.gz
+man/man1/pilot-read-notepad.1.gz
+man/man1/pilot-read-palmpix.1.gz
+man/man1/pilot-read-screenshot.1.gz
+man/man1/pilot-read-todos.1.gz
+man/man1/pilot-read-veo.1.gz
+man/man7/pilot-link.7.gz
@dirrm %%DATADIR%%/udev
@dirrm %%DATADIR%%/prc
@dirrm %%DATADIR%%/pix
More information about the Midnightbsd-cvs
mailing list