---
name: ap22-mod_flickr
version: 1.0_3
origin: www/mod_flickr
comment: Apache module for Flickr API access
arch: freebsd:9:x86:64
www: http://github.com/vshankar/mod_flickr
maintainer: venkyshankar@yahoo.com
prefix: /usr/local
licenselogic: single
flatsize: 20916
desc: "mod_flickr is a apache module (for apache 2.0 and above) that makes call to
  \nflickr via flickr API's to get a users (configured in httpd.conf) public photo
  \nsets, photos in sets and recent photos uploaded in flickr etc... \n\nCurrently
  only 4 api calls have been implmeneted (all are GET calls). These\nAPI's return
  data in XML format. The XML can then be parsed by the calling code\n(e.g. front
  end Javascript/php) to display thumbnails of the images say in a\nscrollbar. (Code
  for front end is not distributed as yet)\n\nThis module can be used by web developers
  who want to show their photos/albums\nuploaded in flickr on their website and/or
  access to metadata of their photos\nfor their own needs/purposes.\n\nWWW: http://github.com/vshankar/mod_flickr\n"
deps:
  apache22: {origin: www/apache22, version: 2.2.25}
  expat: {origin: textproc/expat2, version: 2.1.0}
  ca_root_nss: {origin: security/ca_root_nss, version: 3.15.1}
  perl: {origin: lang/perl5.14, version: 5.14.4}
  curl: {origin: ftp/curl, version: 7.31.0_1}
  pcre: {origin: devel/pcre, version: 8.33}
  gettext: {origin: devel/gettext, version: 0.18.3}
  apr: {origin: devel/apr1, version: 1.4.8.1.5.2}
  gdbm: {origin: databases/gdbm, version: 1.10}
  db42: {origin: databases/db42, version: 4.2.52_5}
  libiconv: {origin: converters/libiconv, version: 1.14_1}
categories:
- www
shlibs_required:
- libcurl.so.7
shlibs_provided:
- mod_flickr.so
files:
  /usr/local/libexec/apache22/mod_flickr.so: 766141bae8417c9c5fe291ae74e247b51722a5e2f523044b9d3941da87e98d2a
scripts:
  post-install: |
    /usr/local/sbin/apxs -e -A -n flickr /usr/local/libexec/apache22/mod_flickr.so
    /sbin/ldconfig -m /usr/local/lib
  pre-deinstall: |
    /usr/bin/sed -i '' -E '/LoadModule[[:blank:]]+flickr_module/d' /usr/local/etc/apache22/httpd.conf
    echo "Don't forget to remove all mod_flickr-related directives in your httpd.conf"
  post-deinstall: |
    /sbin/ldconfig -R
