summaryrefslogtreecommitdiff
path: root/archivers/unrar/Makefile.common
diff options
context:
space:
mode:
authorwiz <wiz>2013-09-01 08:28:08 +0000
committerwiz <wiz>2013-09-01 08:28:08 +0000
commit9800fcde8822461d6a7d5918a478fe13b0954214 (patch)
tree8017ce3064980eabbc1f17742f2fc8e7bab357ce /archivers/unrar/Makefile.common
parenta2062a02de6f070503e521e3454386eb0116b077 (diff)
downloadpkgsrc-9800fcde8822461d6a7d5918a478fe13b0954214.tar.gz
Stop installing library again.
Split parts of Makefile into Makefile.common for upcoming libunrar. Remove unnecessary patch (as discussed with upstream).
Diffstat (limited to 'archivers/unrar/Makefile.common')
-rw-r--r--archivers/unrar/Makefile.common36
1 files changed, 36 insertions, 0 deletions
diff --git a/archivers/unrar/Makefile.common b/archivers/unrar/Makefile.common
new file mode 100644
index 00000000000..63076b8d276
--- /dev/null
+++ b/archivers/unrar/Makefile.common
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile.common,v 1.1 2013/09/01 08:28:08 wiz Exp $
+#
+# used by archivers/libunrar/Makefile
+# used by archivers/unrar/Makefile
+
+DISTNAME= unrarsrc-5.0.7
+PKGNAME= ${DISTNAME:S/src//}
+CATEGORIES= archivers
+MASTER_SITES= http://www.rarlab.com/rar/
+
+MAINTAINER= wiz@NetBSD.org
+HOMEPAGE= http://www.rarlab.com/
+COMMENT= Extract, view & test RAR archives
+LICENSE= unrar-license
+# From private mail addressed to pkgsrc maintainers:
+#
+# Date: Wed, 10 Sep 2008 18:27:35 +0600
+# From: Eugene Roshal <roshal@rarlab.com>
+# You can redistribute either original or modified binaries or sources.
+
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+
+NO_CONFIGURE= YES
+USE_LANGUAGES= c++
+# XXX: makefile has DOS line endings
+USE_TOOLS+= gmake
+
+MAKE_FILE= makefile
+MAKEFLAGS+= CXX=${CXX:Q} CXXFLAGS=${CXXFLAGS:Q} LDFLAGS=${LDFLAGS:Q}
+# usually set in Makefile, but overridden by line above
+LDFLAGS+= -pthread
+CXXFLAGS+= -fPIC
+
+WRKSRC= ${WRKDIR}/unrar
+
+DISTINFO_FILE= ${.CURDIR}/../../archivers/unrar/distinfo