aboutsummaryrefslogtreecommitdiff
path: root/archivers/liborange/Makefile
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2005-01-14 00:13:20 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2005-01-14 00:13:20 +0000
commitdfd5750bdc8640bdf12da9fb39c787afe724c362 (patch)
tree6be81917c26e26039420da717fcb257e62020391 /archivers/liborange/Makefile
parentd74c9bcddfe138a550ed19378054d2f5abe4d739 (diff)
Notes
Diffstat (limited to 'archivers/liborange/Makefile')
-rw-r--r--archivers/liborange/Makefile40
1 files changed, 40 insertions, 0 deletions
diff --git a/archivers/liborange/Makefile b/archivers/liborange/Makefile
new file mode 100644
index 000000000000..c5f93e0e2453
--- /dev/null
+++ b/archivers/liborange/Makefile
@@ -0,0 +1,40 @@
+# New ports collection makefile for: orange
+# Date Created: January 2005
+# Whom: Sam Lawrance <boris@brooknet.com.au>
+#
+# $FreeBSD$
+#
+
+PORTNAME= orange
+PORTVERSION= 0.2
+CATEGORIES= archivers
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= synce
+
+MAINTAINER= boris@brooknet.com.au
+COMMENT= Extract Microsoft Cabinet files from self-extracting installers
+
+LIB_DEPENDS= synce.0:${PORTSDIR}/palm/synce-libsynce \
+ rapi.2:${PORTSDIR}/palm/synce-librapi2 \
+ dynamite.0:${PORTSDIR}/archivers/dynamite \
+ unshield.0:${PORTSDIR}/archivers/unshield
+
+GNU_CONFIGURE= yes
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ARGS= --with-libsynce=${LOCALBASE}
+USE_ICONV= yes
+USE_LIBTOOL_VER=15
+USE_REINPLACE= yes
+INSTALLS_SHLIB= yes
+
+.include <bsd.port.pre.mk>
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|-Werror||' \
+ ${WRKSRC}/lib/Makefile.in \
+ ${WRKSRC}/src/Makefile.in
+.if ${OSVERSION} < 500000
+ @${REINPLACE_CMD} -e 's|<stdint.h>|<inttypes.h>|' ${WRKSRC}/lib/inno.h
+.endif
+
+.include <bsd.port.post.mk>