summaryrefslogtreecommitdiff
path: root/graphics/linux-tiff/Makefile
diff options
context:
space:
mode:
authorAlexander Leidinger <netchild@FreeBSD.org>2006-05-01 17:28:17 +0000
committerAlexander Leidinger <netchild@FreeBSD.org>2006-05-01 17:28:17 +0000
commitc1eba2d83eb1b997b5906a1458529c5c6a6a2fa4 (patch)
treeae044c026c4c8ae63ae3e6cd375428c689780f05 /graphics/linux-tiff/Makefile
parentUpdate to 1.4 (diff)
- convert to use bsd.linux-rpm.mk (get rid of include of linux-gtk/Makefile) [1]
- use fixed plists [1] - category "linux" added to those ports without it [1] - update some ports to a recent FC3 one [1] - remove plists/... for Alpha (there's no support since linux_base-8 for Alpha anymore) - don't hardcode version numbers in some plists, use PLIST_SUB instead (any errors are mine, don't keep them, send them to me) Regarding linux-ungif I declare a maintainer timeout (one month, Boris tried to contact the maintainer) and also pull the "sweeping commit"-card (the port which it uses as some kind of master port can not be used for this anymore). Besides this, I don't think he will be upset when other people do the work instead of adding an entry to his TODO list. :-) This commit brings us just before the switch of the default linux base port to the fc3 one, modulo some bugs which may appear. So: Beta testers wanted! To test: sed -i.old -e 's:linux-XFree86-libs:linux-xorg-libs:' /usr/ports/Mk/bsd.port.mk echo OVERRIDE_LINUX_BASE_PORT=fc3 >> /etc/make.conf portupgrade -f -o emulators/linux_base-fc3 -f linux_base-8 portupgrade -o x11/linux-xorg-libs linux-XFree86-libs portupgrade linux-\* The first two steps are necessary to switch to fc3 as the new default linux base port, the last 3 steps to upgrade to fc3. And feel free to send a big "Thank you!" to Boris, he did a lot of the work! I just provided some hints and answered some questions (besides from committing all the necessary changes for FC3 and doing some minor changes+comments/improvements to/of his work), even when he tries to tell you something else. ;-) Submitted by: Boris Samorodov <bsam@ipt.ru> [1]
Diffstat (limited to 'graphics/linux-tiff/Makefile')
-rw-r--r--graphics/linux-tiff/Makefile25
1 files changed, 8 insertions, 17 deletions
diff --git a/graphics/linux-tiff/Makefile b/graphics/linux-tiff/Makefile
index 736756df7463..8e98c17b8750 100644
--- a/graphics/linux-tiff/Makefile
+++ b/graphics/linux-tiff/Makefile
@@ -7,11 +7,9 @@
PORTNAME= tiff
PORTVERSION= 3.6.1
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= graphics linux
-MASTER_SITES= ${MASTER_SITE_FEDORA_LINUX}
-MASTER_SITE_SUBDIR= updates/3/${ARCH}
-PKGNAMEPREFIX= linux-
+DISTNAME= libtiff-${PORTVERSION}-10.fc3
MAINTAINER= freebsd-emulation@FreeBSD.org
COMMENT= TIFF library, Linux/i386 binary
@@ -19,17 +17,10 @@ COMMENT= TIFF library, Linux/i386 binary
RUN_DEPENDS= ${LINUXBASE}/usr/lib/libjpeg.so.62:${PORTSDIR}/graphics/linux-jpeg
ONLY_FOR_ARCHS= amd64 i386
-RPM_SET= libtiff-${PORTVERSION}-10.fc3.${ARCH}.rpm
+USE_LINUX_RPM= yes
+LINUX_DIST_VER= 3
+INSTALLS_SHLIB= yes
+BRANDELF_DIRS= usr/bin
+PLIST= pkg-plist.${LINUX_RPM_ARCH}
-BINFILES= fax2ps fax2tiff gif2tiff pal2rgb ppm2tiff ras2tiff raw2tiff \
- rgb2ycbcr thumbnail tiff2bw tiff2pdf tiff2ps tiff2rgba tiffcmp \
- tiffcp tiffdither tiffdump tiffinfo tiffmedian tiffset tiffsplit
-
-.for file in ${BINFILES}
-BRANDFILES+= ${PREFIX}/usr/bin/${file}
-.endfor
-
-post-install:
- @${BRANDELF} -t Linux ${BRANDFILES}
-
-.include "../../x11-toolkits/linux-gtk/Makefile"
+.include <bsd.port.mk>