summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2015-05-14 10:15:04 +0000
committermat <mat@FreeBSD.org>2015-05-14 10:15:04 +0000
commitd72353c225a0cff8478c442d745a54e4630671fc (patch)
tree627649ff7699a289d5d78c11bf8d105881402ca8
parent7790dd541328e5000ba710fc478bc5f22ab41cc6 (diff)
downloadFreeBSD-ports-d72353c225a0cff8478c442d745a54e4630671fc.zip
FreeBSD-ports-d72353c225a0cff8478c442d745a54e4630671fc.tar.gz
MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO. - Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9% of the time.) - Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and no hint of what it should be was present. - Fix some logic. - And generally, make things more simple and easy to understand. While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and SAMBA macros. Also, replace some EXTRACT_SUFX occurences with USES=tar:*. Checked by: make fetch-urlall-list With hat: portmgr Sponsored by: Absolight
-rw-r--r--Mk/bsd.sites.mk27
-rw-r--r--accessibility/py-atspi/Makefile3
-rw-r--r--accessibility/py3-atspi/Makefile3
-rw-r--r--archivers/dpkg/Makefile2
-rw-r--r--archivers/fastjar/Makefile3
-rw-r--r--archivers/gcpio/Makefile3
-rw-r--r--archivers/lbrate/Makefile3
-rw-r--r--archivers/lha-ac/Makefile5
-rw-r--r--archivers/macutils/Makefile3
-rw-r--r--archivers/mscompress/Makefile3
-rw-r--r--archivers/mtf/Makefile5
-rw-r--r--archivers/nomarch/Makefile3
-rw-r--r--archivers/nulib/Makefile5
-rw-r--r--archivers/p5-IO-Zlib/Makefile1
-rw-r--r--archivers/packddir/Makefile3
-rw-r--r--archivers/php5-snappy/Makefile2
-rw-r--r--archivers/ppunpack/Makefile5
-rw-r--r--archivers/pxz/Makefile3
-rw-r--r--archivers/py-liblzma/Makefile3
-rw-r--r--archivers/rzip/Makefile3
-rw-r--r--archivers/unace/Makefile3
-rw-r--r--archivers/wzip/Makefile2
-rw-r--r--archivers/xar/Makefile2
-rw-r--r--archivers/xarchiver/Makefile3
-rw-r--r--archivers/zipper/Makefile3
-rw-r--r--archivers/zopfli/Makefile2
-rw-r--r--astro/ephem/Makefile3
-rw-r--r--astro/libgal/Makefile3
-rw-r--r--astro/mymoon/Makefile3
-rw-r--r--astro/p5-Astro-ADS/Makefile1
-rw-r--r--astro/p5-Astro-DSS/Makefile1
-rw-r--r--astro/p5-Astro-SIMBAD/Makefile1
-rw-r--r--astro/p5-Astro-SunTime/Makefile1
-rw-r--r--astro/p5-Geo-METAR/Makefile1
-rw-r--r--astro/planets/Makefile2
-rw-r--r--astro/xworld/Makefile3
-rw-r--r--audio/alsa-lib/Makefile2
-rw-r--r--audio/alsa-plugins/Makefile2
-rw-r--r--audio/alsa-utils/Makefile2
-rw-r--r--audio/amarok-kde4/Makefile3
-rw-r--r--audio/beast/Makefile3
-rw-r--r--audio/cam/Makefile3
-rw-r--r--audio/ccaudio2/Makefile3
-rw-r--r--audio/cdplay/Makefile3
-rw-r--r--audio/dagrab/Makefile3
-rw-r--r--audio/dir2ogg/Makefile3
-rw-r--r--audio/dtmfdial/Makefile3
-rw-r--r--audio/eawpats/Makefile2
-rw-r--r--audio/eawplus/Makefile3
-rw-r--r--audio/etcd/Makefile3
-rw-r--r--audio/festdoc/Makefile3
-rw-r--r--audio/festival/Makefile3
-rw-r--r--audio/festlex-cmu/Makefile3
-rw-r--r--audio/festlex-oald/Makefile3
-rw-r--r--audio/festlex-poslex/Makefile3
-rw-r--r--audio/festvox-don/Makefile3
-rw-r--r--audio/festvox-el11/Makefile3
-rw-r--r--audio/festvox-kal16/Makefile3
-rw-r--r--audio/festvox-kal8/Makefile3
-rw-r--r--audio/festvox-ked16/Makefile3
-rw-r--r--audio/festvox-ked8/Makefile3
-rw-r--r--audio/festvox-rab16/Makefile3
-rw-r--r--audio/festvox-rab8/Makefile3
-rw-r--r--audio/festvox-russian/Makefile3
-rw-r--r--audio/flake/Makefile3
-rw-r--r--audio/funktrackergold/Makefile6
-rw-r--r--audio/gmixer/Makefile3
-rw-r--r--audio/gnomoradio/Makefile3
-rw-r--r--audio/gnupod/Makefile3
-rw-r--r--audio/gtkguitune/Makefile2
-rw-r--r--audio/harp/Makefile3
-rw-r--r--audio/id3ed/Makefile3
-rw-r--r--audio/julius/Makefile3
-rw-r--r--audio/libaudiofile/Makefile3
-rw-r--r--audio/libworkman/Makefile3
-rw-r--r--audio/linux-f10-pulseaudio-libs/Makefile3
-rw-r--r--audio/lollypop/Makefile3
-rw-r--r--audio/mehdiaplayer/Makefile2
-rw-r--r--audio/mixer.app/Makefile2
-rw-r--r--audio/mixmos/Makefile2
-rw-r--r--audio/mp32ogg/Makefile3
-rw-r--r--audio/mp3info/Makefile5
-rw-r--r--audio/mp3rename/Makefile2
-rw-r--r--audio/mpdcon/Makefile3
-rw-r--r--audio/nspmod/Makefile3
-rw-r--r--audio/openal/Makefile2
-rw-r--r--audio/opus-tools/Makefile3
-rw-r--r--audio/opus/Makefile3
-rw-r--r--audio/opusfile/Makefile3
-rw-r--r--audio/p5-Ogg-Vorbis-Header-PurePerl/Makefile1
-rw-r--r--audio/play/Makefile2
-rw-r--r--audio/pm3umpdl/Makefile5
-rw-r--r--audio/pms/Makefile1
-rw-r--r--audio/puddletag/Makefile3
-rw-r--r--audio/rawrec/Makefile2
-rw-r--r--audio/rexima/Makefile3
-rw-r--r--audio/s3mod/Makefile5
-rw-r--r--audio/soundgrab/Makefile1
-rw-r--r--audio/soundtracker/Makefile3
-rw-r--r--audio/spek/Makefile2
-rw-r--r--audio/squeezeboxserver-superdatetime/Makefile2
-rw-r--r--audio/streamtuner/Makefile1
-rw-r--r--audio/tcd/Makefile3
-rw-r--r--audio/tosha/Makefile3
-rw-r--r--audio/tuxguitar/Makefile9
-rw-r--r--audio/vagalume/Makefile3
-rw-r--r--audio/vitunes/Makefile3
-rw-r--r--audio/workman/Makefile3
-rw-r--r--audio/xanalyser/Makefile3
-rw-r--r--audio/xfce4-pulseaudio-plugin/Makefile3
-rw-r--r--audio/xmix/Makefile4
-rw-r--r--audio/xmms-ladspa/Makefile3
-rw-r--r--audio/xmms-mailnotify/Makefile3
-rw-r--r--audio/xpi-musicpm/Makefile2
-rw-r--r--audio/xwave/Makefile3
-rw-r--r--benchmarks/cpipe/Makefile3
-rw-r--r--benchmarks/dbench/Makefile3
-rw-r--r--benchmarks/hpl/Makefile3
-rw-r--r--benchmarks/imb/Makefile3
-rw-r--r--benchmarks/netio/Makefile3
-rw-r--r--benchmarks/p5-Benchmark-Stopwatch/Makefile1
-rw-r--r--benchmarks/sipp/Makefile1
-rw-r--r--benchmarks/super-smack/Makefile2
-rw-r--r--benchmarks/ubench/Makefile3
-rw-r--r--benchmarks/webbench/Makefile3
-rw-r--r--biology/biococoa/Makefile3
-rw-r--r--biology/clustalw/Makefile5
-rw-r--r--biology/t_coffee/Makefile3
-rw-r--r--cad/basicdsp/Makefile3
-rw-r--r--cad/cascade/Makefile3
-rw-r--r--cad/cider/Makefile3
-rw-r--r--cad/electric-ng/Makefile3
-rw-r--r--cad/fidocadj/Makefile3
-rw-r--r--cad/geda/Makefile3
-rw-r--r--cad/kicad-devel/Makefile3
-rw-r--r--cad/layouteditor/Makefile3
-rw-r--r--cad/meshdev/Makefile3
-rw-r--r--chinese/auto-cn-l10n/Makefile2
-rw-r--r--chinese/fcitx-googlepinyin/Makefile2
-rw-r--r--chinese/ibus-pinyin/Makefile2
-rw-r--r--chinese/joe/Makefile3
-rw-r--r--chinese/kcfonts/Makefile3
-rw-r--r--chinese/libgooglepinyin/Makefile2
-rw-r--r--chinese/opencc/Makefile2
-rw-r--r--chinese/p5-Lingua-ZH-Segment/Makefile1
-rw-r--r--chinese/pyzy/Makefile2
-rw-r--r--chinese/xpdf/Makefile3
-rw-r--r--comms/aldo/Makefile3
-rw-r--r--comms/bpl+/Makefile3
-rw-r--r--comms/chirp/Makefile3
-rw-r--r--comms/chu/Makefile3
-rw-r--r--comms/cqrlog/Makefile3
-rw-r--r--comms/cwdaemon/Makefile3
-rw-r--r--comms/ebook2cw/Makefile3
-rw-r--r--comms/ebook2cwgui/Makefile3
-rw-r--r--comms/esmska/Makefile2
-rw-r--r--comms/fl_moxgen/Makefile3
-rw-r--r--comms/fllog/Makefile3
-rw-r--r--comms/flrig/Makefile3
-rw-r--r--comms/flwrap/Makefile3
-rw-r--r--comms/geoid/Makefile3
-rw-r--r--comms/gnuradio/Makefile3
-rw-r--r--comms/gtkmmorse/Makefile3
-rw-r--r--comms/ibp/Makefile3
-rw-r--r--comms/kb/Makefile3
-rw-r--r--comms/libfec/Makefile3
-rw-r--r--comms/linpsk/Makefile3
-rw-r--r--comms/locator/Makefile2
-rw-r--r--comms/morse/Makefile3
-rw-r--r--comms/nasawash/Makefile3
-rw-r--r--comms/nec2c/Makefile3
-rw-r--r--comms/o2sms/Makefile3
-rw-r--r--comms/picocom/Makefile2
-rw-r--r--comms/predict/Makefile3
-rw-r--r--comms/pyla/Makefile6
-rw-r--r--comms/qrq/Makefile3
-rw-r--r--comms/qsstv/Makefile3
-rw-r--r--comms/quisk/Makefile3
-rw-r--r--comms/soundmodem/Makefile3
-rw-r--r--comms/splat/Makefile3
-rw-r--r--comms/sredird/Makefile3
-rw-r--r--comms/usrp/Makefile3
-rw-r--r--comms/vrflash/Makefile3
-rw-r--r--comms/wsjt/Makefile3
-rw-r--r--comms/wspr/Makefile3
-rw-r--r--comms/wwl/Makefile3
-rw-r--r--comms/wy60/Makefile2
-rw-r--r--comms/xdx/Makefile3
-rw-r--r--comms/xlog/Makefile1
-rw-r--r--comms/xnec2c/Makefile3
-rw-r--r--comms/xwota/Makefile3
-rw-r--r--comms/yagiuda/Makefile3
-rw-r--r--comms/yfklog/Makefile7
-rw-r--r--converters/btoa/Makefile3
-rw-r--r--converters/cl-babel/Makefile3
-rw-r--r--converters/cocot/Makefile3
-rw-r--r--converters/fconv/Makefile3
-rw-r--r--converters/iconv-extra/Makefile3
-rw-r--r--converters/iconv-rfc1345/Makefile3
-rw-r--r--converters/iconv/Makefile3
-rw-r--r--converters/ish/Makefile2
-rw-r--r--converters/libiconv/Makefile3
-rw-r--r--converters/o3read/Makefile3
-rw-r--r--converters/p5-Cstools/Makefile3
-rw-r--r--converters/p5-Encode-Detect/Makefile1
-rw-r--r--converters/p5-Encode-DoubleEncodedUTF8/Makefile1
-rw-r--r--converters/pdf2djvu/Makefile2
-rw-r--r--converters/wkhtmltopdf/Makefile3
-rw-r--r--databases/cassandra/Makefile3
-rw-r--r--databases/cassandra2/Makefile3
-rw-r--r--databases/couchdb/Makefile3
-rw-r--r--databases/dbview/Makefile3
-rw-r--r--databases/gnats4/Makefile3
-rw-r--r--databases/isql-viewer/Makefile4
-rw-r--r--databases/jdbm2/Makefile2
-rw-r--r--databases/ldb/Makefile3
-rw-r--r--databases/luadbi/Makefile2
-rw-r--r--databases/memcached/Makefile5
-rw-r--r--databases/memcacheq/Makefile5
-rw-r--r--databases/mysql-connector-c++/Makefile3
-rw-r--r--databases/mysql-connector-java/Makefile3
-rw-r--r--databases/mysql-proxy/Makefile3
-rw-r--r--databases/mysql-workbench51/Makefile3
-rw-r--r--databases/mysql51-server/Makefile3
-rw-r--r--databases/mysql55-server/Makefile3
-rw-r--r--databases/mysql56-server/Makefile3
-rw-r--r--databases/nagios-check_postgres_replication/Makefile3
-rw-r--r--databases/ntdb/Makefile3
-rw-r--r--databases/openark-kit/Makefile2
-rw-r--r--databases/p5-Class-DBI-Pg/Makefile3
-rw-r--r--databases/p5-DBD-InterBase/Makefile1
-rw-r--r--databases/p5-DBIx-Class-InflateColumn-Authen-Passphrase/Makefile1
-rw-r--r--databases/p5-DBIx-Class-PassphraseColumn/Makefile1
-rw-r--r--databases/p5-DBIx-Class-TimeStamp/Makefile1
-rw-r--r--databases/p5-DBIx-Ease/Makefile4
-rw-r--r--databases/p5-DBIx-HA/Makefile1
-rw-r--r--databases/p5-DBIx-MySQLSequence/Makefile1
-rw-r--r--databases/p5-MongoDB/Makefile2
-rw-r--r--databases/p5-Oryx/Makefile3
-rw-r--r--databases/p5-Pg/Makefile3
-rw-r--r--databases/p5-RRD-Simple/Makefile3
-rw-r--r--databases/p5-Rose-DBx-Object-MoreHelpers/Makefile3
-rw-r--r--databases/p5-TokyoCabinet/Makefile3
-rw-r--r--databases/pgadmin3/Makefile3
-rw-r--r--databases/pgagent/Makefile3
-rw-r--r--databases/pgbadger/Makefile3
-rw-r--r--databases/pgtcl/Makefile7
-rw-r--r--databases/postgresql-libpgeasy/Makefile3
-rw-r--r--databases/postgresql84-server/Makefile3
-rw-r--r--databases/postgresql91-server/Makefile3
-rw-r--r--databases/postgresql92-server/Makefile3
-rw-r--r--databases/py-apsw/Makefile4
-rw-r--r--databases/py-bsddb/Makefile3
-rw-r--r--databases/py-gdbm/Makefile3
-rw-r--r--databases/py-mysql-connector-python/Makefile3
-rw-r--r--databases/py-mysql-connector-python2/Makefile3
-rw-r--r--databases/py-sqlalchemy-migrate/Makefile2
-rw-r--r--databases/py-sqlite3/Makefile3
-rw-r--r--databases/soci/Makefile3
-rw-r--r--databases/sqlclient/Makefile3
-rw-r--r--databases/tdb/Makefile3
-rw-r--r--deskutils/cal/Makefile3
-rw-r--r--deskutils/cartotheque/Makefile3
-rw-r--r--deskutils/charmap/Makefile3
-rw-r--r--deskutils/dlume/Makefile2
-rw-r--r--deskutils/gnustep-wrapper/Makefile3
-rw-r--r--deskutils/gworkspace-gwmetadata/Makefile3
-rw-r--r--deskutils/gworkspace/Makefile3
-rw-r--r--deskutils/hot-babe/Makefile3
-rw-r--r--deskutils/libgcal/Makefile2
-rw-r--r--deskutils/libopensync-plugin-vformat-devel/Makefile3
-rw-r--r--deskutils/mrundlg/Makefile2
-rw-r--r--deskutils/osynctool/Makefile3
-rw-r--r--deskutils/plan/Makefile1
-rw-r--r--deskutils/plasma-applet-playwolf/Makefile2
-rw-r--r--deskutils/plopfolio/Makefile3
-rw-r--r--deskutils/rednotebook/Makefile3
-rw-r--r--deskutils/sliderule/Makefile3
-rw-r--r--deskutils/sugarcrm/Makefile3
-rw-r--r--deskutils/systempreferences/Makefile3
-rw-r--r--deskutils/treeline/Makefile1
-rw-r--r--deskutils/tuxcards/Makefile3
-rw-r--r--deskutils/vboxgtk/Makefile2
-rw-r--r--deskutils/vnc2flv/Makefile1
-rw-r--r--deskutils/wmpinboard/Makefile2
-rw-r--r--deskutils/xcalendar/Makefile2
-rw-r--r--deskutils/xfce4-notifyd/Makefile3
-rw-r--r--deskutils/xfce4-volumed/Makefile3
-rw-r--r--deskutils/xmaddressbook/Makefile3
-rw-r--r--deskutils/xpostitPlus/Makefile3
-rw-r--r--devel/ElectricFence/Makefile3
-rw-r--r--devel/adabooch/Makefile3
-rw-r--r--devel/ahven/Makefile3
-rw-r--r--devel/apache-ant/Makefile2
-rw-r--r--devel/apr1/Makefile3
-rw-r--r--devel/argp-standalone/Makefile3
-rw-r--r--devel/arm-elf-binutils/Makefile3
-rw-r--r--devel/asl/Makefile3
-rw-r--r--devel/autoconf/Makefile3
-rw-r--r--devel/autoconf213/Makefile3
-rw-r--r--devel/automake14/Makefile3
-rw-r--r--devel/avalon-framework/Makefile3
-rw-r--r--devel/avr-gcc-devel/Makefile3
-rw-r--r--devel/avr-gcc/Makefile3
-rw-r--r--devel/avr-gdb/Makefile1
-rw-r--r--devel/avr-libc/Makefile1
-rw-r--r--devel/avro-c/Makefile3
-rw-r--r--devel/avro-cpp/Makefile3
-rw-r--r--devel/binutils/Makefile3
-rw-r--r--devel/bncsutil-ghost++/Makefile2
-rw-r--r--devel/bugzilla44/Makefile3
-rw-r--r--devel/c-unit/Makefile2
-rw-r--r--devel/cdecl/Makefile3
-rw-r--r--devel/cflow/Makefile3
-rw-r--r--devel/cl-alexandria/Makefile3
-rw-r--r--devel/cl-asdf/Makefile3
-rw-r--r--devel/cl-trivial-features/Makefile3
-rw-r--r--devel/cl-trivial-gray-streams/Makefile3
-rw-r--r--devel/cld/Makefile2
-rw-r--r--devel/cld2/Makefile3
-rw-r--r--devel/compiler-rt/Makefile3
-rw-r--r--devel/cook/Makefile3
-rw-r--r--devel/cvs-devel/Makefile3
-rw-r--r--devel/cvs2svn/Makefile3
-rw-r--r--devel/cvsdadm/Makefile3
-rw-r--r--devel/cvsweb/Makefile4
-rw-r--r--devel/cvsweb3/Makefile4
-rw-r--r--devel/cvswrap/Makefile3
-rw-r--r--devel/cweb/Makefile3
-rw-r--r--devel/d-feet/Makefile3
-rw-r--r--devel/ddd/Makefile3
-rw-r--r--devel/dissy/Makefile2
-rw-r--r--devel/djgpp-binutils/Makefile3
-rw-r--r--devel/dotconf/Makefile2
-rw-r--r--devel/elftoaout/Makefile3
-rw-r--r--devel/epm/Makefile1
-rw-r--r--devel/eventxx/Makefile1
-rw-r--r--devel/f77flow/Makefile3
-rw-r--r--devel/fb303/Makefile3
-rw-r--r--devel/ffcall/Makefile4
-rw-r--r--devel/fortran-utils/Makefile3
-rw-r--r--devel/freeocl/Makefile2
-rw-r--r--devel/ftnchek/Makefile3
-rw-r--r--devel/gazpacho/Makefile3
-rw-r--r--devel/gconf2/Makefile3
-rw-r--r--devel/gindent/Makefile3
-rw-r--r--devel/gmake/Makefile3
-rw-r--r--devel/gnu-efi/Makefile3
-rw-r--r--devel/gnulibiberty/Makefile3
-rw-r--r--devel/google-gdata/Makefile2
-rw-r--r--devel/google-perftools/Makefile3
-rw-r--r--devel/google-sparsehash/Makefile5
-rw-r--r--devel/gorm/Makefile3
-rw-r--r--devel/gperf/Makefile3
-rw-r--r--devel/gtkparasite/Makefile3
-rw-r--r--devel/guichan/Makefile2
-rw-r--r--devel/hadoop2/Makefile9
-rw-r--r--devel/htable/Makefile3
-rw-r--r--devel/itext/Makefile3
-rw-r--r--devel/javolution/Makefile3
-rw-r--r--devel/jiic/Makefile3
-rw-r--r--devel/kdevelop-kde4/Makefile3
-rw-r--r--devel/kdevelop-pg-qt/Makefile3
-rw-r--r--devel/kdevelop-php-docs/Makefile3
-rw-r--r--devel/kdevelop-php/Makefile3
-rw-r--r--devel/kdevplatform/Makefile3
-rw-r--r--devel/lcov/Makefile3
-rw-r--r--devel/libaura/Makefile3
-rw-r--r--devel/libavl/Makefile3
-rw-r--r--devel/libbfd/Makefile3
-rw-r--r--devel/libdict/Makefile2
-rw-r--r--devel/libelf/Makefile3
-rw-r--r--devel/libexecinfo/Makefile3
-rw-r--r--devel/libffi/Makefile3
-rw-r--r--devel/libglade2/Makefile3
-rw-r--r--devel/libhash/Makefile2
-rw-r--r--devel/libiomp5-devel/Makefile3
-rw-r--r--devel/libkgapi/Makefile3
-rw-r--r--devel/liblouisxml/Makefile2
-rw-r--r--devel/libmatheval/Makefile1
-rw-r--r--devel/libmpsse/Makefile2
-rw-r--r--devel/libnxt/Makefile2
-rw-r--r--devel/liboop/Makefile2
-rw-r--r--devel/libopensync/Makefile3
-rw-r--r--devel/libpasori/Makefile3
-rw-r--r--devel/libruin/Makefile3
-rw-r--r--devel/libsigc++12/Makefile3
-rw-r--r--devel/libublio/Makefile3
-rw-r--r--devel/libunicode/Makefile3
-rw-r--r--devel/libx86/Makefile3
-rw-r--r--devel/libzookeeper/Makefile3
-rw-r--r--devel/libzrtpcpp/Makefile3
-rw-r--r--devel/linux-c6-qt47/Makefile3
-rw-r--r--devel/linux_kdump/Makefile3
-rw-r--r--devel/llvm-devel/Makefile3
-rw-r--r--devel/m17n-db/Makefile6
-rw-r--r--devel/m17n-lib/Makefile3
-rw-r--r--devel/m6811-binutils/Makefile3
-rw-r--r--devel/maven-ant-tasks/Makefile3
-rw-r--r--devel/maven3/Makefile3
-rw-r--r--devel/maven31/Makefile3
-rw-r--r--devel/mingw32-openssl/Makefile7
-rw-r--r--devel/mingw32-zlib/Makefile3
-rw-r--r--devel/mm/Makefile3
-rw-r--r--devel/mph/Makefile3
-rw-r--r--devel/msp430-binutils/Makefile6
-rw-r--r--devel/msp430-gcc/Makefile6
-rw-r--r--devel/msp430-gdb/Makefile4
-rw-r--r--devel/msp430-libc/Makefile3
-rw-r--r--devel/msp430mcu/Makefile3
-rw-r--r--devel/ncurses/Makefile1
-rw-r--r--devel/netscape-java40/Makefile3
-rw-r--r--devel/nxt-python/Makefile2
-rw-r--r--devel/ocaml-sexplib/Makefile3
-rw-r--r--devel/ocaml-typeconv/Makefile3
-rw-r--r--devel/opencvs/Makefile5
-rw-r--r--devel/p5-AnyEvent-AIO/Makefile1
-rw-r--r--devel/p5-App-GitHub/Makefile1
-rw-r--r--devel/p5-B-Hooks-OP-PPAddr/Makefile1
-rw-r--r--devel/p5-B-OPCheck/Makefile1
-rw-r--r--devel/p5-Badger/Makefile1
-rw-r--r--devel/p5-Cache-AgainstFile/Makefile1
-rw-r--r--devel/p5-Carp-Clan-Share/Makefile1
-rw-r--r--devel/p5-Class-Accessor-Fast-Contained/Makefile1
-rw-r--r--devel/p5-Class-Accessor-Installer/Makefile1
-rw-r--r--devel/p5-Class-Delegation/Makefile2
-rw-r--r--devel/p5-Class-Measure/Makefile1
-rw-r--r--devel/p5-Class-Tom/Makefile1
-rw-r--r--devel/p5-Config-IniHash/Makefile3
-rw-r--r--devel/p5-Config-Wrest/Makefile1
-rw-r--r--devel/p5-Danga-Socket-Callback/Makefile1
-rw-r--r--devel/p5-Data-JavaScript-Anon/Makefile1
-rw-r--r--devel/p5-Data-Remember/Makefile1
-rw-r--r--devel/p5-DateConvert/Makefile3
-rw-r--r--devel/p5-DateTime-Format-DateParse/Makefile3
-rw-r--r--devel/p5-Devel-Callsite/Makefile1
-rw-r--r--devel/p5-Devel-ebug/Makefile1
-rw-r--r--devel/p5-Dist-Zilla/Makefile1
-rw-r--r--devel/p5-Event-Notify/Makefile1
-rw-r--r--devel/p5-File-Find-Rule-Perl/Makefile1
-rw-r--r--devel/p5-File-Finder/Makefile1
-rw-r--r--devel/p5-File-Tail-Dir/Makefile1
-rw-r--r--devel/p5-Ioctl/Makefile3
-rw-r--r--devel/p5-Lingua-JA-Fold/Makefile1
-rw-r--r--devel/p5-Locale-Maketext-Lexicon/Makefile3
-rw-r--r--devel/p5-Log-Dispatch-Array/Makefile1
-rw-r--r--devel/p5-Log-Dispatch-File-Stamped/Makefile1
-rw-r--r--devel/p5-Log-Dispatch-Scribe/Makefile1
-rw-r--r--devel/p5-Log-Trace/Makefile1
-rw-r--r--devel/p5-Module-CPANfile/Makefile1
-rw-r--r--devel/p5-Module-Info-File/Makefile1
-rw-r--r--devel/p5-Module-Util/Makefile1
-rw-r--r--devel/p5-MooseX-AttributeShortcuts/Makefile1
-rw-r--r--devel/p5-MooseX-Has-Options/Makefile1
-rw-r--r--devel/p5-MouseX-Getopt/Makefile1
-rw-r--r--devel/p5-Object-Realize-Later/Makefile1
-rw-r--r--devel/p5-PHP-Serialization/Makefile1
-rw-r--r--devel/p5-Perl-Tidy/Makefile1
-rw-r--r--devel/p5-Proc-Wait3/Makefile1
-rw-r--r--devel/p5-ReadLine-Gnu/Makefile3
-rw-r--r--devel/p5-ReadLine-Perl/Makefile5
-rw-r--r--devel/p5-ReadLine-TTYtter/Makefile3
-rw-r--r--devel/p5-Set-ConsistentHash/Makefile1
-rw-r--r--devel/p5-Stream-Reader/Makefile1
-rw-r--r--devel/p5-Sys-RunAlone/Makefile1
-rw-r--r--devel/p5-Sys-RunAlways/Makefile1
-rw-r--r--devel/p5-Sys-Syscall/Makefile1
-rw-r--r--devel/p5-TAP-SimpleOutput/Makefile1
-rw-r--r--devel/p5-Term-VT102-Boundless/Makefile1
-rw-r--r--devel/p5-Term-VT102/Makefile1
-rw-r--r--devel/p5-Test-Assertions/Makefile1
-rw-r--r--devel/p5-Test-FailWarnings/Makefile1
-rw-r--r--devel/p5-Test-File-ShareDir/Makefile1
-rw-r--r--devel/p5-Test-HexString/Makefile1
-rw-r--r--devel/p5-Test-InDistDir/Makefile1
-rw-r--r--devel/p5-Test-JSON/Makefile1
-rw-r--r--devel/p5-Test-Moose-More/Makefile1
-rw-r--r--devel/p5-Test-Script/Makefile1
-rw-r--r--devel/p5-Test-SubCalls/Makefile1
-rw-r--r--devel/p5-Test-Without-Module/Makefile1
-rw-r--r--devel/p5-Test-XML-Valid/Makefile1
-rw-r--r--devel/p5-Thread-Suspend/Makefile7
-rw-r--r--devel/p5-Tie-File-AsHash/Makefile1
-rw-r--r--devel/p5-Tie-Util/Makefile1
-rw-r--r--devel/p5-Time-Out/Makefile1
-rw-r--r--devel/p5-TimeDate/Makefile3
-rw-r--r--devel/p5-TraceFuncs/Makefile3
-rw-r--r--devel/p5-forks/Makefile3
-rw-r--r--devel/p5-orz/Makefile3
-rw-r--r--devel/pcre/Makefile7
-rw-r--r--devel/pear-IO_Bit/Makefile3
-rw-r--r--devel/phpsh/Makefile5
-rw-r--r--devel/powerpc64-gcc/Makefile3
-rw-r--r--devel/ppl/Makefile5
-rw-r--r--devel/protobuf25/Makefile2
-rw-r--r--devel/psptoolchain-binutils/Makefile3
-rw-r--r--devel/psptoolchain-gcc-stage1/Makefile3
-rw-r--r--devel/psptoolchain-gdb/Makefile3
-rw-r--r--devel/psptoolchain-newlib/Makefile3
-rw-r--r--devel/pth/Makefile3
-rw-r--r--devel/py-argparse/Makefile2
-rw-r--r--devel/py-avro/Makefile3
-rw-r--r--devel/py-cld/Makefile3
-rw-r--r--devel/py-cmdln/Makefile2
-rw-r--r--devel/py-country/Makefile1
-rw-r--r--devel/py-extremes/Makefile3
-rw-r--r--devel/py-freebsd/Makefile3
-rw-r--r--devel/py-fsm/Makefile2
-rw-r--r--devel/py-game_sdl2/Makefile2
-rw-r--r--devel/py-gobject/Makefile3
-rw-r--r--devel/py-icu/Makefile3
-rw-r--r--devel/py-ipaddr/Makefile2
-rw-r--r--devel/py-meliae/Makefile2
-rw-r--r--devel/py-orbit/Makefile3
-rw-r--r--devel/py-prettytable/Makefile3
-rw-r--r--devel/py-protocols/Makefile1
-rw-r--r--devel/py-pyev/Makefile1
-rw-r--r--devel/py-pygpx/Makefile3
-rw-r--r--devel/py-qpid/Makefile3
-rw-r--r--devel/py-qt4/bsd.pyqt.mk6
-rw-r--r--devel/py-sip/Makefile2
-rw-r--r--devel/py-statgrab/Makefile5
-rw-r--r--devel/py-ydbf/Makefile3
-rw-r--r--devel/py_static_check/Makefile3
-rw-r--r--devel/pygobject3-common/Makefile3
-rw-r--r--devel/pyobfuscate/Makefile3
-rw-r--r--devel/qmake/Makefile3
-rw-r--r--devel/qt4-assistant-adp/Makefile3
-rw-r--r--devel/qt4-libqtassistantclient/Makefile3
-rw-r--r--devel/qtcreator/Makefile3
-rw-r--r--devel/quickcheck++/Makefile3
-rw-r--r--devel/quilt/Makefile3
-rw-r--r--devel/rcs/Makefile3
-rw-r--r--devel/rcs57/Makefile3
-rw-r--r--devel/readline/Makefile4
-rw-r--r--devel/remake/Makefile3
-rw-r--r--devel/renpy/Makefile2
-rw-r--r--devel/ruby-langscan/Makefile3
-rw-r--r--devel/ruby-ncurses/Makefile3
-rw-r--r--devel/ruby-setup.rb/Makefile3
-rw-r--r--devel/rubygem-atoulme-antwrap/Makefile2
-rw-r--r--devel/rubygem-io-like/Makefile3
-rw-r--r--devel/sabre/Makefile3
-rw-r--r--devel/safe-iop/Makefile4
-rw-r--r--devel/sfio/Makefile2
-rw-r--r--devel/sgb/Makefile3
-rw-r--r--devel/shtool/Makefile5
-rw-r--r--devel/smake/Makefile3
-rw-r--r--devel/sourcenav/Makefile3
-rw-r--r--devel/storm/Makefile3
-rw-r--r--devel/stormlib-ghost++/Makefile2
-rw-r--r--devel/str/Makefile3
-rw-r--r--devel/streamhtmlparser/Makefile2
-rw-r--r--devel/stringencoders/Makefile4
-rw-r--r--devel/subversion-book/Makefile3
-rw-r--r--devel/subversion/Makefile.common3
-rw-r--r--devel/subversion17/Makefile.common3
-rw-r--r--devel/subversive/Makefile2
-rw-r--r--devel/talloc/Makefile3
-rw-r--r--devel/tcl-trf/Makefile3
-rw-r--r--devel/tclap/Makefile3
-rw-r--r--devel/terminality/Makefile3
-rw-r--r--devel/tevent/Makefile3
-rw-r--r--devel/thrift-c_glib/Makefile15
-rw-r--r--devel/thrift-cpp/Makefile8
-rw-r--r--devel/thrift/Makefile3
-rw-r--r--devel/tigcc/Makefile6
-rw-r--r--devel/ucommon/Makefile3
-rw-r--r--devel/udis86/Makefile3
-rw-r--r--devel/ultragetopt/Makefile2
-rw-r--r--devel/winpdb/Makefile3
-rw-r--r--devel/xwpe/Makefile3
-rw-r--r--devel/xxgdb/Makefile3
-rw-r--r--devel/yasm-devel/Makefile3
-rw-r--r--devel/zookeeper/Makefile3
-rw-r--r--devel/zpu-binutils/Makefile3
-rw-r--r--devel/zpu-gcc/Makefile3
-rw-r--r--dns/bind10/Makefile3
-rw-r--r--dns/djbdns/Makefile2
-rw-r--r--dns/doc/Makefile3
-rw-r--r--dns/inadyn/Makefile3
-rw-r--r--dns/ipcheck/Makefile1
-rw-r--r--dns/nsping/Makefile3
-rw-r--r--dns/py-adns/Makefile2
-rw-r--r--dns/samba-nsupdate/Makefile3
-rw-r--r--dns/updatedd/Makefile3
-rw-r--r--editors/abiword-docs/Makefile3
-rw-r--r--editors/abiword/Makefile3
-rw-r--r--editors/beav/Makefile2
-rw-r--r--editors/calligra-l10n/files/bsd.l10n.mk3
-rw-r--r--editors/calligra/Makefile3
-rw-r--r--editors/emacs/Makefile5
-rw-r--r--editors/gobby/Makefile2
-rw-r--r--editors/jove/Makefile3
-rw-r--r--editors/lazarus/Makefile2
-rw-r--r--editors/leafpad/Makefile1
-rw-r--r--editors/nano-devel/Makefile2
-rw-r--r--editors/nedit/Makefile3
-rw-r--r--editors/psgml/Makefile3
-rw-r--r--editors/spe/Makefile3
-rw-r--r--editors/sted/Makefile3
-rw-r--r--editors/tamago/Makefile6
-rw-r--r--editors/thoteditor/Makefile1
-rw-r--r--editors/uzap/Makefile3
-rw-r--r--editors/yasnippet/Makefile2
-rw-r--r--emulators/bsvc/Makefile3
-rw-r--r--emulators/cpmemu/Makefile6
-rw-r--r--emulators/cpmtools/Makefile3
-rw-r--r--emulators/darcnes/Makefile3
-rw-r--r--emulators/dboxfe/Makefile3
-rw-r--r--emulators/dtcyber/Makefile3
-rw-r--r--emulators/dynagen/Makefile3
-rw-r--r--emulators/hatari/Makefile3
-rw-r--r--emulators/mtools/Makefile3
-rw-r--r--emulators/mupen64plus-core/Makefile6
-rw-r--r--emulators/pcemu/Makefile3
-rw-r--r--emulators/qemu/Makefile3
-rw-r--r--emulators/raine/Makefile2
-rw-r--r--emulators/uae/Makefile3
-rw-r--r--emulators/virtio-kmod/Makefile3
-rw-r--r--emulators/vmsbackup/Makefile2
-rw-r--r--emulators/wxmupen64plus/Makefile4
-rw-r--r--finance/skrooge/Makefile3
-rw-r--r--french/aster/bsd.aster.mk3
-rw-r--r--french/tvdownloader/Makefile3
-rw-r--r--ftp/atftp/Makefile3
-rw-r--r--ftp/ftpsesame/Makefile3
-rw-r--r--ftp/gnustep-ftp/Makefile3
-rw-r--r--ftp/mirror/Makefile2
-rw-r--r--ftp/tftp-hpa/Makefile3
-rw-r--r--ftp/vsftpd/Makefile3
-rw-r--r--games/abuse_sdl/Makefile2
-rw-r--r--games/an/Makefile2
-rw-r--r--games/bugsx/Makefile3
-rw-r--r--games/cardpics/Makefile3
-rw-r--r--games/crafty-open-enormous/Makefile3
-rw-r--r--games/crafty-open-large/Makefile3
-rw-r--r--games/crafty-open-medium/Makefile3
-rw-r--r--games/dmjava/Makefile3
-rw-r--r--games/doom-freedoom/Makefile3
-rw-r--r--games/doom/Makefile2
-rw-r--r--games/ensemblist/Makefile3
-rw-r--r--games/evq3/Makefile2
-rw-r--r--games/flying/Makefile3
-rw-r--r--games/fortunate/Makefile2
-rw-r--r--games/freeciv-sounds/Makefile2
-rw-r--r--games/freedink-data/Makefile3
-rw-r--r--games/freedink-dfarc/Makefile3
-rw-r--r--games/gnugo/Makefile3
-rw-r--r--games/gnushogi/Makefile.common3
-rw-r--r--games/gtypist/Makefile3
-rw-r--r--games/ifm/Makefile3
-rw-r--r--games/ishido/Makefile3
-rw-r--r--games/katawa-shoujo/Makefile2
-rw-r--r--games/libggz/bsd.ggz.mk5
-rw-r--r--games/libmaitretarot/Makefile3
-rw-r--r--games/libmt_client/Makefile3
-rw-r--r--games/linux-doom3/Makefile5
-rw-r--r--games/linux-enemyterritory-shrub/Makefile3
-rw-r--r--games/linux-enemyterritory/Makefile4
-rw-r--r--games/linux-etqw-demo-server/Makefile2
-rw-r--r--games/linux-etqw-server/Makefile2
-rw-r--r--games/linux-quake3-demo/Makefile2
-rw-r--r--games/linux-quake3/Makefile4
-rw-r--r--games/linux-quake4-demo/Makefile2
-rw-r--r--games/linux-quake4/Makefile4
-rw-r--r--games/linux-rtcw/Makefile3
-rw-r--r--games/linux-ut2003-demo/Makefile2
-rw-r--r--games/liquidwar/Makefile3
-rw-r--r--games/maitretarot/Makefile3
-rw-r--r--games/mt_dolphin_ia/Makefile3
-rw-r--r--games/mt_gtk_client/Makefile3
-rw-r--r--games/nehquake/Makefile3
-rw-r--r--games/nethack32/Makefile2
-rw-r--r--games/nethack34/Makefile4
-rw-r--r--games/oldrunner/Makefile3
-rw-r--r--games/oonsoo/Makefile3
-rw-r--r--games/p5-Acme-GuessNumber/Makefile3
-rw-r--r--games/pycadia/Makefile2
-rw-r--r--games/quake-data/Makefile4
-rw-r--r--games/quake-source/Makefile2
-rw-r--r--games/quake2-source/Makefile2
-rw-r--r--games/quake3/Makefile2
-rw-r--r--games/scummvm/Makefile1
-rw-r--r--games/senken/Makefile2
-rw-r--r--games/sokoban/Makefile3
-rw-r--r--games/supertux-devel/Makefile2
-rw-r--r--games/supertux/Makefile2
-rw-r--r--games/timeseal/Makefile3
-rw-r--r--games/tractorgen/Makefile1
-rw-r--r--games/tycho/Makefile3
-rw-r--r--games/wmquake/Makefile3
-rw-r--r--games/wolfpack/Makefile3
-rw-r--r--games/worldofpadman/Makefile2
-rw-r--r--games/xbat/Makefile3
-rw-r--r--games/xbattle/Makefile2
-rw-r--r--games/xblackjack/Makefile3
-rw-r--r--games/xboing/Makefile3
-rw-r--r--games/xbubble/Makefile2
-rw-r--r--games/xcubes/Makefile3
-rw-r--r--games/xdemineur/Makefile3
-rw-r--r--games/xdino/Makefile3
-rw-r--r--games/xhexagons/Makefile3
-rw-r--r--games/xisola/Makefile3
-rw-r--r--games/xjig/Makefile3
-rw-r--r--games/xjump/Makefile2
-rw-r--r--games/xkoules/Makefile2
-rw-r--r--games/xlaby/Makefile3
-rw-r--r--games/xmball/Makefile3
-rw-r--r--games/xmille/Makefile3
-rw-r--r--games/xmines/Makefile3
-rw-r--r--games/xmlink/Makefile3
-rw-r--r--games/xneko/Makefile3
-rw-r--r--games/xoct/Makefile3
-rw-r--r--games/xoids/Makefile3
-rw-r--r--games/xoj/Makefile3
-rw-r--r--games/xosmulti/Makefile3
-rw-r--r--games/xpanex/Makefile3
-rw-r--r--games/xpipeman/Makefile3
-rw-r--r--games/xpyraminx/Makefile3
-rw-r--r--games/xrubik/Makefile3
-rw-r--r--games/xshisen/Makefile3
-rw-r--r--games/xshogi/Makefile3
-rw-r--r--games/xskewb/Makefile3
-rw-r--r--games/xtic/Makefile3
-rw-r--r--games/xtriangles/Makefile3
-rw-r--r--games/xtruco/Makefile3
-rw-r--r--german/alt-aspell/Makefile3
-rw-r--r--german/bugzilla44/Makefile3
-rw-r--r--graphics/4va/Makefile5
-rw-r--r--graphics/GraphicsMagick/Makefile1
-rw-r--r--graphics/Hermes/Makefile2
-rw-r--r--graphics/SciPlot/Makefile3
-rw-r--r--graphics/acidwarp/Makefile3
-rw-r--r--graphics/barcode/Makefile3
-rw-r--r--graphics/cal3d-devel/Makefile3
-rw-r--r--graphics/cegui/Makefile3
-rw-r--r--graphics/dc20pack/Makefile3
-rw-r--r--graphics/dmtx-utils/Makefile3
-rw-r--r--graphics/driconf/Makefile3
-rw-r--r--graphics/flasm/Makefile3
-rw-r--r--graphics/g2/Makefile3
-rw-r--r--graphics/gdk-pixbuf/Makefile2
-rw-r--r--graphics/gimp-app/Makefile3
-rw-r--r--graphics/gpaint/Makefile3
-rw-r--r--graphics/graphos/Makefile3
-rw-r--r--graphics/gtk-update-icon-cache/Makefile3
-rw-r--r--graphics/imlib2/Makefile3
-rw-r--r--graphics/imlib2_loaders/Makefile3
-rw-r--r--graphics/jasper/Makefile6
-rw-r--r--graphics/jpgtn/Makefile3
-rw-r--r--graphics/liblug/Makefile3
-rw-r--r--graphics/linplasma/Makefile3
-rw-r--r--graphics/netpbm/Makefile3
-rw-r--r--graphics/ocrad/Makefile1
-rw-r--r--graphics/ocropus/Makefile2
-rw-r--r--graphics/opengl-man/Makefile3
-rw-r--r--graphics/opennurbs/Makefile1
-rw-r--r--graphics/p5-Color-Calc/Makefile1
-rw-r--r--graphics/p5-Color-Palette/Makefile1
-rw-r--r--graphics/p5-Color-Scheme/Makefile1
-rw-r--r--graphics/p5-Image-PBMlib/Makefile1
-rw-r--r--graphics/p5-SpringGraph/Makefile3
-rw-r--r--graphics/p5-URI-GoogleChart/Makefile1
-rw-r--r--graphics/pear-IO_SWF/Makefile3
-rw-r--r--graphics/pecl-qrencode/Makefile3
-rw-r--r--graphics/pfscalibration/Makefile3
-rw-r--r--graphics/pfstmo/Makefile3
-rw-r--r--graphics/php5-swfed/Makefile3
-rw-r--r--graphics/pixelize/Makefile1
-rw-r--r--graphics/prison/Makefile3
-rw-r--r--graphics/py-gchartwrapper/Makefile2
-rw-r--r--graphics/py-glewpy/Makefile2
-rw-r--r--graphics/py-openexr/Makefile1
-rw-r--r--graphics/scr2png/Makefile3
-rw-r--r--graphics/sdl2_gfx/Makefile3
-rw-r--r--graphics/sdl_gfx/Makefile3
-rw-r--r--graphics/seam-carving-gui/Makefile2
-rw-r--r--graphics/seejpeg/Makefile3
-rw-r--r--graphics/separate/Makefile3
-rw-r--r--graphics/svgfig/Makefile5
-rw-r--r--graphics/tesseract-data/Makefile2
-rw-r--r--graphics/tesseract/Makefile2
-rw-r--r--graphics/timeless/Makefile3
-rw-r--r--graphics/wmicons/Makefile7
-rw-r--r--graphics/xbmbrowser/Makefile3
-rw-r--r--graphics/xfpovray/Makefile3
-rw-r--r--graphics/xli/Makefile1
-rw-r--r--graphics/xpdf/Makefile3
-rw-r--r--graphics/xwpick/Makefile3
-rw-r--r--graphics/zphoto/Makefile1
-rw-r--r--hebrew/hspell/Makefile3
-rw-r--r--irc/bitlbee/Makefile3
-rw-r--r--irc/cwirc/Makefile3
-rw-r--r--irc/keitairc2/Makefile3
-rw-r--r--irc/py-gozerbot/Makefile2
-rw-r--r--irc/quirc/Makefile3
-rw-r--r--irc/riece/Makefile1
-rw-r--r--irc/simpleirc/Makefile3
-rw-r--r--irc/thales/Makefile3
-rw-r--r--irc/weechat-devel/Makefile3
-rw-r--r--irc/weechat/Makefile3
-rw-r--r--japanese/FreeWnn-lib/Makefile6
-rw-r--r--japanese/FreeWnn-server/Makefile6
-rw-r--r--japanese/a2ps/Makefile2
-rw-r--r--japanese/ajaxzip2-data/Makefile3
-rw-r--r--japanese/anthy/Makefile3
-rw-r--r--japanese/bugzilla44/Makefile3
-rw-r--r--japanese/canna-lib/Makefile3
-rw-r--r--japanese/canna-server/Makefile3
-rw-r--r--japanese/dbskkd-cdb/Makefile3
-rw-r--r--japanese/dvi2tty/Makefile4
-rw-r--r--japanese/esecanna-module-vje25/Makefile3
-rw-r--r--japanese/esecanna-module-vje30/Makefile3
-rw-r--r--japanese/esecanna-module-wnn6/Makefile3
-rw-r--r--japanese/esecanna/Makefile3
-rw-r--r--japanese/font-migu/Makefile3
-rw-r--r--japanese/font-motoya-al/Makefile3
-rw-r--r--japanese/font-mplus-ipa/Makefile3
-rw-r--r--japanese/font-ume/Makefile3
-rw-r--r--japanese/gawk/Makefile3
-rw-r--r--japanese/hns/Makefile3
-rw-r--r--japanese/ibus-anthy/Makefile2
-rw-r--r--japanese/japaneseAFM/Makefile3
-rw-r--r--japanese/jed/Makefile3
-rw-r--r--japanese/jmode/Makefile3
-rw-r--r--japanese/k12/Makefile2
-rw-r--r--japanese/kana-no-quiz/Makefile3
-rw-r--r--japanese/kanji18/Makefile3
-rw-r--r--japanese/kappa20/Makefile2
-rw-r--r--japanese/kasumi/Makefile3
-rw-r--r--japanese/kcc/Makefile2
-rw-r--r--japanese/kon2-16dot/Makefile2
-rw-r--r--japanese/kterm/Makefile18
-rw-r--r--japanese/less/Makefile3
-rw-r--r--japanese/man-doc/Makefile3
-rw-r--r--japanese/marumoji-fonts/Makefile3
-rw-r--r--japanese/migemo/Makefile3
-rw-r--r--japanese/mime_pls/Makefile3
-rw-r--r--japanese/mtools/Makefile4
-rw-r--r--japanese/namazu/Makefile3
-rw-r--r--japanese/newosaka/Makefile2
-rw-r--r--japanese/nhocr/Makefile2
-rw-r--r--japanese/ochusha/Makefile3
-rw-r--r--japanese/plain2/Makefile4
-rw-r--r--japanese/prn/Makefile2
-rw-r--r--japanese/rogue_s/Makefile8
-rw-r--r--japanese/ruby-mecab/Makefile2
-rw-r--r--japanese/ruby-usersguide/Makefile3
-rw-r--r--japanese/scim-anthy/Makefile3
-rw-r--r--japanese/scim-canna/Makefile3
-rw-r--r--japanese/scim-skk/Makefile3
-rw-r--r--japanese/skkserv/Makefile2
-rw-r--r--japanese/slrn/Makefile2
-rw-r--r--japanese/texinfo/Makefile3
-rw-r--r--japanese/zipcodes/Makefile3
-rw-r--r--java/bootstrap-openjdk/Makefile3
-rw-r--r--java/classpath/Makefile10
-rw-r--r--java/eclipse-cdt/Makefile3
-rw-r--r--java/eclipse-windowbuilder/Makefile2
-rw-r--r--java/jakarta-bcel/Makefile3
-rw-r--r--java/jakarta-commons-httpclient/Makefile3
-rw-r--r--java/jakarta-regexp/Makefile3
-rw-r--r--java/java-zoneinfo/Makefile2
-rw-r--r--java/openjdk6/Makefile5
-rw-r--r--java/openjdk7/Makefile2
-rw-r--r--java/proguard/Makefile3
-rw-r--r--java/rubygem-rjb/Makefile2
-rw-r--r--korean/aleefonts-ttf/Makefile3
-rw-r--r--korean/man-doc/Makefile3
-rw-r--r--korean/nanumcoding-ttf/Makefile3
-rw-r--r--korean/nanumfonts-otf/Makefile3
-rw-r--r--lang/basic256/Makefile3
-rw-r--r--lang/clang-cheri/Makefile3
-rw-r--r--lang/clang-devel/Makefile3
-rw-r--r--lang/emacs-lisp-intro/Makefile3
-rw-r--r--lang/erlang/Makefile2
-rw-r--r--lang/gcc-aux/Makefile3
-rw-r--r--lang/gcc47-aux/Makefile3
-rw-r--r--lang/gcc5-aux/Makefile3
-rw-r--r--lang/ghc/Makefile3
-rw-r--r--lang/gnat_util/Makefile3
-rw-r--r--lang/gnatdroid-armv7/Makefile3
-rw-r--r--lang/gnatdroid-binutils/Makefile3
-rw-r--r--lang/guile/Makefile3
-rw-r--r--lang/libstdc++_stldoc_4.2.2/Makefile3
-rw-r--r--lang/ocaml/Makefile1
-rw-r--r--lang/p5-v6/Makefile2
-rw-r--r--lang/php5/Makefile6
-rw-r--r--lang/php55/Makefile6
-rw-r--r--lang/php56/Makefile6
-rw-r--r--lang/python-doc-html/Makefile5
-rw-r--r--lang/python-tools/Makefile3
-rw-r--r--lang/python27/Makefile3
-rw-r--r--lang/python32/Makefile3
-rw-r--r--lang/python33/Makefile3
-rw-r--r--lang/python34/Makefile3
-rw-r--r--lang/ratfor/Makefile3
-rw-r--r--lang/rhino/Makefile3
-rw-r--r--lang/ruby20/Makefile3
-rw-r--r--lang/ruby21/Makefile3
-rw-r--r--lang/ruby22/Makefile3
-rw-r--r--lang/sagittarius-scheme/Makefile5
-rw-r--r--lang/siod/Makefile3
-rw-r--r--lang/spidermonkey17/Makefile3
-rw-r--r--lang/spidermonkey170/Makefile3
-rw-r--r--lang/spidermonkey185/Makefile3
-rw-r--r--lang/spidermonkey24/Makefile3
-rw-r--r--lang/tcl84/Makefile3
-rw-r--r--lang/tcl85/Makefile3
-rw-r--r--lang/tcl86/Makefile3
-rw-r--r--lang/tinypy/Makefile2
-rw-r--r--lang/ypsilon/Makefile2
-rw-r--r--mail/antivirus-milter/Makefile3
-rw-r--r--mail/bsfilter/Makefile3
-rw-r--r--mail/bsmtp/Makefile3
-rw-r--r--mail/c-sig/Makefile3
-rw-r--r--mail/coolmail/Makefile5
-rw-r--r--mail/cucipop/Makefile3
-rw-r--r--mail/cyrus-imapd24/Makefile3
-rw-r--r--mail/dspam/Makefile3
-rw-r--r--mail/exim-doc-html/Makefile3
-rw-r--r--mail/exim/Makefile4
-rw-r--r--mail/exmh2/Makefile4
-rw-r--r--mail/greylite/Makefile3
-rw-r--r--mail/hbiff/Makefile3
-rw-r--r--mail/imaptools/Makefile3
-rw-r--r--mail/james/Makefile3
-rw-r--r--mail/lens/Makefile2
-rw-r--r--mail/libesmtp/Makefile2
-rw-r--r--mail/libsrs2/Makefile3
-rw-r--r--mail/lmtp2nntp/Makefile3
-rw-r--r--mail/mail-notification/Makefile3
-rw-r--r--mail/mailman/Makefile3
-rw-r--r--mail/mailtray/Makefile2
-rw-r--r--mail/mailx/Makefile4
-rw-r--r--mail/missey/Makefile2
-rw-r--r--mail/mlmmj/Makefile3
-rw-r--r--mail/nmh/Makefile3
-rw-r--r--mail/nullmailer/Makefile1
-rw-r--r--mail/opendkim/Makefile5
-rw-r--r--mail/opendmarc/Makefile5
-rw-r--r--mail/openwebmail/Makefile5
-rw-r--r--mail/p5-Email-Abstract/Makefile1
-rw-r--r--mail/p5-Email-FolderType-Net/Makefile1
-rw-r--r--mail/p5-Mail-LMLM/Makefile1
-rw-r--r--mail/p5-Net-SMTP-Server/Makefile3
-rw-r--r--mail/pm-lib/Makefile3
-rw-r--r--mail/postfix-current/Makefile3
-rw-r--r--mail/postfix/Makefile3
-rw-r--r--mail/postfixadmin/Makefile3
-rw-r--r--mail/qmail-contrib/Makefile3
-rw-r--r--mail/qmail-dk/Makefile4
-rw-r--r--mail/qmail-spamcontrol/Makefile3
-rw-r--r--mail/qmail/Makefile46
-rw-r--r--mail/queue-fix/Makefile3
-rw-r--r--mail/raysfilter/Makefile3
-rw-r--r--mail/ripmime/Makefile3
-rw-r--r--mail/sigrot/Makefile3
-rw-r--r--mail/sma/Makefile3
-rw-r--r--mail/smtpmail/Makefile3
-rw-r--r--mail/spamass-milter/Makefile3
-rw-r--r--mail/spamassassin/Makefile4
-rw-r--r--mail/spamd/Makefile3
-rw-r--r--mail/spamilter/Makefile1
-rw-r--r--mail/spamstats/Makefile3
-rw-r--r--mail/squirrelmail-translations/Makefile3
-rw-r--r--mail/ssmtp/Makefile2
-rw-r--r--mail/thunderbird-dictionaries/Makefile3
-rw-r--r--mail/tmda/Makefile6
-rw-r--r--mail/tpop3d/Makefile3
-rw-r--r--mail/vacation/Makefile3
-rw-r--r--mail/vexim/Makefile3
-rw-r--r--mail/xmail/Makefile3
-rw-r--r--mail/xpbiff/Makefile3
-rw-r--r--math/R-cran-SuppDists/Makefile2
-rw-r--r--math/R/Makefile3
-rw-r--r--math/apc/Makefile3
-rw-r--r--math/aspcud/Makefile3
-rw-r--r--math/blacs/Makefile3
-rw-r--r--math/carve/Makefile2
-rw-r--r--math/ccmath/Makefile3
-rw-r--r--math/clasp/Makefile3
-rw-r--r--math/clipper/Makefile3
-rw-r--r--math/foma/Makefile2
-rw-r--r--math/geg/Makefile3
-rw-r--r--math/gexpr/Makefile3
-rw-r--r--math/glm/Makefile3
-rw-r--r--math/glpk/Makefile3
-rw-r--r--math/gmp/Makefile3
-rw-r--r--math/gnubc/Makefile3
-rw-r--r--math/gotoblas/Makefile5
-rw-r--r--math/gringo/Makefile3
-rw-r--r--math/hfst/Makefile3
-rw-r--r--math/jags/Makefile9
-rw-r--r--math/jtransforms/Makefile3
-rw-r--r--math/laspack/Makefile5
-rw-r--r--math/ldouble/Makefile3
-rw-r--r--math/libjbigi/Makefile2
-rw-r--r--math/lrng/Makefile6
-rw-r--r--math/miracl/Makefile3
-rw-r--r--math/msieve/Makefile4
-rw-r--r--math/ngraph/Makefile2
-rw-r--r--math/octave/Makefile3
-rw-r--r--math/oleo/Makefile3
-rw-r--r--math/p5-Algorithm-Munkres/Makefile1
-rw-r--r--math/p5-Geo-Coordinates-UTM/Makefile1
-rw-r--r--math/p5-Math-Polynomial-Solve/Makefile1
-rw-r--r--math/p5-Set-IntSpan-Fast-XS/Makefile1
-rw-r--r--math/p5-Statistics-Basic/Makefile1
-rw-r--r--math/p5-Statistics-Forecast/Makefile1
-rw-r--r--math/p5-Statistics-LineFit/Makefile1
-rw-r--r--math/p5-Statistics-TTest/Makefile1
-rw-r--r--math/py-gato/Makefile1
-rw-r--r--math/py-gmpy/Makefile2
-rw-r--r--math/py-theano/Makefile3
-rw-r--r--math/qrupdate/Makefile3
-rw-r--r--math/sc/Makefile3
-rw-r--r--math/scalapack/Makefile3
-rw-r--r--math/slatec/Makefile3
-rw-r--r--math/slgrace/Makefile3
-rw-r--r--math/solitaire/Makefile3
-rw-r--r--math/units/Makefile3
-rw-r--r--math/wxMaxima/Makefile3
-rw-r--r--math/xldlas/Makefile3
-rw-r--r--misc/amfm/Makefile3
-rw-r--r--misc/asr-manpages/Makefile3
-rw-r--r--misc/bbjd/Makefile3
-rw-r--r--misc/buffer/Makefile5
-rw-r--r--misc/chef/Makefile5
-rw-r--r--misc/compat10x/Makefile3
-rw-r--r--misc/compat4x/Makefile7
-rw-r--r--misc/compat5x/Makefile3
-rw-r--r--misc/compat6x/Makefile5
-rw-r--r--misc/compat7x/Makefile3
-rw-r--r--misc/compat8x/Makefile3
-rw-r--r--misc/compat9x/Makefile3
-rw-r--r--misc/dahdi-kmod/Makefile3
-rw-r--r--misc/dahdi-kmod26/Makefile3
-rw-r--r--misc/dahdi/Makefile3
-rw-r--r--misc/diction/Makefile3
-rw-r--r--misc/dnetc/Makefile5
-rw-r--r--misc/dphys-config/Makefile2
-rw-r--r--misc/estic/Makefile3
-rw-r--r--misc/figlet/Makefile3
-rw-r--r--misc/findutils/Makefile3
-rw-r--r--misc/fortune-mod-bofh/Makefile7
-rw-r--r--misc/gnuit/Makefile3
-rw-r--r--misc/gnuls/Makefile3
-rw-r--r--misc/gnustep-examples/Makefile3
-rw-r--r--misc/gregexp/Makefile3
-rw-r--r--misc/hello/Makefile3
-rw-r--r--misc/histring/Makefile3
-rw-r--r--misc/imerge/Makefile3
-rw-r--r--misc/inplace/Makefile3
-rw-r--r--misc/ipbt/Makefile3
-rw-r--r--misc/iselect/Makefile3
-rw-r--r--misc/kde4-l10n/files/bsd.l10n.mk3
-rw-r--r--misc/mime-support/Makefile2
-rw-r--r--misc/mmv/Makefile2
-rw-r--r--misc/nsf/Makefile3
-rw-r--r--misc/openr2/Makefile2
-rw-r--r--misc/ossp-uuid/Makefile3
-rw-r--r--misc/p5-Locale-Msgcat/Makefile3
-rw-r--r--misc/pinfo/Makefile2
-rw-r--r--misc/py-yolk/Makefile3
-rw-r--r--misc/rtfm/Makefile3
-rw-r--r--misc/ruby-progressbar/Makefile2
-rw-r--r--misc/shuffle/Makefile3
-rw-r--r--misc/sls/Makefile3
-rw-r--r--misc/tcb/Makefile3
-rw-r--r--misc/team/Makefile3
-rw-r--r--misc/unclutter/Makefile3
-rw-r--r--misc/usbrh-libusb/Makefile3
-rw-r--r--misc/vera/Makefile3
-rw-r--r--misc/viz/Makefile3
-rw-r--r--misc/wmScoreBoard/Makefile3
-rw-r--r--misc/wmwork/Makefile3
-rw-r--r--misc/xgas/Makefile3
-rw-r--r--misc/xless/Makefile3
-rw-r--r--misc/xtar/Makefile2
-rw-r--r--multimedia/ab25/Makefile3
-rw-r--r--multimedia/assimp/Makefile3
-rw-r--r--multimedia/avbin/Makefile3
-rw-r--r--multimedia/bangarang/Makefile2
-rw-r--r--multimedia/ffmpegthumbnailer/Makefile3
-rw-r--r--multimedia/flvstreamer/Makefile3
-rw-r--r--multimedia/kdenlive/Makefile3
-rw-r--r--multimedia/libdvbpsi/Makefile3
-rw-r--r--multimedia/libdvdcss/Makefile3
-rw-r--r--multimedia/libkate/Makefile2
-rw-r--r--multimedia/mimms/Makefile3
-rw-r--r--multimedia/mjpg-streamer/Makefile3
-rw-r--r--multimedia/mpeg4ip/Makefile3
-rw-r--r--multimedia/mplayer-skins/Makefile3
-rw-r--r--multimedia/mplayer/Makefile.shared3
-rw-r--r--multimedia/mplex/Makefile3
-rw-r--r--multimedia/opencinematools/Makefile2
-rw-r--r--multimedia/pwcbsd/Makefile3
-rw-r--r--multimedia/pwcview/Makefile3
-rw-r--r--multimedia/replex/Makefile3
-rw-r--r--multimedia/smpeg/Makefile2
-rw-r--r--multimedia/spigot/Makefile5
-rw-r--r--multimedia/szap-s2/Makefile3
-rw-r--r--multimedia/tstools/Makefile3
-rw-r--r--multimedia/vcdimager/Makefile3
-rw-r--r--multimedia/vdr-plugin-control/Makefile3
-rw-r--r--multimedia/vdr-plugin-streamdev/Makefile3
-rw-r--r--multimedia/vdr-plugin-xineliboutput/Makefile6
-rw-r--r--multimedia/win32-codecs/Makefile3
-rw-r--r--multimedia/xanim/Makefile3
-rw-r--r--net-im/cicquin/Makefile3
-rw-r--r--net-im/ejabberd/Makefile5
-rw-r--r--net-im/emesene/Makefile4
-rw-r--r--net-im/jabber-pyicq/Makefile2
-rw-r--r--net-im/ktp-accounts-kcm/Makefile3
-rw-r--r--net-im/ktp-approver/Makefile3
-rw-r--r--net-im/ktp-auth-handler/Makefile3
-rw-r--r--net-im/ktp-common-internals/Makefile3
-rw-r--r--net-im/ktp-contact-list/Makefile3
-rw-r--r--net-im/ktp-contact-runner/Makefile3
-rw-r--r--net-im/ktp-desktop-applets/Makefile3
-rw-r--r--net-im/ktp-filetransfer-handler/Makefile3
-rw-r--r--net-im/ktp-kded-integration-module/Makefile3
-rw-r--r--net-im/ktp-send-file/Makefile3
-rw-r--r--net-im/ktp-text-ui/Makefile5
-rw-r--r--net-im/mikutter/Makefile3
-rw-r--r--net-im/p5-Net-XMPP2/Makefile1
-rw-r--r--net-im/plasma-applet-ktp/Makefile3
-rw-r--r--net-im/py-xmpppy-yahoo/Makefile3
-rw-r--r--net-im/qwit/Makefile2
-rw-r--r--net-im/telepathy-logger-qt4/Makefile3
-rw-r--r--net-mgmt/aggregate/Makefile3
-rw-r--r--net-mgmt/arpwatch/Makefile2
-rw-r--r--net-mgmt/clog/Makefile3
-rw-r--r--net-mgmt/flow-tools-ng/Makefile2
-rw-r--r--net-mgmt/grepip/Makefile2
-rw-r--r--net-mgmt/ipacctd/Makefile2
-rw-r--r--net-mgmt/nagvis/Makefile3
-rw-r--r--net-mgmt/nbtscan/Makefile1
-rw-r--r--net-mgmt/p5-Net-SNMP/Makefile2
-rw-r--r--net-mgmt/p5-SNMP_Session/Makefile2
-rw-r--r--net-mgmt/p5-jmx4perl/Makefile4
-rw-r--r--net-mgmt/phpipam/Makefile5
-rw-r--r--net-mgmt/pnp/Makefile3
-rw-r--r--net-mgmt/py-ipcalc/Makefile3
-rw-r--r--net-mgmt/send/Makefile3
-rw-r--r--net-mgmt/spectools/Makefile3
-rw-r--r--net-mgmt/subcalc/Makefile1
-rw-r--r--net-p2p/retroshare/Makefile3
-rw-r--r--net-p2p/rtgui/Makefile9
-rw-r--r--net-p2p/transmission-remote-gui/Makefile2
-rw-r--r--net/44bsd-rdist/Makefile3
-rw-r--r--net/aprsc/Makefile3
-rw-r--r--net/boinc_curses/Makefile4
-rw-r--r--net/bounce/Makefile3
-rw-r--r--net/cagibi/Makefile3
-rw-r--r--net/clamz/Makefile2
-rw-r--r--net/cvsup-static/Makefile3
-rw-r--r--net/dgd-lpmud/Makefile2
-rw-r--r--net/gnu-dico/Makefile3
-rw-r--r--net/gnu-radius/Makefile3
-rw-r--r--net/googlecl/Makefile2
-rw-r--r--net/grdesktop/Makefile3
-rw-r--r--net/hexinject/Makefile3
-rw-r--r--net/icmpinfo/Makefile3
-rw-r--r--net/iet/Makefile3
-rw-r--r--net/ifstat/Makefile3
-rw-r--r--net/igmpproxy/Makefile3
-rw-r--r--net/isc-dhcp41-server/Makefile3
-rw-r--r--net/isc-dhcp42-server/Makefile3
-rw-r--r--net/isc-dhcp43-server/Makefile3
-rw-r--r--net/jgroups/Makefile3
-rw-r--r--net/jwhois/Makefile3
-rw-r--r--net/kio-upnp-ms/Makefile6
-rw-r--r--net/kippo/Makefile2
-rw-r--r--net/libkfbapi/Makefile3
-rw-r--r--net/libproxy/Makefile2
-rw-r--r--net/lvwimax/Makefile3
-rw-r--r--net/mopd/Makefile3
-rw-r--r--net/msend/Makefile3
-rw-r--r--net/nc/Makefile3
-rw-r--r--net/netatalk3/Makefile1
-rw-r--r--net/netcat/Makefile3
-rw-r--r--net/netembryo/Makefile3
-rw-r--r--net/netpipes/Makefile3
-rw-r--r--net/netselect/Makefile2
-rw-r--r--net/ntraceroute/Makefile3
-rw-r--r--net/openbgpd/Makefile6
-rw-r--r--net/opendpi/Makefile2
-rw-r--r--net/openntpd/Makefile3
-rw-r--r--net/ostinato/Makefile4
-rw-r--r--net/p5-Net-CascadeCopy/Makefile1
-rw-r--r--net/p5-Net-GrowlClient/Makefile1
-rw-r--r--net/p5-Net-IRR/Makefile1
-rw-r--r--net/p5-Net-Proxy/Makefile1
-rw-r--r--net/p5-Net-Trackback/Makefile1
-rw-r--r--net/p5-POE-Component-PubSub/Makefile1
-rw-r--r--net/p5-PlRPC/Makefile3
-rw-r--r--net/p5-Samba-LDAP/Makefile1
-rw-r--r--net/p5-Socks/Makefile3
-rw-r--r--net/pload/Makefile3
-rw-r--r--net/py-amqplib/Makefile5
-rw-r--r--net/py-ndg_httpsclient/Makefile3
-rw-r--r--net/py-pypcap/Makefile2
-rw-r--r--net/py-pyvmomi/Makefile3
-rw-r--r--net/rinetd/Makefile3
-rw-r--r--net/rsync-bpc/Makefile3
-rw-r--r--net/rsync/Makefile9
-rw-r--r--net/samba36/Makefile3
-rw-r--r--net/samba4/Makefile3
-rw-r--r--net/samba41/Makefile3
-rw-r--r--net/samplicator/Makefile3
-rw-r--r--net/smb4k-kde4/Makefile3
-rw-r--r--net/sniffit/Makefile5
-rw-r--r--net/stf-6rd-kmod/Makefile3
-rw-r--r--net/suckblow/Makefile3
-rw-r--r--net/tcpcat/Makefile3
-rw-r--r--net/tcpshow/Makefile3
-rw-r--r--net/trafshow3/Makefile5
-rw-r--r--net/tramp/Makefile3
-rw-r--r--net/tridiavnc/Makefile3
-rw-r--r--net/uget/Makefile3
-rw-r--r--net/vblade/Makefile5
-rw-r--r--net/vnc/Makefile3
-rw-r--r--net/wmnd/Makefile1
-rw-r--r--net/wmnet/Makefile3
-rw-r--r--net/wmwifi/Makefile3
-rw-r--r--net/xpvm/Makefile3
-rw-r--r--net/yconalyzer/Makefile3
-rw-r--r--news/atp/Makefile3
-rw-r--r--news/husky/Makefile.local3
-rw-r--r--news/ifmail/Makefile3
-rw-r--r--news/inn/Makefile3
-rw-r--r--news/knews/Makefile3
-rw-r--r--news/lusernet/Makefile3
-rw-r--r--news/newsfetch/Makefile3
-rw-r--r--news/p5-NNTPClient/Makefile3
-rw-r--r--news/pgpmoose/Makefile3
-rw-r--r--news/plor/Makefile3
-rw-r--r--news/slrnface/Makefile3
-rw-r--r--ports-mgmt/p5-FreeBSD-Ports/Makefile3
-rw-r--r--ports-mgmt/portsearch/Makefile3
-rw-r--r--ports-mgmt/porttree/Makefile2
-rw-r--r--print/a2ps/Makefile4
-rw-r--r--print/abc2mtex/Makefile3
-rw-r--r--print/adobe-cmaps/Makefile3
-rw-r--r--print/alignmargins/Makefile3
-rw-r--r--print/asprint/Makefile3
-rw-r--r--print/auctex/Makefile3
-rw-r--r--print/bibview/Makefile3
-rw-r--r--print/cm-super/Makefile6
-rw-r--r--print/dot2tex/Makefile2
-rw-r--r--print/font-amsfonts/Makefile3
-rw-r--r--print/foo2zjs/Makefile4
-rw-r--r--print/foomatic-db/Makefile3
-rw-r--r--print/foxitreader/Makefile6
-rw-r--r--print/ghostscript7/Makefile5
-rw-r--r--print/ghostscript7/files/Makefile.bjc2503
-rw-r--r--print/ghostscript7/files/Makefile.cpca2
-rw-r--r--print/ghostscript7/files/Makefile.eplaser3
-rw-r--r--print/ghostscript7/files/Makefile.gprint3
-rw-r--r--print/ghostscript7/files/Makefile.lex70002
-rw-r--r--print/ghostscript7/files/Makefile.lx50002
-rw-r--r--print/ghostscript8/Makefile1
-rw-r--r--print/ghostscript9-agpl/Makefile1
-rw-r--r--print/ghostscript9/Makefile1
-rw-r--r--print/html2latex/Makefile3
-rw-r--r--print/kde_poster/Makefile3
-rw-r--r--print/latex-ltablex/Makefile6
-rw-r--r--print/latex-resume/Makefile3
-rw-r--r--print/latex2rtf/Makefile2
-rw-r--r--print/libotf/Makefile3
-rw-r--r--print/libpaper/Makefile3
-rw-r--r--print/openprinting/Makefile4
-rw-r--r--print/pdfbox/Makefile3
-rw-r--r--print/pic2fig/Makefile3
-rw-r--r--print/pkfonts300/Makefile3
-rw-r--r--print/pstotext/Makefile7
-rw-r--r--print/psutils/Makefile3
-rw-r--r--print/py-reportlab1/Makefile3
-rw-r--r--print/tex/Makefile6
-rw-r--r--print/trueprint/Makefile3
-rw-r--r--russian/artwiz-ru/Makefile3
-rw-r--r--russian/bugzilla44/Makefile3
-rw-r--r--science/crf++/Makefile3
-rw-r--r--science/fisicalab/Makefile3
-rw-r--r--science/gchemutils/Makefile3
-rw-r--r--science/p5-Geo-Coordinates-Converter/Makefile1
-rw-r--r--science/py-pydicom/Makefile2
-rw-r--r--science/py-scikit-learn/Makefile3
-rw-r--r--science/simsmith/Makefile3
-rw-r--r--science/xfce4-equake-plugin/Makefile3
-rw-r--r--security/ADMsmb/Makefile3
-rw-r--r--security/ADMsnmp/Makefile4
-rw-r--r--security/amap/Makefile3
-rw-r--r--security/amavis-stats/Makefile3
-rw-r--r--security/apache-xml-security-c/Makefile3
-rw-r--r--security/arirang/Makefile1
-rw-r--r--security/axTLS/Makefile3
-rw-r--r--security/blindelephant/Makefile3
-rw-r--r--security/bruteforceblocker/Makefile3
-rw-r--r--security/bsmtrace/Makefile3
-rw-r--r--security/ccsrch/Makefile5
-rw-r--r--security/checkpassword/Makefile3
-rw-r--r--security/clambc/Makefile3
-rw-r--r--security/courier-authlib/Makefile1
-rw-r--r--security/cracklib/Makefile2
-rw-r--r--security/cryptstring/Makefile2
-rw-r--r--security/dcetest/Makefile3
-rw-r--r--security/digest/Makefile3
-rw-r--r--security/dirmngr/Makefile3
-rw-r--r--security/dmitry/Makefile3
-rw-r--r--security/dradis/Makefile5
-rw-r--r--security/easypg/Makefile3
-rw-r--r--security/fakeroot/Makefile3
-rw-r--r--security/flawfinder/Makefile3
-rw-r--r--security/fprint_demo/Makefile3
-rw-r--r--security/fragroute/Makefile3
-rw-r--r--security/fuzzdb/Makefile4
-rw-r--r--security/gnupg/Makefile2
-rw-r--r--security/gnupg1/Makefile3
-rw-r--r--security/gnupg20/Makefile3
-rw-r--r--security/gwee/Makefile3
-rw-r--r--security/honggfuzz/Makefile2
-rw-r--r--security/hotssh/Makefile1
-rw-r--r--security/iaikpkcs11wrapper/Makefile3
-rw-r--r--security/isnprober/Makefile3
-rw-r--r--security/keychain/Makefile2
-rw-r--r--security/keyprint/Makefile3
-rw-r--r--security/kripp/Makefile3
-rw-r--r--security/l0pht-watch/Makefile3
-rw-r--r--security/libgcrypt/Makefile3
-rw-r--r--security/libgpg-error/Makefile3
-rw-r--r--security/libressl/Makefile3
-rw-r--r--security/libtasn1/Makefile3
-rw-r--r--security/logcheck/Makefile2
-rw-r--r--security/makepasswd/Makefile3
-rw-r--r--security/mindterm-binary/Makefile3
-rw-r--r--security/nettle/Makefile3
-rw-r--r--security/oath-toolkit/Makefile3
-rw-r--r--security/opencdk/Makefile1
-rw-r--r--security/openssh-portable/Makefile6
-rw-r--r--security/openssl/Makefile7
-rw-r--r--security/openvpn-auth-ldap/Makefile2
-rw-r--r--security/outguess/Makefile3
-rw-r--r--security/p5-Crypt-CAST5/Makefile1
-rw-r--r--security/p5-Crypt-Juniper/Makefile3
-rw-r--r--security/p5-Crypt-Rijndael/Makefile1
-rw-r--r--security/p5-CryptX/Makefile3
-rw-r--r--security/p5-GSSAPI/Makefile3
-rw-r--r--security/p5-MD5/Makefile3
-rw-r--r--security/p5-Net-Radius-Server/Makefile1
-rw-r--r--security/p5-SAVI-Perl/Makefile1
-rw-r--r--security/pam_fprint/Makefile3
-rw-r--r--security/pgpgpg/Makefile3
-rw-r--r--security/pgpin/Makefile3
-rw-r--r--security/pkcs11-dump/Makefile2
-rw-r--r--security/pkcs11-gateway/Makefile3
-rw-r--r--security/pks/Makefile5
-rw-r--r--security/pulledpork/Makefile2
-rw-r--r--security/putty/Makefile3
-rw-r--r--security/pwauth/Makefile2
-rw-r--r--security/quantis-kmod/Makefile3
-rw-r--r--security/quantis/Makefile3
-rw-r--r--security/ranpwd/Makefile9
-rw-r--r--security/sasp/Makefile3
-rw-r--r--security/seccure/Makefile2
-rw-r--r--security/signing-party/Makefile3
-rw-r--r--security/skipfish/Makefile2
-rw-r--r--security/srm/Makefile7
-rw-r--r--security/sshit/Makefile3
-rw-r--r--security/stoken/Makefile3
-rw-r--r--security/sudo/Makefile2
-rw-r--r--security/tripwire12/Makefile2
-rw-r--r--security/webscarab/Makefile3
-rw-r--r--security/xinetd/Makefile2
-rw-r--r--security/xml-security/Makefile9
-rw-r--r--shells/44bsd-csh/Makefile3
-rw-r--r--shells/esh/Makefile2
-rw-r--r--shells/scponly/Makefile3
-rw-r--r--sysutils/44bsd-more/Makefile3
-rw-r--r--sysutils/915resolution/Makefile3
-rw-r--r--sysutils/acpica-tools/Makefile3
-rw-r--r--sysutils/afbinit/Makefile7
-rw-r--r--sysutils/amrstat/Makefile3
-rw-r--r--sysutils/apcpwr/Makefile3
-rw-r--r--sysutils/apt/Makefile2
-rw-r--r--sysutils/asmon/Makefile3
-rw-r--r--sysutils/asusoled/Makefile3
-rw-r--r--sysutils/backuppc-devel/Makefile3
-rw-r--r--sysutils/batmon/Makefile3
-rw-r--r--sysutils/battray/Makefile2
-rw-r--r--sysutils/bbapm/Makefile3
-rw-r--r--sysutils/boxbackup-devel/Makefile3
-rw-r--r--sysutils/cdf/Makefile3
-rw-r--r--sysutils/cdrdao/Makefile1
-rw-r--r--sysutils/cdrtools-devel/Makefile3
-rw-r--r--sysutils/cdrtools/Makefile3
-rw-r--r--sysutils/confctl/Makefile3
-rw-r--r--sysutils/consolehm/Makefile3
-rw-r--r--sysutils/copytape/Makefile3
-rw-r--r--sysutils/crashme/Makefile3
-rw-r--r--sysutils/daemontools/Makefile3
-rw-r--r--sysutils/dvdimagecmp/Makefile3
-rw-r--r--sysutils/farbot/Makefile2
-rw-r--r--sysutils/fortunelock/Makefile3
-rw-r--r--sysutils/fsc/Makefile3
-rw-r--r--sysutils/fusefs-afuse/Makefile2
-rw-r--r--sysutils/fusefs-chironfs/Makefile2
-rw-r--r--sysutils/fusefs-rar2fs/Makefile2
-rw-r--r--sysutils/fusefs-sqlfs/Makefile3
-rw-r--r--sysutils/geomgui/Makefile3
-rw-r--r--sysutils/getdelta/Makefile3
-rw-r--r--sysutils/gigolo/Makefile3
-rw-r--r--sysutils/gkfreq/Makefile3
-rw-r--r--sysutils/gkrellfire/Makefile3
-rw-r--r--sysutils/gkrellm2/Makefile3
-rw-r--r--sysutils/gstopd/Makefile3
-rw-r--r--sysutils/hatop/Makefile2
-rw-r--r--sysutils/heartbeat/Makefile3
-rw-r--r--sysutils/isc-cron/Makefile3
-rw-r--r--sysutils/ldapenter/Makefile2
-rw-r--r--sysutils/less/Makefile3
-rw-r--r--sysutils/libcdio-paranoia/Makefile3
-rw-r--r--sysutils/libcdio/Makefile3
-rw-r--r--sysutils/libchk/Makefile3
-rw-r--r--sysutils/mgeupsd/Makefile3
-rw-r--r--sysutils/mkntpwd/Makefile3
-rw-r--r--sysutils/mksunbootcd/Makefile2
-rw-r--r--sysutils/mountsmb2/Makefile3
-rw-r--r--sysutils/msktutil/Makefile2
-rw-r--r--sysutils/no-login/Makefile3
-rw-r--r--sysutils/open/Makefile2
-rw-r--r--sysutils/p5-BackupPC-XS/Makefile3
-rw-r--r--sysutils/p5-Filesys-DfPortable/Makefile1
-rw-r--r--sysutils/p5-Samba-SIDhelper/Makefile1
-rw-r--r--sysutils/p5-Sys-Filesystem/Makefile1
-rw-r--r--sysutils/p5-arclog/Makefile3
-rw-r--r--sysutils/p5-reslog/Makefile3
-rw-r--r--sysutils/paicc/Makefile3
-rw-r--r--sysutils/pdixtract/Makefile3
-rw-r--r--sysutils/polkit-kde/Makefile3
-rw-r--r--sysutils/py-danzfs/Makefile2
-rw-r--r--sysutils/radmind/Makefile3
-rw-r--r--sysutils/rdate/Makefile5
-rw-r--r--sysutils/rdiff-backup-devel/Makefile7
-rw-r--r--sysutils/rdiff-backup/Makefile7
-rw-r--r--sysutils/rfstool/Makefile2
-rw-r--r--sysutils/rsyncbackup/Makefile2
-rw-r--r--sysutils/samesame/Makefile3
-rw-r--r--sysutils/sformat/Makefile3
-rw-r--r--sysutils/slack/Makefile2
-rw-r--r--sysutils/superiotool/Makefile3
-rw-r--r--sysutils/symlinks/Makefile3
-rw-r--r--sysutils/symon/Makefile3
-rw-r--r--sysutils/thefish/Makefile3
-rw-r--r--sysutils/timemon/Makefile3
-rw-r--r--sysutils/ucspi-ssl-tls/Makefile3
-rw-r--r--sysutils/ucspi-ssl/Makefile3
-rw-r--r--sysutils/ucspi-tcp/Makefile9
-rw-r--r--sysutils/udfclient/Makefile5
-rw-r--r--sysutils/usermin/Makefile3
-rw-r--r--sysutils/vbetool/Makefile3
-rw-r--r--sysutils/whowatch/Makefile3
-rw-r--r--sysutils/wmbluecpu/Makefile3
-rw-r--r--sysutils/wmcube/Makefile3
-rw-r--r--sysutils/wmmemfree/Makefile3
-rw-r--r--sysutils/xe-guest-utilities/Makefile3
-rw-r--r--sysutils/xfsm/Makefile3
-rw-r--r--sysutils/xin/Makefile3
-rw-r--r--sysutils/xlogmaster/Makefile3
-rw-r--r--sysutils/xsysstats/Makefile3
-rw-r--r--sysutils/zisofs-tools/Makefile3
-rw-r--r--textproc/apache-poi/Makefile3
-rw-r--r--textproc/apache-solr/Makefile3
-rw-r--r--textproc/apache-solr3/Makefile3
-rw-r--r--textproc/aspell/Makefile.inc3
-rw-r--r--textproc/bibtool/Makefile3
-rw-r--r--textproc/bsddiff/Makefile3
-rw-r--r--textproc/bsdgrep/Makefile3
-rw-r--r--textproc/bsdsort/Makefile3
-rw-r--r--textproc/c2html/Makefile3
-rw-r--r--textproc/cdif/Makefile3
-rw-r--r--textproc/chm2pdf/Makefile2
-rw-r--r--textproc/docbook-utils/Makefile3
-rw-r--r--textproc/flip/Makefile3
-rw-r--r--textproc/foiltex/Makefile3
-rw-r--r--textproc/gladtex/Makefile3
-rw-r--r--textproc/groff/Makefile3
-rw-r--r--textproc/gtkspell/Makefile3
-rw-r--r--textproc/hhm/Makefile3
-rw-r--r--textproc/htdig/Makefile3
-rw-r--r--textproc/html2text/Makefile3
-rw-r--r--textproc/ibus-m17n/Makefile2
-rw-r--r--textproc/ibus-table/Makefile2
-rw-r--r--textproc/iksemel/Makefile2
-rw-r--r--textproc/irstlm/Makefile3
-rw-r--r--textproc/iso12083/Makefile3
-rw-r--r--textproc/iso8879/Makefile3
-rw-r--r--textproc/java2html/Makefile3
-rw-r--r--textproc/latex2html/Makefile3
-rw-r--r--textproc/liblrdf/Makefile2
-rw-r--r--textproc/libtext-charwidth-perl/Makefile3
-rw-r--r--textproc/libtext-wrapi18n-perl/Makefile3
-rw-r--r--textproc/ltxml/Makefile2
-rw-r--r--textproc/lucene/Makefile5
-rw-r--r--textproc/lucene4/Makefile3
-rw-r--r--textproc/lucene5/Makefile3
-rw-r--r--textproc/mdocml/Makefile3
-rw-r--r--textproc/mgdiff/Makefile3
-rw-r--r--textproc/muse/Makefile3
-rw-r--r--textproc/p5-Google-Data-JSON/Makefile2
-rw-r--r--textproc/p5-PPI-XS/Makefile3
-rw-r--r--textproc/p5-Pod-Strip/Makefile1
-rw-r--r--textproc/p5-String-BufferStack/Makefile1
-rw-r--r--textproc/p5-Text-FixEOL/Makefile1
-rw-r--r--textproc/p5-Text-Reform/Makefile1
-rw-r--r--textproc/p5-Text-Trim/Makefile1
-rw-r--r--textproc/p5-XML-DOM2/Makefile1
-rw-r--r--textproc/p5-XML-Parser-Style-EasyTree/Makefile1
-rw-r--r--textproc/p5-podlators/Makefile3
-rw-r--r--textproc/pdfgrep/Makefile3
-rw-r--r--textproc/pecl-ctemplate/Makefile3
-rw-r--r--textproc/perl2html/Makefile3
-rw-r--r--textproc/popup-stacks/Makefile1
-rw-r--r--textproc/ppower4/Makefile3
-rw-r--r--textproc/py-wordnet/Makefile1
-rw-r--r--textproc/py2html/Makefile3
-rw-r--r--textproc/randlm/Makefile3
-rw-r--r--textproc/ruby-escape/Makefile2
-rw-r--r--textproc/ruby-rttool/Makefile2
-rw-r--r--textproc/scr2txt/Makefile6
-rw-r--r--textproc/senna/Makefile3
-rw-r--r--textproc/sgmlformat/Makefile3
-rw-r--r--textproc/sgrep/Makefile3
-rw-r--r--textproc/sgrep2/Makefile3
-rw-r--r--textproc/source-highlight/Makefile3
-rw-r--r--textproc/txt2tags/Makefile5
-rw-r--r--textproc/uim-el/Makefile2
-rw-r--r--textproc/uim/Makefile2
-rw-r--r--textproc/unroff/Makefile6
-rw-r--r--textproc/xalan-j/Makefile3
-rw-r--r--textproc/xerces-j/Makefile3
-rw-r--r--textproc/xhtml/Makefile3
-rw-r--r--vietnamese/unicode-uhoai/Makefile3
-rw-r--r--vietnamese/vis2u/Makefile3
-rw-r--r--vietnamese/vnconvert/Makefile3
-rw-r--r--vietnamese/vnroff/Makefile3
-rw-r--r--vietnamese/x-unikey/Makefile3
-rw-r--r--www/apache22/Makefile2
-rw-r--r--www/apache24/Makefile2
-rw-r--r--www/axis/Makefile9
-rw-r--r--www/bozohttpd/Makefile2
-rw-r--r--www/cgi-lib.pl/Makefile3
-rw-r--r--www/cgi-lib/Makefile3
-rw-r--r--www/cocoon/Makefile3
-rw-r--r--www/demoroniser/Makefile3
-rw-r--r--www/diamanda/Makefile2
-rw-r--r--www/dillo2/Makefile4
-rw-r--r--www/emacs-w3m/Makefile3
-rw-r--r--www/eventum/Makefile3
-rw-r--r--www/feedonfeeds/Makefile2
-rw-r--r--www/free-sa-devel/Makefile3
-rw-r--r--www/fswiki/Makefile3
-rw-r--r--www/fusionpbx/Makefile2
-rw-r--r--www/gaeo/Makefile2
-rw-r--r--www/geronimo/Makefile3
-rw-r--r--www/grr/Makefile3
-rw-r--r--www/gtkhtml3/Makefile3
-rw-r--r--www/guile-www/Makefile3
-rw-r--r--www/gurlchecker/Makefile3
-rw-r--r--www/htdigest/Makefile2
-rw-r--r--www/html2hdml/Makefile3
-rw-r--r--www/httpasyncclient/Makefile3
-rw-r--r--www/httpclient/Makefile3
-rw-r--r--www/httpcore/Makefile3
-rw-r--r--www/httpsqs/Makefile2
-rw-r--r--www/ikiwiki/Makefile2
-rw-r--r--www/jetty/Makefile3
-rw-r--r--www/jmeter/Makefile3
-rw-r--r--www/libapreq2/Makefile3
-rw-r--r--www/lighttpd-mod_geoip/Makefile3
-rw-r--r--www/lighttpd-mod_h264_streaming/Makefile3
-rw-r--r--www/mod_amazon_proxy/Makefile3
-rw-r--r--www/mod_asn/Makefile3
-rw-r--r--www/mod_auth_tkt/Makefile3
-rw-r--r--www/mod_authn_sasl/Makefile3
-rw-r--r--www/mod_fcgid/Makefile3
-rw-r--r--www/mod_jk/Makefile3
-rw-r--r--www/mod_memcache/Makefile2
-rw-r--r--www/mod_perl2/Makefile3
-rw-r--r--www/mod_python33/Makefile3
-rw-r--r--www/mod_python35/Makefile1
-rw-r--r--www/mod_qos/Makefile3
-rw-r--r--www/mod_remoteip/Makefile2
-rw-r--r--www/mod_reproxy/Makefile3
-rw-r--r--www/mod_rivet/Makefile3
-rw-r--r--www/mod_setenvifplus/Makefile3
-rw-r--r--www/mod_spdy/Makefile2
-rw-r--r--www/mod_vhost_ldap/Makefile3
-rw-r--r--www/myfaces/Makefile3
-rw-r--r--www/nginx-devel/Makefile12
-rw-r--r--www/nginx/Makefile12
-rw-r--r--www/p5-Apache-Clean2/Makefile3
-rw-r--r--www/p5-Ark/Makefile3
-rw-r--r--www/p5-CGI-Compress-Gzip/Makefile1
-rw-r--r--www/p5-CGI-Session-ExpireSessions/Makefile1
-rw-r--r--www/p5-CSS-DOM/Makefile1
-rw-r--r--www/p5-Catalyst-View-Jemplate/Makefile1
-rw-r--r--www/p5-Catalyst-View-XML-Simple/Makefile3
-rw-r--r--www/p5-Data-Validate-URI/Makefile1
-rw-r--r--www/p5-HTML-FromANSI/Makefile1
-rw-r--r--www/p5-HTTP-Response-Encoding/Makefile1
-rw-r--r--www/p5-HTTP-Server-Simple-Static/Makefile1
-rw-r--r--www/p5-LWP-UserAgent-POE/Makefile1
-rw-r--r--www/p5-Net-Trac/Makefile1
-rw-r--r--www/p5-PodToHTML/Makefile3
-rw-r--r--www/p5-Template-Plugin-FillInForm/Makefile1
-rw-r--r--www/p5-TestGen4Web-Runner/Makefile3
-rw-r--r--www/p5-URI-Title/Makefile1
-rw-r--r--www/p5-WWW-DHL/Makefile1
-rw-r--r--www/p5-WebService-Google-Sets/Makefile1
-rw-r--r--www/p5-chklinks/Makefile3
-rw-r--r--www/p5-libapreq2/Makefile3
-rw-r--r--www/phpgroupware/Makefile3
-rw-r--r--www/py-HTMLgen/Makefile3
-rw-r--r--www/py-apachelog/Makefile2
-rw-r--r--www/py-django-app-plugins/Makefile2
-rw-r--r--www/py-django-classy-tags/Makefile3
-rw-r--r--www/py-django-livesettings/Makefile3
-rw-r--r--www/py-formalchemy/Makefile2
-rw-r--r--www/py-pywebdav/Makefile4
-rw-r--r--www/py-recaptcha/Makefile3
-rw-r--r--www/py-utidy/Makefile3
-rw-r--r--www/py-wikitools/Makefile2
-rw-r--r--www/py-wsgiauth/Makefile3
-rw-r--r--www/pylot/Makefile2
-rw-r--r--www/sahi/Makefile3
-rw-r--r--www/samidare/Makefile2
-rw-r--r--www/selenium/Makefile3
-rw-r--r--www/sitecopy/Makefile3
-rw-r--r--www/smb_auth/Makefile3
-rw-r--r--www/squid/Makefile1
-rw-r--r--www/squidstats/Makefile2
-rw-r--r--www/tclhttpd/Makefile3
-rw-r--r--www/tengine/Makefile12
-rw-r--r--www/testlink/Makefile3
-rw-r--r--www/thundercache/Makefile2
-rw-r--r--www/thundersnarf/Makefile2
-rw-r--r--www/tidy-devel/Makefile3
-rw-r--r--www/tinytinyhttpd/Makefile3
-rw-r--r--www/trac-accountmanager/Makefile3
-rw-r--r--www/trac-discussion/Makefile3
-rw-r--r--www/trac-downloads/Makefile3
-rw-r--r--www/trac-fivestarvote/Makefile3
-rw-r--r--www/trac-fullblog/Makefile3
-rw-r--r--www/trac-fullblognotification/Makefile3
-rw-r--r--www/trac-graphviz/Makefile3
-rw-r--r--www/trac-math/Makefile3
-rw-r--r--www/trac-navadd/Makefile3
-rw-r--r--www/trac-pydotorgtheme/Makefile3
-rw-r--r--www/trac-tags/Makefile3
-rw-r--r--www/trac-ticketimport/Makefile3
-rw-r--r--www/trac-vote/Makefile3
-rw-r--r--www/trac-wikitopdf/Makefile3
-rw-r--r--www/twiki-BugzillaLinkPlugin/Makefile2
-rw-r--r--www/twiki-GluePlugin/Makefile2
-rw-r--r--www/twiki-LdapContrib/Makefile2
-rw-r--r--www/twiki-LdapNgPlugin/Makefile2
-rw-r--r--www/twiki-MathModePlugin/Makefile2
-rw-r--r--www/twiki-NewUserPlugin/Makefile2
-rw-r--r--www/uwsgitop/Makefile3
-rw-r--r--www/webcopy/Makefile3
-rw-r--r--www/webcrawl/Makefile3
-rw-r--r--www/websh/Makefile3
-rw-r--r--www/wml/Makefile3
-rw-r--r--www/xpi-adblock/Makefile.xpi6
-rw-r--r--www/xpi-conkeror/Makefile5
-rw-r--r--www/xpi-delicious/Makefile3
-rw-r--r--www/xpi-downthemall/Makefile3
-rw-r--r--x11-clocks/alltraxclock/Makefile3
-rw-r--r--x11-clocks/asclock-xlib/Makefile3
-rw-r--r--x11-clocks/asclock/Makefile3
-rw-r--r--x11-clocks/bclock/Makefile3
-rw-r--r--x11-clocks/mouseclock/Makefile3
-rw-r--r--x11-clocks/osdclock/Makefile3
-rw-r--r--x11-clocks/pclock/Makefile2
-rw-r--r--x11-clocks/swisswatch/Makefile2
-rw-r--r--x11-clocks/wmblueclock/Makefile3
-rw-r--r--x11-clocks/wmtimer/Makefile3
-rw-r--r--x11-clocks/xdaliclock/Makefile1
-rw-r--r--x11-fm/asfiles/Makefile3
-rw-r--r--x11-fm/doublecmd/Makefile2
-rw-r--r--x11-fonts/charis-compact/Makefile1
-rw-r--r--x11-fonts/charis/Makefile1
-rw-r--r--x11-fonts/doulos-compact/Makefile1
-rw-r--r--x11-fonts/font-manager/Makefile2
-rw-r--r--x11-fonts/gfe/Makefile3
-rw-r--r--x11-fonts/gnu-unifont-ttf/Makefile3
-rw-r--r--x11-fonts/gnu-unifont/Makefile3
-rw-r--r--x11-fonts/hanazono-fonts-ttf/Makefile3
-rw-r--r--x11-fonts/intlfonts/Makefile3
-rw-r--r--x11-fonts/liberation-fonts-ttf/Makefile3
-rw-r--r--x11-fonts/mkbold/Makefile2
-rw-r--r--x11-fonts/mkitalic/Makefile2
-rw-r--r--x11-fonts/nexfontsel/Makefile3
-rw-r--r--x11-fonts/p5-type1inst/Makefile3
-rw-r--r--x11-fonts/paratype/Makefile1
-rw-r--r--x11-fonts/terminus-font/Makefile2
-rw-r--r--x11-fonts/tkfont/Makefile3
-rw-r--r--x11-servers/xorg-nestserver/Makefile3
-rw-r--r--x11-servers/xorg-server/Makefile3
-rw-r--r--x11-servers/xorg-vfbserver/Makefile3
-rw-r--r--x11-themes/beastie/Makefile3
-rw-r--r--x11-themes/clearlooks-metacity/Makefile3
-rw-r--r--x11-themes/gnome-icons-aqua-fusion/Makefile3
-rw-r--r--x11-themes/gnome-icons-faenza/Makefile2
-rw-r--r--x11-themes/gnome-icons-gentoo-test/Makefile3
-rw-r--r--x11-themes/gnome-icons-iris/Makefile3
-rw-r--r--x11-themes/gnome-icons-noia-warm/Makefile3
-rw-r--r--x11-themes/gnome-icons-refined/Makefile3
-rw-r--r--x11-themes/gnome-icons-slick/Makefile3
-rw-r--r--x11-themes/gnome-icons-snow-apple/Makefile3
-rw-r--r--x11-themes/gnome-icons-stylish/Makefile3
-rw-r--r--x11-themes/gnome-icons-ximian-south/Makefile3
-rw-r--r--x11-themes/gtk-aqualightblue-theme/Makefile3
-rw-r--r--x11-themes/gtk-engines2/Makefile3
-rw-r--r--x11-themes/gtk-flat-theme2/Makefile3
-rw-r--r--x11-themes/gtk-murrina-aqua/Makefile3
-rw-r--r--x11-themes/gtk-oxygen-engine/Makefile3
-rw-r--r--x11-themes/gtk-qt4-engine/Makefile2
-rw-r--r--x11-themes/gtk3-oxygen-engine/Makefile3
-rw-r--r--x11-themes/icon-naming-utils/Makefile2
-rw-r--r--x11-themes/icons-tango-extras/Makefile3
-rw-r--r--x11-themes/icons-tango/Makefile2
-rw-r--r--x11-themes/irssi-themes/Makefile1
-rw-r--r--x11-themes/kde-gtk-config/Makefile3
-rw-r--r--x11-themes/kde-icons-gartoon-blue-svg/Makefile3
-rw-r--r--x11-themes/kde-icons-gartoon-svg/Makefile3
-rw-r--r--x11-themes/kde-icons-kool-gorilla/Makefile3
-rw-r--r--x11-themes/kde-icons-noia/Makefile5
-rw-r--r--x11-themes/kde-icons-nuvola/Makefile3
-rw-r--r--x11-themes/metacity-themes/Makefile.metacity3
-rw-r--r--x11-themes/openbox-themes/Makefile3
-rw-r--r--x11-toolkits/attica/Makefile3
-rw-r--r--x11-toolkits/gal2/Makefile3
-rw-r--r--x11-toolkits/gnustep-gui/Makefile3
-rw-r--r--x11-toolkits/gtk12/Makefile3
-rw-r--r--x11-toolkits/gtk20/Makefile3
-rw-r--r--x11-toolkits/gtk30/Makefile3
-rw-r--r--x11-toolkits/gtksourceview2/Makefile3
-rw-r--r--x11-toolkits/linux-c6-qt47-x11/Makefile3
-rw-r--r--x11-toolkits/linux-f10-pango/Makefile4
-rw-r--r--x11-toolkits/py-gnome2/Makefile3
-rw-r--r--x11-toolkits/py-gtk2/Makefile3
-rw-r--r--x11-toolkits/py-gtksourceview/Makefile3
-rw-r--r--x11-toolkits/py-tkinter/Makefile3
-rw-r--r--x11-toolkits/slingshot/Makefile3
-rw-r--r--x11-toolkits/swt-devel/Makefile3
-rw-r--r--x11-toolkits/swt/Makefile5
-rw-r--r--x11-toolkits/tk84/Makefile4
-rw-r--r--x11-toolkits/tk85/Makefile4
-rw-r--r--x11-toolkits/tk86/Makefile4
-rw-r--r--x11-toolkits/tktray/Makefile2
-rw-r--r--x11-toolkits/vte290/Makefile1
-rw-r--r--x11-toolkits/vte3/Makefile3
-rw-r--r--x11-toolkits/xforms/Makefile3
-rw-r--r--x11-toolkits/xview-clients/Makefile3
-rw-r--r--x11-toolkits/xview/Makefile3
-rw-r--r--x11-wm/afterstep-stable/Makefile3
-rw-r--r--x11-wm/afterstep/Makefile3
-rw-r--r--x11-wm/euclid-wm/Makefile2
-rw-r--r--x11-wm/fluxbox/Makefile4
-rw-r--r--x11-wm/libdockapp/Makefile3
-rw-r--r--x11-wm/libwraster/Makefile3
-rw-r--r--x11-wm/olvwm/Makefile7
-rw-r--r--x11-wm/ratpoison/Makefile4
-rw-r--r--x11-wm/tvtwm/Makefile3
-rw-r--r--x11-wm/windowmaker/Makefile3
-rw-r--r--x11-wm/wmanager/Makefile2
-rw-r--r--x11/9box/Makefile3
-rw-r--r--x11/9menu/Makefile2
-rw-r--r--x11/arandr/Makefile2
-rw-r--r--x11/blast/Makefile3
-rw-r--r--x11/erun/Makefile3
-rw-r--r--x11/fbdesk/Makefile2
-rw-r--r--x11/hotwire-shell/Makefile2
-rw-r--r--x11/kb2mb2/Makefile2
-rw-r--r--x11/keybinder-gtk3/Makefile2
-rw-r--r--x11/keybinder/Makefile2
-rw-r--r--x11/props/Makefile3
-rw-r--r--x11/qimageblitz/Makefile3
-rw-r--r--x11/sxpc/Makefile3
-rw-r--r--x11/wbar/Makefile2
-rw-r--r--x11/wdm/Makefile3
-rw-r--r--x11/wmcliphist/Makefile3
-rw-r--r--x11/xautolock/Makefile3
-rw-r--r--x11/xbanner/Makefile3
-rw-r--r--x11/xcmd/Makefile3
-rw-r--r--x11/xcolors/Makefile3
-rw-r--r--x11/xfce4-whiskermenu-plugin/Makefile3
-rw-r--r--x11/xgrab/Makefile3
-rw-r--r--x11/xidle/Makefile3
-rw-r--r--x11/xkbctrl/Makefile3
-rw-r--r--x11/xkeyboard-config/Makefile2
-rw-r--r--x11/xloadimage/Makefile2
-rw-r--r--x11/xmon/Makefile3
-rw-r--r--x11/xprompt/Makefile3
-rw-r--r--x11/xpyb/Makefile3
-rw-r--r--x11/xtacy/Makefile3
-rw-r--r--x11/xtoolwait/Makefile3
-rw-r--r--x11/xwatchwin/Makefile3
-rw-r--r--x11/xzoom/Makefile3
1814 files changed, 1845 insertions, 3433 deletions
diff --git a/Mk/bsd.sites.mk b/Mk/bsd.sites.mk
index 8d13d90..0940b9d 100644
--- a/Mk/bsd.sites.mk
+++ b/Mk/bsd.sites.mk
@@ -1345,13 +1345,16 @@ MASTER_SITES_SUBDIRS= APACHE_COMMONS_BINARIES:${PORTNAME:S,commons-,,} \
CHEESESHOP:source/${DISTNAME:C/(.).*/\1/}/${DISTNAME:C/(.*)-[0-9].*/\1/} \
DEBIAN:pool/main/${PORTNAME:C/^((lib)?.).*$/\1/}/${PORTNAME} \
FARSIGHT:${PORTNAME} \
+ FESTIVAL:${PORTVERSION} \
GCC:releases/${DISTNAME} \
+ GENTOO:distfiles \
+ GIMP:${PORTNAME}/${PORTVERSION:R}/ \
GITHUB:${GH_ACCOUNT}/${GH_PROJECT}/tar.gz/${GH_TAGNAME}?dummy=/ \
GITHUB_CLOUD:${GH_ACCOUNT}/${GH_PROJECT}/ \
GITHUB_LEGACY:${GH_ACCOUNT}/${GH_PROJECT}/legacy.tar.gz/${GH_TAGNAME}?dummy=/ \
GNOME:sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} \
- GIMP:${PORTNAME}/${PORTVERSION:R}/ \
GNU:${PORTNAME} \
+ GNUPG:${PORTNAME} \
GNU_ALPHA:${PORTNAME} \
HORDE:${PORTNAME} \
LIBREOFFICE_DEV:${PORTNAME} \
@@ -1359,6 +1362,8 @@ MASTER_SITES_SUBDIRS= APACHE_COMMONS_BINARIES:${PORTNAME:S,commons-,,} \
MOZDEV:${PORTNAME:tl} \
NETLIB:${PORTNAME} \
PERL_CPAN:${PORTNAME:C/-.*//} \
+ QT:archive/qt/${PORTVERSION:R} \
+ SAMBA:${PORTNAME} \
SAVANNAH:${PORTNAME:tl} \
SOURCEFORGE:${PORTNAME:tl}/${PORTNAME:tl}/${PORTVERSION} \
XFCE:xfce/${XFCE_MASTER_SITE_VER}/src
@@ -1385,11 +1390,13 @@ _site_group_= ${_site_:S/^${_site_:C@^(.*):[^/:]+$@\1@}//:S/^://}
_site_url_= ${_abbrev_:C/.*://}
. endif
. endfor
-. for _subdir_ in ${MASTER_SITES_SUBDIRS}
-. if ${_site_url_} == ${_subdir_:C/:.*//} && !defined(MASTER_SITE_SUBDIR)
+. if !defined(MASTER_SITE_SUBDIR)
+. for _subdir_ in ${MASTER_SITES_SUBDIRS}
+. if ${_site_url_} == ${_subdir_:C/:.*//}
_site_subdir_?= ${_subdir_:C/.*://}
-. endif
-. endfor
+. endif
+. endfor
+. endif
. ifdef MASTER_SITE_${_site_url_}
. ifdef _site_subdir_
MASTER_SITES_EXP+= ${MASTER_SITE_${_site_url_}:S^%SUBDIR%^${_site_subdir_}^:S/$/:${_site_group_}/:S/:$//}
@@ -1426,11 +1433,13 @@ _site_group_= ${_site_:S/^${_site_:C@^(.*):[^/:]+$@\1@}//:S/^://}
_site_url_= ${_abbrev_:C/.*://}
. endif
. endfor
-. for _subdir_ in ${MASTER_SITES_SUBDIRS}
-. if ${_site_url_} == ${_subdir_:C/:.*//} && !defined(MASTER_SITE_SUBDIR)
+. if !defined(MASTER_SITE_SUBDIR)
+. for _subdir_ in ${MASTER_SITES_SUBDIRS}
+. if ${_site_url_} == ${_subdir_:C/:.*//}
_site_subdir_?= ${_subdir_:C/.*://}
-. endif
-. endfor
+. endif
+. endfor
+. endif
. ifdef MASTER_SITE_${_site_url_}
. ifdef _site_subdir_
PATCH_SITES_EXP+= ${MASTER_SITE_${_site_url_}:S^%SUBDIR%^${_site_subdir_}^:S/$/:${_site_group_}/:S/:$//}
diff --git a/accessibility/py-atspi/Makefile b/accessibility/py-atspi/Makefile
index 5c2f846..679a637 100644
--- a/accessibility/py-atspi/Makefile
+++ b/accessibility/py-atspi/Makefile
@@ -6,8 +6,7 @@ PORTNAME= atspi
PORTVERSION= 2.12.0
PORTREVISION= 3
CATEGORIES= accessibility x11-toolkits python
-MASTER_SITES= GNOME
-MASTER_SITE_SUBDIR= sources/pyatspi/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
+MASTER_SITES= GNOME/sources/pyatspi/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= pyatspi-${PORTVERSION}
DIST_SUBDIR= gnome3
diff --git a/accessibility/py3-atspi/Makefile b/accessibility/py3-atspi/Makefile
index ab93b6a..a8aeef7 100644
--- a/accessibility/py3-atspi/Makefile
+++ b/accessibility/py3-atspi/Makefile
@@ -6,8 +6,7 @@ PORTNAME= atspi
PORTVERSION= 2.12.0
PORTREVISION= 2
CATEGORIES= accessibility x11-toolkits python
-MASTER_SITES= GNOME
-MASTER_SITE_SUBDIR= sources/pyatspi/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
+MASTER_SITES= GNOME/sources/pyatspi/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= pyatspi-${PORTVERSION}
DIST_SUBDIR= gnome3
diff --git a/archivers/dpkg/Makefile b/archivers/dpkg/Makefile
index 366cffde8..2698235 100644
--- a/archivers/dpkg/Makefile
+++ b/archivers/dpkg/Makefile
@@ -4,7 +4,7 @@
PORTNAME= dpkg
PORTVERSION= 1.17.25
CATEGORIES= archivers sysutils
-MASTER_SITES= ${MASTER_SITE_DEBIAN_POOL}
+MASTER_SITES= DEBIAN_POOL
DISTNAME= dpkg_${PORTVERSION}
MAINTAINER= pawel@FreeBSD.org
diff --git a/archivers/fastjar/Makefile b/archivers/fastjar/Makefile
index 0f7c251..699decb 100644
--- a/archivers/fastjar/Makefile
+++ b/archivers/fastjar/Makefile
@@ -4,8 +4,7 @@
PORTNAME= fastjar
PORTVERSION= 0.93.20060808
CATEGORIES= archivers java
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= maho/fastjar
+MASTER_SITES= LOCAL/maho/fastjar
MAINTAINER= maho@FreeBSD.org
COMMENT= Version of JDK's `jar' command written entirely in C
diff --git a/archivers/gcpio/Makefile b/archivers/gcpio/Makefile
index 75146f8..6ebbf11 100644
--- a/archivers/gcpio/Makefile
+++ b/archivers/gcpio/Makefile
@@ -4,8 +4,7 @@ PORTNAME= cpio
PORTVERSION= 2.11
PORTREVISION= 3
CATEGORIES= archivers
-MASTER_SITES= ${MASTER_SITE_GNU}
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= GNU
PKGNAMEPREFIX= g
MAINTAINER= naddy@FreeBSD.org
diff --git a/archivers/lbrate/Makefile b/archivers/lbrate/Makefile
index c99e0ba..d524d4b 100644
--- a/archivers/lbrate/Makefile
+++ b/archivers/lbrate/Makefile
@@ -5,8 +5,7 @@ PORTNAME= lbrate
PORTVERSION= 1.1
PORTREVISION= 2
CATEGORIES= archivers
-MASTER_SITES= ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR= utils/compress
+MASTER_SITES= SUNSITE/utils/compress
MAINTAINER= ports@FreeBSD.org
COMMENT= Extract/decompress CP/M LBR archives
diff --git a/archivers/lha-ac/Makefile b/archivers/lha-ac/Makefile
index 7fcd589..3d6953b 100644
--- a/archivers/lha-ac/Makefile
+++ b/archivers/lha-ac/Makefile
@@ -4,9 +4,8 @@ PORTNAME= lha
PORTVERSION= 1.14i
PORTREVISION= 10
CATEGORIES= archivers
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP} \
- http://osdn.dl.sourceforge.jp/%SUBDIR%/
-MASTER_SITE_SUBDIR= lha/22231
+MASTER_SITES= SFJP/lha/22231 \
+ http://osdn.dl.sourceforge.jp/lha/22231/
PKGNAMESUFFIX= -ac${PKGNAMESUFFIX2}
DISTNAME= ${PORTNAME}-${PORTVERSION}-ac20050924p1
diff --git a/archivers/macutils/Makefile b/archivers/macutils/Makefile
index 043701a..ca63427 100644
--- a/archivers/macutils/Makefile
+++ b/archivers/macutils/Makefile
@@ -4,8 +4,7 @@
PORTNAME= macutils
PORTVERSION= 2.0b3
CATEGORIES= archivers emulators
-MASTER_SITES= ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR= utils/compress
+MASTER_SITES= SUNSITE/utils/compress
DISTNAME= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
diff --git a/archivers/mscompress/Makefile b/archivers/mscompress/Makefile
index daa2409..c9b29c5 100644
--- a/archivers/mscompress/Makefile
+++ b/archivers/mscompress/Makefile
@@ -4,8 +4,7 @@
PORTNAME= mscompress
PORTVERSION= 0.3
CATEGORIES= archivers
-MASTER_SITES= ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR= utils/compress
+MASTER_SITES= SUNSITE/utils/compress
MAINTAINER= tj@FreeBSD.org
COMMENT= Microsoft "compress.exe/expand.exe" compatible (de)compressor
diff --git a/archivers/mtf/Makefile b/archivers/mtf/Makefile
index 7727c68..1fa7df8 100644
--- a/archivers/mtf/Makefile
+++ b/archivers/mtf/Makefile
@@ -5,15 +5,14 @@ PORTNAME= mtf
PORTVERSION= 0.2.1
PORTREVISION= 1
CATEGORIES= archivers
-MASTER_SITES= ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR= system/backup
-EXTRACT_SUFX= .tgz
+MASTER_SITES= SUNSITE/system/backup
MAINTAINER= ports@FreeBSD.org
COMMENT= Unix reader for the Microsoft Tape Format used by NT Backup
LICENSE= GPLv2
+USES= tar:tgz
ALL_TARGET= # empty
PLIST_FILES= bin/mtf
PORTDOCS= README
diff --git a/archivers/nomarch/Makefile b/archivers/nomarch/Makefile
index 126dc35..cc3ac46 100644
--- a/archivers/nomarch/Makefile
+++ b/archivers/nomarch/Makefile
@@ -4,8 +4,7 @@
PORTNAME= nomarch
PORTVERSION= 1.4
CATEGORIES= archivers
-MASTER_SITES= ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR= utils/compress
+MASTER_SITES= SUNSITE/utils/compress
MAINTAINER= gabor@FreeBSD.org
COMMENT= Extracts files from the old '.arc' archive format
diff --git a/archivers/nulib/Makefile b/archivers/nulib/Makefile
index ca36aa3..1c66481 100644
--- a/archivers/nulib/Makefile
+++ b/archivers/nulib/Makefile
@@ -4,14 +4,13 @@
PORTNAME= nulib
PORTVERSION= 3.25
CATEGORIES= archivers
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= jseger
+MASTER_SITES= LOCAL/jseger
DISTNAME= nulib325
-EXTRACT_SUFX= .tar.Z
MAINTAINER= ports@FreeBSD.org
COMMENT= NuFX archive utility
+USES= tar:Z
WRKSRC= ${WRKDIR}/nulib
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}"
diff --git a/archivers/p5-IO-Zlib/Makefile b/archivers/p5-IO-Zlib/Makefile
index a005b41..684a2e0 100644
--- a/archivers/p5-IO-Zlib/Makefile
+++ b/archivers/p5-IO-Zlib/Makefile
@@ -5,7 +5,6 @@ PORTVERSION= 1.10
PORTREVISION= 2
CATEGORIES= archivers perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= IO
PKGNAMEPREFIX= p5-
MAINTAINER= kuriyama@FreeBSD.org
diff --git a/archivers/packddir/Makefile b/archivers/packddir/Makefile
index d6d5dea..bb62ed9 100644
--- a/archivers/packddir/Makefile
+++ b/archivers/packddir/Makefile
@@ -4,8 +4,7 @@
PORTNAME= packddir
PORTVERSION= 0.0.6
CATEGORIES= archivers
-MASTER_SITES= ${MASTER_SITE_SAVANNAH}
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= SAVANNAH
DISTNAME= upackddir_${PORTVERSION}-1
MAINTAINER= ayu@commun.jp
diff --git a/archivers/php5-snappy/Makefile b/archivers/php5-snappy/Makefile
index 75bbbb3..aaf0a5d 100644
--- a/archivers/php5-snappy/Makefile
+++ b/archivers/php5-snappy/Makefile
@@ -5,7 +5,7 @@ PORTNAME= php5-snappy
PORTVERSION= 0.0.2
PORTREVISION= 1
CATEGORIES= archivers
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
PROJECTHOST= php-snappy
DISTNAME= ${PROJECTHOST}-${PORTVERSION}
diff --git a/archivers/ppunpack/Makefile b/archivers/ppunpack/Makefile
index 50d1540..4a761db 100644
--- a/archivers/ppunpack/Makefile
+++ b/archivers/ppunpack/Makefile
@@ -4,16 +4,15 @@
PORTNAME= ppunpack
PORTVERSION= 1.0
CATEGORIES= archivers
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= thierry
+MASTER_SITES= LOCAL/thierry
DISTNAME= ppsmall-${PORTVERSION}
-EXTRACT_SUFX= .tar.Z
MAINTAINER= ports@FreeBSD.org
COMMENT= Decompresses Amiga PowerPacker files
NO_CDROM= No commercial redistribution
+USES= tar:Z
WRKSRC= ${WRKDIR}/PPUnpack
MAKE_ARGS= CC="${CC}" COPTS="${CFLAGS}"
PLIST_FILES= bin/ppunpack
diff --git a/archivers/pxz/Makefile b/archivers/pxz/Makefile
index f0cb2f9..56576c6 100644
--- a/archivers/pxz/Makefile
+++ b/archivers/pxz/Makefile
@@ -4,8 +4,7 @@
PORTNAME= pxz
PORTVERSION= 0.20141018
CATEGORIES= archivers
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= delphij
+MASTER_SITES= LOCAL/delphij
DISTNAME= pxz-git-${PORTVERSION:S/0.//}
MAINTAINER= ports@FreeBSD.org
diff --git a/archivers/py-liblzma/Makefile b/archivers/py-liblzma/Makefile
index 0dd3091..6a601fa 100644
--- a/archivers/py-liblzma/Makefile
+++ b/archivers/py-liblzma/Makefile
@@ -5,8 +5,7 @@ PORTNAME= liblzma
PORTVERSION= 0.5.3
PORTREVISION= 4
CATEGORIES= archivers python
-MASTER_SITES= ${MASTER_SITE_CHEESESHOP}
-MASTER_SITE_SUBDIR= source/p/py${PORTNAME}
+MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= py${PORTNAME}-${PORTVERSION}
diff --git a/archivers/rzip/Makefile b/archivers/rzip/Makefile
index 0d818fa..3c187ba 100644
--- a/archivers/rzip/Makefile
+++ b/archivers/rzip/Makefile
@@ -4,8 +4,7 @@
PORTNAME= rzip
PORTVERSION= 2.1
CATEGORIES= archivers
-MASTER_SITES= SAMBA
-MASTER_SITE_SUBDIR= rzip
+MASTER_SITES= SAMBA/rzip
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Compression program similar to gzip or bzip2
diff --git a/archivers/unace/Makefile b/archivers/unace/Makefile
index b7f30c8..b9abc4a 100644
--- a/archivers/unace/Makefile
+++ b/archivers/unace/Makefile
@@ -5,8 +5,7 @@ PORTNAME= unace
PORTVERSION= 1.2b
PORTREVISION= 3
CATEGORIES= archivers
-MASTER_SITES= ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR= utils/compress
+MASTER_SITES= SUNSITE/utils/compress
MAINTAINER= rodrigo@FreeBSD.org
COMMENT= Extract, view & test ACE archives
diff --git a/archivers/wzip/Makefile b/archivers/wzip/Makefile
index 6a18db3..d0e8db3 100644
--- a/archivers/wzip/Makefile
+++ b/archivers/wzip/Makefile
@@ -4,7 +4,7 @@
PORTNAME= wzip
PORTVERSION= 1.1.1
CATEGORIES= archivers
-MASTER_SITES= ${MASTER_SITE_DEBIAN_POOL}
+MASTER_SITES= DEBIAN_POOL
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= onatan@gmail.com
diff --git a/archivers/xar/Makefile b/archivers/xar/Makefile
index 40e3fbe..15d5d0a 100644
--- a/archivers/xar/Makefile
+++ b/archivers/xar/Makefile
@@ -5,7 +5,7 @@ PORTNAME= xar
PORTVERSION= 1.5.2
PORTREVISION= 2
CATEGORIES= archivers
-MASTER_SITES= GOOGLE_CODE GENTOO/distfiles
+MASTER_SITES= GOOGLE_CODE GENTOO
MAINTAINER= ports@FreeBSD.org
COMMENT= OpenDarwin XML eXtensible ARchiver
diff --git a/archivers/xarchiver/Makefile b/archivers/xarchiver/Makefile
index 80b5079..79da256 100644
--- a/archivers/xarchiver/Makefile
+++ b/archivers/xarchiver/Makefile
@@ -4,8 +4,7 @@
PORTNAME= xarchiver
PORTVERSION= 0.5.4
CATEGORIES= archivers
-MASTER_SITES= SF
-MASTER_SITE_SUBDIR= ${PORTNAME:tl}
+MASTER_SITES= SF/${PORTNAME:tl}
MAINTAINER= danilo@FreeBSD.org
COMMENT= Desktop-agnostic GTK+2 frontend to various archiving tools
diff --git a/archivers/zipper/Makefile b/archivers/zipper/Makefile
index 6cc8b86..5a2a3b4 100644
--- a/archivers/zipper/Makefile
+++ b/archivers/zipper/Makefile
@@ -5,8 +5,7 @@ PORTNAME= zipper
PORTVERSION= 1.5
PORTREVISION= 2
CATEGORIES= archivers gnustep
-MASTER_SITES= ${MASTER_SITE_SAVANNAH}
-MASTER_SITE_SUBDIR= gap
+MASTER_SITES= SAVANNAH/gap
DISTNAME= Zipper-${PORTVERSION}
MAINTAINER= bofh@FreeBSD.org
diff --git a/archivers/zopfli/Makefile b/archivers/zopfli/Makefile
index dc0680b..1f8a594 100644
--- a/archivers/zopfli/Makefile
+++ b/archivers/zopfli/Makefile
@@ -4,7 +4,7 @@
PORTNAME= zopfli
PORTVERSION= 1.0.0
CATEGORIES= archivers
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
MAINTAINER= freebsd@nagilum.org
COMMENT= Zopfli Compression Algorithm
diff --git a/astro/ephem/Makefile b/astro/ephem/Makefile
index 5fe89f8..2ed2f24 100644
--- a/astro/ephem/Makefile
+++ b/astro/ephem/Makefile
@@ -5,8 +5,7 @@ PORTNAME= ephem
PORTVERSION= 4.28
PORTREVISION= 1
CATEGORIES= astro
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= trevor
+MASTER_SITES= LOCAL/trevor
DISTNAME= ${PORTNAME}_${PORTVERSION}_unix
MAINTAINER= slaven@rezic.de
diff --git a/astro/libgal/Makefile b/astro/libgal/Makefile
index 0da2f6b..e2b9d37 100644
--- a/astro/libgal/Makefile
+++ b/astro/libgal/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 0.5.0
PORTREVISION= 1
CATEGORIES= astro hamradio
MASTER_SITES= http://homepage.mac.com/pclwillmott/GAL/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= db
+ LOCAL/db
MAINTAINER= db@FreeBSD.org
COMMENT= General Astrodynamics Library
diff --git a/astro/mymoon/Makefile b/astro/mymoon/Makefile
index 9298a60..d1e5152 100644
--- a/astro/mymoon/Makefile
+++ b/astro/mymoon/Makefile
@@ -6,8 +6,7 @@ DISTVERSION= 1.2a
PORTREVISION= 5
CATEGORIES= astro
MASTER_SITES= http://makemebad.net/geek/codes/${PORTNAME}/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= krion
+ LOCAL/krion
MAINTAINER= ports@FreeBSD.org
COMMENT= Show latitude and longitude of the moon
diff --git a/astro/p5-Astro-ADS/Makefile b/astro/p5-Astro-ADS/Makefile
index 8110643..f769daf 100644
--- a/astro/p5-Astro-ADS/Makefile
+++ b/astro/p5-Astro-ADS/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 1.26
PORTREVISION= 1
CATEGORIES= astro perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Astro
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
diff --git a/astro/p5-Astro-DSS/Makefile b/astro/p5-Astro-DSS/Makefile
index 8c1aab2..649b8c2 100644
--- a/astro/p5-Astro-DSS/Makefile
+++ b/astro/p5-Astro-DSS/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 1.6.1
PORTREVISION= 1
CATEGORIES= astro perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Astro
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
diff --git a/astro/p5-Astro-SIMBAD/Makefile b/astro/p5-Astro-SIMBAD/Makefile
index 5220342..53e1c42 100644
--- a/astro/p5-Astro-SIMBAD/Makefile
+++ b/astro/p5-Astro-SIMBAD/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 2.0.0
PORTREVISION= 1
CATEGORIES= astro perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Astro
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
diff --git a/astro/p5-Astro-SunTime/Makefile b/astro/p5-Astro-SunTime/Makefile
index 8bf6514..f6aac13 100644
--- a/astro/p5-Astro-SunTime/Makefile
+++ b/astro/p5-Astro-SunTime/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 0.01
PORTREVISION= 1
CATEGORIES= astro perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Astro
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
diff --git a/astro/p5-Geo-METAR/Makefile b/astro/p5-Geo-METAR/Makefile
index 2b15d55..fc00b34 100644
--- a/astro/p5-Geo-METAR/Makefile
+++ b/astro/p5-Geo-METAR/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 1.15
PORTREVISION= 1
CATEGORIES= astro geography perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Geo
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
diff --git a/astro/planets/Makefile b/astro/planets/Makefile
index cc3976c..a3b58ec 100644
--- a/astro/planets/Makefile
+++ b/astro/planets/Makefile
@@ -5,7 +5,7 @@ PORTNAME= planets
PORTVERSION= 0.1.13
PORTREVISION= 1
CATEGORIES= astro
-MASTER_SITES= GENTOO/distfiles \
+MASTER_SITES= GENTOO \
http://planets.homedns.org/dist/
MAINTAINER= ports@FreeBSD.org
diff --git a/astro/xworld/Makefile b/astro/xworld/Makefile
index d38ecd7..950198b 100644
--- a/astro/xworld/Makefile
+++ b/astro/xworld/Makefile
@@ -5,8 +5,7 @@ PORTNAME= xworld
PORTVERSION= 2.0
PORTREVISION= 2
CATEGORIES= astro geography
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= naddy
+MASTER_SITES= LOCAL/naddy
MAINTAINER= naddy@FreeBSD.org
COMMENT= Earth as seen from the direction of the sun
diff --git a/audio/alsa-lib/Makefile b/audio/alsa-lib/Makefile
index 0e97eae..df97ad9 100644
--- a/audio/alsa-lib/Makefile
+++ b/audio/alsa-lib/Makefile
@@ -5,7 +5,7 @@ PORTNAME= alsa-lib
PORTVERSION= 1.0.29
CATEGORIES= audio
MASTER_SITES= ALSA/lib \
- GENTOO/distfiles
+ GENTOO
MAINTAINER= jbeich@FreeBSD.org
COMMENT= ALSA compatibility library
diff --git a/audio/alsa-plugins/Makefile b/audio/alsa-plugins/Makefile
index e38153b5..63be5ff 100644
--- a/audio/alsa-plugins/Makefile
+++ b/audio/alsa-plugins/Makefile
@@ -5,7 +5,7 @@ PORTNAME= alsa-plugins
PORTVERSION= 1.0.29
CATEGORIES= audio
MASTER_SITES= ALSA/plugins \
- GENTOO/distfiles
+ GENTOO
MAINTAINER= jbeich@FreeBSD.org
COMMENT= ALSA compatibility library plugins
diff --git a/audio/alsa-utils/Makefile b/audio/alsa-utils/Makefile
index e09a174..3144452 100644
--- a/audio/alsa-utils/Makefile
+++ b/audio/alsa-utils/Makefile
@@ -5,7 +5,7 @@ PORTNAME= alsa-utils
PORTVERSION= 1.0.29
CATEGORIES= audio
MASTER_SITES= ALSA/utils \
- GENTOO/distfiles
+ GENTOO
MAINTAINER= jbeich@FreeBSD.org
COMMENT= ALSA compatibility utils
diff --git a/audio/amarok-kde4/Makefile b/audio/amarok-kde4/Makefile
index 0860f5ad..319140cf 100644
--- a/audio/amarok-kde4/Makefile
+++ b/audio/amarok-kde4/Makefile
@@ -5,8 +5,7 @@ PORTNAME= amarok
PORTVERSION= 2.8.0
PORTREVISION= 5
CATEGORIES= audio kde
-MASTER_SITES= ${MASTER_SITE_KDE}
-MASTER_SITE_SUBDIR= stable/${PORTNAME}/${PORTVERSION}/src
+MASTER_SITES= KDE/stable/${PORTNAME}/${PORTVERSION}/src
MAINTAINER= kde@FreeBSD.org
COMMENT= KDE music player
diff --git a/audio/beast/Makefile b/audio/beast/Makefile
index 03452d0..2be9f37 100644
--- a/audio/beast/Makefile
+++ b/audio/beast/Makefile
@@ -5,8 +5,7 @@ PORTNAME= beast
PORTVERSION= 0.7.8
PORTREVISION= 8
CATEGORIES= audio
-MASTER_SITES= http://dist.testbit.eu/beast/%SUBDIR%/
-MASTER_SITE_SUBDIR= v${PORTVERSION:R}
+MASTER_SITES= http://dist.testbit.eu/beast/v${PORTVERSION:R}/
MAINTAINER= ports@FreeBSD.org
COMMENT= Powerful music composition and modular synthesis application
diff --git a/audio/cam/Makefile b/audio/cam/Makefile
index 548e4e6..f404a59 100644
--- a/audio/cam/Makefile
+++ b/audio/cam/Makefile
@@ -4,8 +4,7 @@
PORTNAME= cam
PORTVERSION= 1.02
CATEGORIES= audio
-MASTER_SITES= ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR= apps/sound/mixers
+MASTER_SITES= SUNSITE/apps/sound/mixers
MAINTAINER= ports@FreeBSD.org
COMMENT= Cpu's Audio Mixer [curses based]
diff --git a/audio/ccaudio2/Makefile b/audio/ccaudio2/Makefile
index b6cf09b..4bd8dd1 100644
--- a/audio/ccaudio2/Makefile
+++ b/audio/ccaudio2/Makefile
@@ -4,8 +4,7 @@
PORTNAME= ccaudio2
PORTVERSION= 2.1.3
CATEGORIES= audio
-MASTER_SITES= ${MASTER_SITE_GNU}
-MASTER_SITE_SUBDIR=ccaudio
+MASTER_SITES= GNU/ccaudio
MAINTAINER= ports@FreeBSD.org
COMMENT= C++ class framework for manipulating audio files
diff --git a/audio/cdplay/Makefile b/audio/cdplay/Makefile
index 71a3e8e..4f7aa63 100644
--- a/audio/cdplay/Makefile
+++ b/audio/cdplay/Makefile
@@ -5,8 +5,7 @@ PORTNAME= cdplay
PORTVERSION= 0.92
PORTREVISION= 2
CATEGORIES= audio
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= dannyboy
+MASTER_SITES= LOCAL/dannyboy
MAINTAINER= ports@FreeBSD.org
COMMENT= CD-player with text-based user interface
diff --git a/audio/dagrab/Makefile b/audio/dagrab/Makefile
index 8626b2d..7950091 100644
--- a/audio/dagrab/Makefile
+++ b/audio/dagrab/Makefile
@@ -5,8 +5,7 @@ PORTNAME= dagrab
PORTVERSION= 0.3.5
PORTREVISION= 1
CATEGORIES= audio
-MASTER_SITES= ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR= apps/sound/cdrom
+MASTER_SITES= SUNSITE/apps/sound/cdrom
MAINTAINER= clkao@CirX.ORG
COMMENT= Read audio tracks from a CD into wav sound files
diff --git a/audio/dir2ogg/Makefile b/audio/dir2ogg/Makefile
index 7e1b5e0..549ea09 100644
--- a/audio/dir2ogg/Makefile
+++ b/audio/dir2ogg/Makefile
@@ -5,8 +5,7 @@ PORTNAME= dir2ogg
PORTVERSION= 0.11.8
PORTREVISION= 4
CATEGORIES= audio
-MASTER_SITES= http://jak-linux.org/projects/dir2ogg/%SUBDIR%/
-MASTER_SITE_SUBDIR= ${PORTVERSION:R}
+MASTER_SITES= http://jak-linux.org/projects/dir2ogg/${PORTVERSION:R}/
MAINTAINER= ports@FreeBSD.org
COMMENT= Command-line {wav,mp3,m4a} to ogg converter
diff --git a/audio/dtmfdial/Makefile b/audio/dtmfdial/Makefile
index d795e22..2f9dd04 100644
--- a/audio/dtmfdial/Makefile
+++ b/audio/dtmfdial/Makefile
@@ -4,8 +4,7 @@
PORTNAME= dtmfdial
PORTVERSION= 0.2
CATEGORIES= audio comms
-MASTER_SITES= ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR= apps/sound/misc
+MASTER_SITES= SUNSITE/apps/sound/misc
DISTNAME= dtmf-dial-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
diff --git a/audio/eawpats/Makefile b/audio/eawpats/Makefile
index 1df50f8..3917c90 100644
--- a/audio/eawpats/Makefile
+++ b/audio/eawpats/Makefile
@@ -5,7 +5,7 @@ PORTNAME= eawpats
PORTVERSION= 12
PORTREVISION= 4
CATEGORIES= audio
-MASTER_SITES= GENTOO/distfiles
+MASTER_SITES= GENTOO
DISTNAME= eawpats12_full
MAINTAINER= ports@FreeBSD.org
diff --git a/audio/eawplus/Makefile b/audio/eawplus/Makefile
index 934c196..1492850 100644
--- a/audio/eawplus/Makefile
+++ b/audio/eawplus/Makefile
@@ -5,8 +5,7 @@ PORTNAME= eawplus
PORTVERSION= 12.1
PORTREVISION= 3
CATEGORIES= audio
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= nork
+MASTER_SITES= LOCAL/nork
MAINTAINER= ports@FreeBSD.org
COMMENT= E.A.W.+Izumo+Tamuki collection of Gravis Ultrasound MIDI patches
diff --git a/audio/etcd/Makefile b/audio/etcd/Makefile
index c9aab0c..d82bcab 100644
--- a/audio/etcd/Makefile
+++ b/audio/etcd/Makefile
@@ -5,10 +5,9 @@ PORTNAME= etcd
PORTVERSION= 1.0.1
PORTREVISION= 2
CATEGORIES= audio
-MASTER_SITES= ${MASTER_SITE_LOCAL} \
+MASTER_SITES= LOCAL/gahr \
http://people.freebsd.org/~gahr/distfiles/ \
http://www.gahr.ch/etcd/
-MASTER_SITE_SUBDIR= gahr
MAINTAINER= ports@FreeBSD.org
COMMENT= Enhanced Tiny CD, a simple ncurses-based CD player
diff --git a/audio/festdoc/Makefile b/audio/festdoc/Makefile
index 293f124..5f86c41 100644
--- a/audio/festdoc/Makefile
+++ b/audio/festdoc/Makefile
@@ -4,8 +4,7 @@
PORTNAME= festdoc
PORTVERSION= 1.4.0.1
CATEGORIES= audio accessibility
-MASTER_SITES= ${MASTER_SITE_FESTIVAL}
-MASTER_SITE_SUBDIR= 1.4.1
+MASTER_SITES= FESTIVAL/1.4.1
DIST_SUBDIR= festival
MAINTAINER= ports@FreeBSD.org
diff --git a/audio/festival/Makefile b/audio/festival/Makefile
index 2894748..2c108c8 100644
--- a/audio/festival/Makefile
+++ b/audio/festival/Makefile
@@ -5,8 +5,7 @@ PORTNAME= festival
PORTVERSION= 2.1
PORTREVISION= 1
CATEGORIES= audio accessibility
-MASTER_SITES= ${MASTER_SITE_FESTIVAL}
-MASTER_SITE_SUBDIR= ${PORTVERSION}
+MASTER_SITES= FESTIVAL
DISTFILES= ${DISTNAME}-release.tar.gz \
speech_tools-${PORTVERSION}-release.tar.gz
diff --git a/audio/festlex-cmu/Makefile b/audio/festlex-cmu/Makefile
index 50a913f..86ba7d5 100644
--- a/audio/festlex-cmu/Makefile
+++ b/audio/festlex-cmu/Makefile
@@ -4,8 +4,7 @@
PORTNAME= festlex-cmu
PORTVERSION= 1.95
CATEGORIES= audio accessibility
-MASTER_SITES= ${MASTER_SITE_FESTIVAL}
-MASTER_SITE_SUBDIR= ${PORTVERSION}
+MASTER_SITES= FESTIVAL
DISTNAME= festlex_CMU
DIST_SUBDIR= festival
EXTRACT_ONLY=
diff --git a/audio/festlex-oald/Makefile b/audio/festlex-oald/Makefile
index 439978b..e8c165f 100644
--- a/audio/festlex-oald/Makefile
+++ b/audio/festlex-oald/Makefile
@@ -5,8 +5,7 @@ PORTNAME= festlex-oald
PORTVERSION= 1.4.1
PORTREVISION= 1
CATEGORIES= audio accessibility
-MASTER_SITES= ${MASTER_SITE_FESTIVAL}
-MASTER_SITE_SUBDIR= ${PORTVERSION}
+MASTER_SITES= FESTIVAL
DISTNAME= festlex_OALD
DIST_SUBDIR= festival
diff --git a/audio/festlex-poslex/Makefile b/audio/festlex-poslex/Makefile
index 75df1ab..cdb864b 100644
--- a/audio/festlex-poslex/Makefile
+++ b/audio/festlex-poslex/Makefile
@@ -5,8 +5,7 @@ PORTNAME= festlex-poslex
PORTVERSION= 1.4.1
PORTREVISION= 2
CATEGORIES= audio accessibility
-MASTER_SITES= ${MASTER_SITE_FESTIVAL}
-MASTER_SITE_SUBDIR= ${PORTVERSION}
+MASTER_SITES= FESTIVAL
DISTNAME= festlex_POSLEX
DIST_SUBDIR= festival
EXTRACT_ONLY=
diff --git a/audio/festvox-don/Makefile b/audio/festvox-don/Makefile
index f648062..9561491 100644
--- a/audio/festvox-don/Makefile
+++ b/audio/festvox-don/Makefile
@@ -5,8 +5,7 @@ PORTNAME= festvox-don
PORTVERSION= 1.4.0
PORTREVISION= 2
CATEGORIES= audio accessibility
-MASTER_SITES= ${MASTER_SITE_FESTIVAL}
-MASTER_SITE_SUBDIR= 1.4.1
+MASTER_SITES= FESTIVAL/1.4.1
DISTNAME= festvox_don
DIST_SUBDIR= festival
diff --git a/audio/festvox-el11/Makefile b/audio/festvox-el11/Makefile
index 9f97a5a..f65d521 100644
--- a/audio/festvox-el11/Makefile
+++ b/audio/festvox-el11/Makefile
@@ -5,8 +5,7 @@ PORTNAME= festvox-el11
PORTVERSION= 1.4.0
PORTREVISION= 2
CATEGORIES= audio accessibility spanish
-MASTER_SITES= ${MASTER_SITE_FESTIVAL}
-MASTER_SITE_SUBDIR= 1.95
+MASTER_SITES= FESTIVAL/1.95
DISTNAME= festvox_ellpc11k
DIST_SUBDIR= festival
diff --git a/audio/festvox-kal16/Makefile b/audio/festvox-kal16/Makefile
index 6e020d8..cef5971 100644
--- a/audio/festvox-kal16/Makefile
+++ b/audio/festvox-kal16/Makefile
@@ -4,8 +4,7 @@
PORTNAME= festvox-kal16
PORTVERSION= 1.4.0
CATEGORIES= audio accessibility
-MASTER_SITES= ${MASTER_SITE_FESTIVAL}
-MASTER_SITE_SUBDIR= 1.4.1
+MASTER_SITES= FESTIVAL/1.4.1
DISTNAME= festvox_kallpc16k
DIST_SUBDIR= festival
EXTRACT_ONLY=
diff --git a/audio/festvox-kal8/Makefile b/audio/festvox-kal8/Makefile
index d9b9517..21307d7 100644
--- a/audio/festvox-kal8/Makefile
+++ b/audio/festvox-kal8/Makefile
@@ -5,8 +5,7 @@ PORTNAME= festvox-kal8
PORTVERSION= 1.4.0
PORTREVISION= 1
CATEGORIES= audio accessibility
-MASTER_SITES= ${MASTER_SITE_FESTIVAL}
-MASTER_SITE_SUBDIR= 1.4.1
+MASTER_SITES= FESTIVAL/1.4.1
DISTNAME= festvox_kallpc8k
DIST_SUBDIR= festival
diff --git a/audio/festvox-ked16/Makefile b/audio/festvox-ked16/Makefile
index 1573557..a8ac324 100644
--- a/audio/festvox-ked16/Makefile
+++ b/audio/festvox-ked16/Makefile
@@ -5,8 +5,7 @@ PORTNAME= festvox-ked16
PORTVERSION= 1.4.0
PORTREVISION= 1
CATEGORIES= audio accessibility
-MASTER_SITES= ${MASTER_SITE_FESTIVAL}
-MASTER_SITE_SUBDIR= 1.4.1
+MASTER_SITES= FESTIVAL/1.4.1
DISTNAME= festvox_kedlpc16k
DIST_SUBDIR= festival
diff --git a/audio/festvox-ked8/Makefile b/audio/festvox-ked8/Makefile
index d336a7d..0cd4d5c 100644
--- a/audio/festvox-ked8/Makefile
+++ b/audio/festvox-ked8/Makefile
@@ -5,8 +5,7 @@ PORTNAME= festvox-ked8
PORTVERSION= 1.4.0
PORTREVISION= 1
CATEGORIES= audio accessibility
-MASTER_SITES= ${MASTER_SITE_FESTIVAL}
-MASTER_SITE_SUBDIR= 1.4.1
+MASTER_SITES= FESTIVAL/1.4.1
DISTNAME= festvox_kedlpc8k
DIST_SUBDIR= festival
diff --git a/audio/festvox-rab16/Makefile b/audio/festvox-rab16/Makefile
index 3ad716b..0801dd8 100644
--- a/audio/festvox-rab16/Makefile
+++ b/audio/festvox-rab16/Makefile
@@ -5,8 +5,7 @@ PORTNAME= festvox-rab16
PORTVERSION= 1.4.1
PORTREVISION= 2
CATEGORIES= audio accessibility
-MASTER_SITES= ${MASTER_SITE_FESTIVAL}
-MASTER_SITE_SUBDIR= ${PORTVERSION}
+MASTER_SITES= FESTIVAL
DISTNAME= festvox_rablpc16k
DIST_SUBDIR= festival
diff --git a/audio/festvox-rab8/Makefile b/audio/festvox-rab8/Makefile
index 2bfd06b..16ebfc6 100644
--- a/audio/festvox-rab8/Makefile
+++ b/audio/festvox-rab8/Makefile
@@ -5,8 +5,7 @@ PORTNAME= festvox-rab8
PORTVERSION= 1.4.1
PORTREVISION= 2
CATEGORIES= audio accessibility
-MASTER_SITES= ${MASTER_SITE_FESTIVAL}
-MASTER_SITE_SUBDIR= ${PORTVERSION}
+MASTER_SITES= FESTIVAL
DISTNAME= festvox_rablpc8k
DIST_SUBDIR= festival
diff --git a/audio/festvox-russian/Makefile b/audio/festvox-russian/Makefile
index 79863e8..606eab5 100644
--- a/audio/festvox-russian/Makefile
+++ b/audio/festvox-russian/Makefile
@@ -5,8 +5,7 @@ PORTNAME= festvox
PORTVERSION= 0.5
CATEGORIES= audio
MASTER_SITES= SF/festlang.berlios/ \
- ${MASTER_SITE_BERLIOS}
-MASTER_SITE_SUBDIR= festlang
+ BERLIOS/festlang
PKGNAMESUFFIX= -russian
DISTNAME= msu_ru_nsh_clunits-${PORTVERSION}
DIST_SUBDIR= festival
diff --git a/audio/flake/Makefile b/audio/flake/Makefile
index 4dd3642..cadc1db 100644
--- a/audio/flake/Makefile
+++ b/audio/flake/Makefile
@@ -4,8 +4,7 @@
PORTNAME= flake
PORTVERSION= 0.11
CATEGORIES= audio
-MASTER_SITES= SF
-MASTER_SITE_SUBDIR= ${PORTNAME:tl}-enc/${PORTNAME:tl}/${PORTVERSION}
+MASTER_SITES= SF/${PORTNAME:tl}-enc/${PORTNAME:tl}/${PORTVERSION}
MAINTAINER= dbn@FreeBSD.org
COMMENT= FLAC audio encoder
diff --git a/audio/funktrackergold/Makefile b/audio/funktrackergold/Makefile
index 6e4b714..de3594c 100644
--- a/audio/funktrackergold/Makefile
+++ b/audio/funktrackergold/Makefile
@@ -2,12 +2,10 @@
# $FreeBSD$
PORTNAME= funktrackergold
-PORTVERSION= 1.5.2
+DISTVERSION= 1.5-2
PORTREVISION= 1
CATEGORIES= audio
-MASTER_SITES= ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR= apps/sound/players
-DISTNAME= funktrackergold-1.5-2
+MASTER_SITES= SUNSITE/apps/sound/players
MAINTAINER= ports@FreeBSD.org
COMMENT= Curses MOD/FNK music tracker
diff --git a/audio/gmixer/Makefile b/audio/gmixer/Makefile
index 75298e6..8b5689e 100644
--- a/audio/gmixer/Makefile
+++ b/audio/gmixer/Makefile
@@ -5,8 +5,7 @@ PORTNAME= gmixer
PORTVERSION= 0.98c
PORTREVISION= 6
CATEGORIES= audio
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= cpiazza
+MASTER_SITES= LOCAL/cpiazza
MAINTAINER= ports@FreeBSD.org
COMMENT= X11/gtk+ mixer control
diff --git a/audio/gnomoradio/Makefile b/audio/gnomoradio/Makefile
index c8a2c72..2d8b04a 100644
--- a/audio/gnomoradio/Makefile
+++ b/audio/gnomoradio/Makefile
@@ -5,8 +5,7 @@ PORTNAME= gnomoradio
PORTVERSION= 0.15.1
PORTREVISION= 18
CATEGORIES= audio net
-MASTER_SITES= ${MASTER_SITE_SAVANNAH}
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= SAVANNAH
MAINTAINER= ports@FreeBSD.org
COMMENT= Program for finding and playing free music from the Internet
diff --git a/audio/gnupod/Makefile b/audio/gnupod/Makefile
index f3655c7..56b4bfe 100644
--- a/audio/gnupod/Makefile
+++ b/audio/gnupod/Makefile
@@ -5,9 +5,8 @@ PORTNAME= gnupod
PORTVERSION= 0.99.8
PORTREVISION= 2
CATEGORIES= audio perl5
-MASTER_SITES= ${MASTER_SITE_SAVANNAH} \
+MASTER_SITES= SAVANNAH \
http://www.blinkenlights.ch/gnupod-dist/stable/
-MASTER_SITE_SUBDIR= gnupod
MAINTAINER= ports@FreeBSD.org
COMMENT= Set of Perl scripts for using an Apple iPod
diff --git a/audio/gtkguitune/Makefile b/audio/gtkguitune/Makefile
index 7444440..7c41c22 100644
--- a/audio/gtkguitune/Makefile
+++ b/audio/gtkguitune/Makefile
@@ -6,7 +6,7 @@ PORTVERSION= 0.8
DISTVERSIONPREFIX= gtk2-
PORTREVISION= 5
CATEGORIES= audio
-MASTER_SITES= GENTOO/distfiles \
+MASTER_SITES= GENTOO \
http://www.oocities.org/harpin_floh/mysoft/
MAINTAINER= ports@FreeBSD.org
diff --git a/audio/harp/Makefile b/audio/harp/Makefile
index fdf4cee..896e09c 100644
--- a/audio/harp/Makefile
+++ b/audio/harp/Makefile
@@ -4,8 +4,7 @@ PORTNAME= harp
PORTVERSION= 0.5.2
PORTREVISION= 5
CATEGORIES= audio
-MASTER_SITES= SF
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= SF/${PORTNAME}
MAINTAINER= heckendorfc@gmail.com
COMMENT= Minimalist audio player
diff --git a/audio/id3ed/Makefile b/audio/id3ed/Makefile
index ee96ddb..bb37ba2 100644
--- a/audio/id3ed/Makefile
+++ b/audio/id3ed/Makefile
@@ -4,13 +4,14 @@
PORTNAME= id3ed
PORTVERSION= 1.10.4
CATEGORIES= audio
-MASTER_SITES= ${MASTER_SITE_NETBSD}
+MASTER_SITES= NETBSD
MAINTAINER= turutani@scphys.kyoto-u.ac.jp
COMMENT= Id3 tag editor for mp3 files
LICENSE= GPLv2
+BROKEN= Unfetchable
GNU_CONFIGURE= yes
PLIST_FILES= bin/id3ed \
diff --git a/audio/julius/Makefile b/audio/julius/Makefile
index e410d75..5ace26a 100644
--- a/audio/julius/Makefile
+++ b/audio/julius/Makefile
@@ -5,8 +5,7 @@ PORTNAME= julius
PORTVERSION= 4.1.2
PORTREVISION= 1
CATEGORIES= audio
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP}
-MASTER_SITE_SUBDIR= julius/37582
+MASTER_SITES= SFJP/julius/37582
MAINTAINER= numisemis@yahoo.com
COMMENT= Large Vocabulary Continuous Speech Recognition Engine
diff --git a/audio/libaudiofile/Makefile b/audio/libaudiofile/Makefile
index 0f3ed13..983b780 100644
--- a/audio/libaudiofile/Makefile
+++ b/audio/libaudiofile/Makefile
@@ -6,8 +6,7 @@ PORTNAME= libaudiofile
PORTVERSION= 0.3.6
PORTREVISION= 1
CATEGORIES= audio
-MASTER_SITES= GNOME
-MASTER_SITE_SUBDIR= sources/${PORTNAME:S/lib//}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
+MASTER_SITES= GNOME/sources/${PORTNAME:S/lib//}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
DISTNAME= audiofile-${PORTVERSION}
MAINTAINER= gnome@FreeBSD.org
diff --git a/audio/libworkman/Makefile b/audio/libworkman/Makefile
index 2db5f37..5c69005 100644
--- a/audio/libworkman/Makefile
+++ b/audio/libworkman/Makefile
@@ -5,8 +5,7 @@ PORTNAME= libworkman
PORTVERSION= 1.4
PORTREVISION= 2
CATEGORIES= audio
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= jim
+MASTER_SITES= LOCAL/jim
DISTNAME= ${PORTNAME}-1999-06-20
MAINTAINER= ports@FreeBSD.org
diff --git a/audio/linux-f10-pulseaudio-libs/Makefile b/audio/linux-f10-pulseaudio-libs/Makefile
index fc7c74f..ca7d5a5 100644
--- a/audio/linux-f10-pulseaudio-libs/Makefile
+++ b/audio/linux-f10-pulseaudio-libs/Makefile
@@ -4,8 +4,7 @@
PORTNAME= pulseaudio-libs
PORTVERSION= 0.9.14
CATEGORIES= audio linux
-MASTER_SITES= LOCAL
-MASTER_SITE_SUBDIR= netchild/rpms/${LINUX_DIST}${LINUX_DIST_VER}
+MASTER_SITES= LOCAL/netchild/rpms/${LINUX_DIST}${LINUX_DIST_VER}
MAINTAINER= emulation@FreeBSD.org
COMMENT= Libraries for PulseAudio clients (Linux Fedora 10)
diff --git a/audio/lollypop/Makefile b/audio/lollypop/Makefile
index 7f4ebae..5e002d14 100644
--- a/audio/lollypop/Makefile
+++ b/audio/lollypop/Makefile
@@ -4,8 +4,7 @@
PORTNAME= lollypop
PORTVERSION= 0.9.15
CATEGORIES= audio
-MASTER_SITES= https://github.com/gnumdk/%SUBDIR%/
-MASTER_SITE_SUBDIR= ${PORTNAME}/releases/download/${PORTVERSION}
+MASTER_SITES= https://github.com/gnumdk/${PORTNAME}/releases/download/${PORTVERSION}/
MAINTAINER= olivierd@FreeBSD.org
COMMENT= Play and organize your music collection
diff --git a/audio/mehdiaplayer/Makefile b/audio/mehdiaplayer/Makefile
index e3b32e2..13633de 100644
--- a/audio/mehdiaplayer/Makefile
+++ b/audio/mehdiaplayer/Makefile
@@ -5,7 +5,7 @@ PORTNAME= mehdiaplayer
PORTVERSION= 0.2
PORTREVISION= 4
CATEGORIES= audio
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
MAINTAINER= vg@FreeBSD.org
COMMENT= Simple media player using Qt/Phonon
diff --git a/audio/mixer.app/Makefile b/audio/mixer.app/Makefile
index 925919b..2a731b1 100644
--- a/audio/mixer.app/Makefile
+++ b/audio/mixer.app/Makefile
@@ -5,7 +5,7 @@ PORTNAME= mixer.app
PORTVERSION= 1.8.0
PORTREVISION= 2
CATEGORIES= audio
-MASTER_SITES= ${MASTER_SITE_DEBIAN_POOL}
+MASTER_SITES= DEBIAN_POOL
DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
MAINTAINER= ports@FreeBSD.org
diff --git a/audio/mixmos/Makefile b/audio/mixmos/Makefile
index 956a976..0a5ee12 100644
--- a/audio/mixmos/Makefile
+++ b/audio/mixmos/Makefile
@@ -5,7 +5,7 @@ PORTNAME= mixmos
PORTVERSION= 0.2.0
PORTREVISION= 9
CATEGORIES= audio
-MASTER_SITES= ${MASTER_SITE_TUCOWS}
+MASTER_SITES= TUCOWS
MAINTAINER= h.skuhra@gmail.com
COMMENT= GTK2 audio mixer
diff --git a/audio/mp32ogg/Makefile b/audio/mp32ogg/Makefile
index 1117350..a986ed4 100644
--- a/audio/mp32ogg/Makefile
+++ b/audio/mp32ogg/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 0.11
PORTREVISION= 2
CATEGORIES= audio perl5
MASTER_SITES= ftp://ftp.faceprint.com/pub/software/scripts/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= uqs
+ LOCAL/uqs
EXTRACT_SUFX= # empty
MAINTAINER= uqs@FreeBSD.org
diff --git a/audio/mp3info/Makefile b/audio/mp3info/Makefile
index 26592b6..3f836ae 100644
--- a/audio/mp3info/Makefile
+++ b/audio/mp3info/Makefile
@@ -3,10 +3,9 @@
PORTNAME= mp3info
PORTVERSION= 0.8.5
+DISTVERSIONSUFFIX= a
CATEGORIES= audio
-MASTER_SITES= ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR= apps/sound/mp3-utils/mp3info
-DISTNAME= ${PORTNAME}-${PORTVERSION}a
+MASTER_SITES= SUNSITE/apps/sound/mp3-utils/mp3info
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= MP3 technical info viewer and ID3 1.x tag editor
diff --git a/audio/mp3rename/Makefile b/audio/mp3rename/Makefile
index fb17efb..d47a714 100644
--- a/audio/mp3rename/Makefile
+++ b/audio/mp3rename/Makefile
@@ -4,7 +4,7 @@
PORTNAME= mp3rename
PORTVERSION= 0.6
CATEGORIES= audio
-MASTER_SITES= ${MASTER_SITE_DEBIAN_POOL}
+MASTER_SITES= DEBIAN_POOL
DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
MAINTAINER= ports@FreeBSD.org
diff --git a/audio/mpdcon/Makefile b/audio/mpdcon/Makefile
index bf191e2..8a086c7 100644
--- a/audio/mpdcon/Makefile
+++ b/audio/mpdcon/Makefile
@@ -4,8 +4,7 @@ PORTNAME= mpdcon
PORTVERSION= 1.5.1
PORTREVISION= 2
CATEGORIES= audio gnustep
-MASTER_SITES= ${MASTER_SITE_SAVANNAH}
-MASTER_SITE_SUBDIR= gap
+MASTER_SITES= SAVANNAH/gap
DISTNAME= MPDCon-${PORTVERSION}
MAINTAINER= theraven@FreeBSD.org
diff --git a/audio/nspmod/Makefile b/audio/nspmod/Makefile
index efa452d..d512917 100644
--- a/audio/nspmod/Makefile
+++ b/audio/nspmod/Makefile
@@ -4,8 +4,7 @@
PORTNAME= nspmod
PORTVERSION= 0.1
CATEGORIES= audio
-MASTER_SITES= ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR= apps/sound/players
+MASTER_SITES= SUNSITE/apps/sound/players
MAINTAINER= ports@FreeBSD.org
COMMENT= MOD/S3M/MTM tracker that does its own DSP, uses VoxWare v2.90+
diff --git a/audio/openal/Makefile b/audio/openal/Makefile
index 445615e..54ff847 100644
--- a/audio/openal/Makefile
+++ b/audio/openal/Makefile
@@ -5,7 +5,7 @@ PORTNAME= openal
PORTVERSION= 20060211
PORTREVISION= 15
CATEGORIES= audio
-MASTER_SITES= GENTOO/distfiles
+MASTER_SITES= GENTOO
DISTVERSION= 0.0.8
MAINTAINER= erik@bz.bzflag.bz
diff --git a/audio/opus-tools/Makefile b/audio/opus-tools/Makefile
index 4d5f01b..08b44cbc 100644
--- a/audio/opus-tools/Makefile
+++ b/audio/opus-tools/Makefile
@@ -5,8 +5,7 @@ PORTVERSION= 0.1.9
PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= http://downloads.xiph.org/releases/opus/ \
- ${MASTER_SITE_MOZILLA_EXTENDED}
-MASTER_SITE_SUBDIR= opus
+ MOZILLA_EXTENDED/opus
MAINTAINER= naddy@FreeBSD.org
COMMENT= Encode, inspect, and decode Opus files
diff --git a/audio/opus/Makefile b/audio/opus/Makefile
index 9635a02..2dfe7f7 100644
--- a/audio/opus/Makefile
+++ b/audio/opus/Makefile
@@ -5,8 +5,7 @@ PORTVERSION= 1.1
PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= http://downloads.xiph.org/releases/opus/ \
- ${MASTER_SITE_MOZILLA_EXTENDED}
-MASTER_SITE_SUBDIR= opus
+ MOZILLA_EXTENDED/opus
MAINTAINER= naddy@FreeBSD.org
COMMENT= IETF audio codec
diff --git a/audio/opusfile/Makefile b/audio/opusfile/Makefile
index 2f38900..e8d7352 100644
--- a/audio/opusfile/Makefile
+++ b/audio/opusfile/Makefile
@@ -5,8 +5,7 @@ PORTVERSION= 0.6
PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= http://downloads.xiph.org/releases/opus/ \
- ${MASTER_SITE_MOZILLA_EXTENDED}
-MASTER_SITE_SUBDIR= opus
+ MOZILLA_EXTENDED/opus
MAINTAINER= liangtai.s16@gmail.com
COMMENT= Opus playback library
diff --git a/audio/p5-Ogg-Vorbis-Header-PurePerl/Makefile b/audio/p5-Ogg-Vorbis-Header-PurePerl/Makefile
index fa0315d..81f3d77 100644
--- a/audio/p5-Ogg-Vorbis-Header-PurePerl/Makefile
+++ b/audio/p5-Ogg-Vorbis-Header-PurePerl/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 1.0
PORTREVISION= 4
CATEGORIES= audio perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR=Ogg
PKGNAMEPREFIX= p5-
MAINTAINER= dominique.goncalves@gmail.com
diff --git a/audio/play/Makefile b/audio/play/Makefile
index 6bcdf93..0be4825 100644
--- a/audio/play/Makefile
+++ b/audio/play/Makefile
@@ -5,7 +5,7 @@ PORTNAME= play
PORTVERSION= 1.0
PORTREVISION= 1
CATEGORIES= audio
-MASTER_SITES= ${MASTER_SITE_PORTS_JP}
+MASTER_SITES= PORTS_JP
MAINTAINER= ports@FreeBSD.org
COMMENT= Simple audio file player
diff --git a/audio/pm3umpdl/Makefile b/audio/pm3umpdl/Makefile
index 14fa3f8..2c518d7 100644
--- a/audio/pm3umpdl/Makefile
+++ b/audio/pm3umpdl/Makefile
@@ -7,7 +7,6 @@ CATEGORIES= audio deskutils
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:VVELOX
EXTRACT_SUFX=
-EXTRACT_ONLY=
MAINTAINER= ports@FreeBSD.org
COMMENT= Loading a M3U file into musicpd
@@ -15,11 +14,11 @@ COMMENT= Loading a M3U file into musicpd
RUN_DEPENDS= ${LOCALBASE}/bin/mpc:${PORTSDIR}/audio/musicpc
USES= perl5
-NO_WRKSUBDIR= yes
PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
-post-extract:
+do-extract:
+ @${MKDIR} ${WRKSRC}
@${CP} -v ${DISTDIR}/${DISTNAME} ${WRKSRC}
do-build:
diff --git a/audio/pms/Makefile b/audio/pms/Makefile
index 70e6e7a..f478322 100644
--- a/audio/pms/Makefile
+++ b/audio/pms/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 0.42
PORTREVISION= 2
CATEGORIES= audio
MASTER_SITES= SF
-MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTNAME}/${PORTVERSION}
MAINTAINER= riggs@FreeBSD.org
COMMENT= ncurses-based client for the Music Player Daemon
diff --git a/audio/puddletag/Makefile b/audio/puddletag/Makefile
index be61e7f..0c078b9 100644
--- a/audio/puddletag/Makefile
+++ b/audio/puddletag/Makefile
@@ -3,8 +3,7 @@
PORTNAME= puddletag
PORTVERSION= 1.0.5
CATEGORIES= audio python
-MASTER_SITES= SF
-MASTER_SITE_SUBDIR=${PORTNAME}
+MASTER_SITES= SF/${PORTNAME}
MAINTAINER= pawel@FreeBSD.org
COMMENT= Audio tag editor
diff --git a/audio/rawrec/Makefile b/audio/rawrec/Makefile
index 7fd2a36..853534c 100644
--- a/audio/rawrec/Makefile
+++ b/audio/rawrec/Makefile
@@ -5,7 +5,7 @@ PORTNAME= rawrec
PORTVERSION= 0.9.991
PORTREVISION= 1
CATEGORIES= audio
-MASTER_SITES= ${MASTER_SITE_SUNSITE:S/%SUBDIR%/apps\/sound\/recorders/} \
+MASTER_SITES= SUNSITE/apps/sound/recorders \
SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
diff --git a/audio/rexima/Makefile b/audio/rexima/Makefile
index ae6d466..abb28fe 100644
--- a/audio/rexima/Makefile
+++ b/audio/rexima/Makefile
@@ -4,8 +4,7 @@
PORTNAME= rexima
PORTVERSION= 1.4
CATEGORIES= audio
-MASTER_SITES= SUNSITE
-MASTER_SITE_SUBDIR= apps/sound/mixers
+MASTER_SITES= SUNSITE/apps/sound/mixers
MAINTAINER= jerry@freebsd.se
COMMENT= ncurses-based console mixer
diff --git a/audio/s3mod/Makefile b/audio/s3mod/Makefile
index 7e89ecc..762ff8f 100644
--- a/audio/s3mod/Makefile
+++ b/audio/s3mod/Makefile
@@ -3,11 +3,10 @@
PORTNAME= s3mod
PORTVERSION= 1.09
+DISTVERSIONPREFIX= v
PORTREVISION= 2
CATEGORIES= audio
-MASTER_SITES= ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR= apps/sound/players
-DISTNAME= ${PORTNAME}-v${PORTVERSION}
+MASTER_SITES= SUNSITE/apps/sound/players
MAINTAINER= ports@FreeBSD.org
COMMENT= MOD/S3M player
diff --git a/audio/soundgrab/Makefile b/audio/soundgrab/Makefile
index 5d6768b..55df713 100644
--- a/audio/soundgrab/Makefile
+++ b/audio/soundgrab/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 1.0.1
PORTREVISION= 2
CATEGORIES= audio perl5
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
-MASTER_SITE_SUBDIR= apps/sound/editors
MAINTAINER= ports@FreeBSD.org
COMMENT= Interactively select and save sections of an audio file
diff --git a/audio/soundtracker/Makefile b/audio/soundtracker/Makefile
index 3ba8d02..9f59731 100644
--- a/audio/soundtracker/Makefile
+++ b/audio/soundtracker/Makefile
@@ -5,8 +5,7 @@ PORTNAME= soundtracker
PORTVERSION= 0.6.8
PORTREVISION= 16
CATEGORIES= audio
-MASTER_SITES= http://www.soundtracker.org/dl/%SUBDIR%/
-MASTER_SITE_SUBDIR= v${PORTVERSION:R}
+MASTER_SITES= http://www.soundtracker.org/dl/v${PORTVERSION:R}/
MAINTAINER= ports@FreeBSD.org
COMMENT= Mod player/tracking tool which supports XM and MOD formats
diff --git a/audio/spek/Makefile b/audio/spek/Makefile
index 1c1af8b..cfdf1bd 100644
--- a/audio/spek/Makefile
+++ b/audio/spek/Makefile
@@ -5,7 +5,7 @@ PORTNAME= spek
PORTVERSION= 0.8.2
PORTREVISION= 4
CATEGORIES= audio
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
MAINTAINER= alexander@kojevnikov.com
COMMENT= Acoustic spectrum analyser
diff --git a/audio/squeezeboxserver-superdatetime/Makefile b/audio/squeezeboxserver-superdatetime/Makefile
index d80b9eb..560c565 100644
--- a/audio/squeezeboxserver-superdatetime/Makefile
+++ b/audio/squeezeboxserver-superdatetime/Makefile
@@ -4,7 +4,7 @@
PORTNAME= superdatetime
PORTVERSION= 5.9.16
CATEGORIES= audio
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
PKGNAMEPREFIX= squeezeboxserver-
DISTNAME= SuperDateTime${PORTVERSION}
DIST_SUBDIR= squeezeboxserver
diff --git a/audio/streamtuner/Makefile b/audio/streamtuner/Makefile
index b0b33ec..41742e0 100644
--- a/audio/streamtuner/Makefile
+++ b/audio/streamtuner/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 0.99.99
PORTREVISION= 20
CATEGORIES= audio www
MASTER_SITES= SAVANNAH
-MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= GTK+ stream directory browser
diff --git a/audio/tcd/Makefile b/audio/tcd/Makefile
index 741cc7d..7f8b4b2 100644
--- a/audio/tcd/Makefile
+++ b/audio/tcd/Makefile
@@ -5,8 +5,7 @@ PORTNAME= tcd
PORTVERSION= 2.2.0
PORTREVISION= 8
CATEGORIES= audio
-MASTER_SITES= ${MASTER_SITE_SAVANNAH}
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= SAVANNAH
MAINTAINER= ports@FreeBSD.org
COMMENT= Simple, user-friendly ncurses-based CD player
diff --git a/audio/tosha/Makefile b/audio/tosha/Makefile
index 9056e44..8d75896 100644
--- a/audio/tosha/Makefile
+++ b/audio/tosha/Makefile
@@ -5,8 +5,7 @@ PORTNAME= tosha
PORTVERSION= 0.6
PORTREVISION= 1
CATEGORIES= audio
-MASTER_SITES= LOCAL
-MASTER_SITE_SUBDIR= markp
+MASTER_SITES= LOCAL/markp
MAINTAINER= ports@FreeBSD.org
COMMENT= Read CD digital audio and video data via the SCSI bus
diff --git a/audio/tuxguitar/Makefile b/audio/tuxguitar/Makefile
index 469b964..8d41255 100644
--- a/audio/tuxguitar/Makefile
+++ b/audio/tuxguitar/Makefile
@@ -6,12 +6,13 @@ PORTVERSION= 1.2
PORTREVISION= 9
CATEGORIES= audio java
MASTER_SITES= SF/${PORTNAME}/TuxGuitar/TuxGuitar-${PORTVERSION}:src \
- ${MASTER_SITE_LOCAL}/gahr/:fluid \
+ LOCAL/gahr/:fluid \
http://people.freebsd.org/~gahr/distfiles/:fluid \
http://www.alsa-project.org/~james/sound-fonts/:fluid
-DISTFILES= ${PORTNAME}-src-${DISTVERSION}${EXTRACT_SUFX}:src \
+DISTNAME= ${PORTNAME}-src-${DISTVERSION}
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:src \
8MBGMSFX.SF2:fluid
-EXTRACT_ONLY= ${PORTNAME}-src-${DISTVERSION}${EXTRACT_SUFX}
+EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= ports@FreeBSD.org
COMMENT= Multitrack tablature editor and player
@@ -36,7 +37,7 @@ USE_LDCONFIG= yes
JAVA_VERSION= 1.6+
NOCCACHE= yes
-WRKSRC= ${WRKDIR}/${PORTNAME}-src-${PORTVERSION}/TuxGuitar
+WRKSRC_SUBDIR= TuxGuitar
OPTIONS_DEFINE= DOCS
diff --git a/audio/vagalume/Makefile b/audio/vagalume/Makefile
index 47384bc..0ed2aae 100644
--- a/audio/vagalume/Makefile
+++ b/audio/vagalume/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 0.8.6
PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= http://vagalume.igalia.com/files/source/ \
- ${MASTER_SITE_DEBIAN_POOL}
-MASTER_SITE_SUBDIR= pool/main/v/vagalume/
+ DEBIAN_POOL/pool/main/v/vagalume/
MAINTAINER= decke@FreeBSD.org
COMMENT= A GTK+-based client for the Last.fm online radio
diff --git a/audio/vitunes/Makefile b/audio/vitunes/Makefile
index 72f78fa..c1a08d7 100644
--- a/audio/vitunes/Makefile
+++ b/audio/vitunes/Makefile
@@ -7,8 +7,7 @@ PORTREVISION= 2
CATEGORIES= audio
MASTER_SITES= http://vitunes.org/files/ \
http://mirror.4bit.ws/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= dhn
+ LOCAL/dhn
MAINTAINER= dhn@FreeBSD.org
COMMENT= Curses-based media player with vim-like keybinds
diff --git a/audio/workman/Makefile b/audio/workman/Makefile
index ae9733d..67cf96c 100644
--- a/audio/workman/Makefile
+++ b/audio/workman/Makefile
@@ -5,8 +5,7 @@ PORTNAME= workman
PORTVERSION= 1.3a
PORTREVISION= 3
CATEGORIES= audio
-MASTER_SITES= ${MASTER_SITE_XCONTRIB}
-MASTER_SITE_SUBDIR= applications/WorkMan
+MASTER_SITES= XCONTRIB/applications/WorkMan
DISTNAME= WorkMan-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
diff --git a/audio/xanalyser/Makefile b/audio/xanalyser/Makefile
index 1c0e938..3212edd 100644
--- a/audio/xanalyser/Makefile
+++ b/audio/xanalyser/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 1.32
PORTREVISION= 1
CATEGORIES= audio hamradio
MASTER_SITES= http://arvin.schnell-web.net/xanalyser/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= db
+ LOCAL/db
MAINTAINER= db@FreeBSD.org
COMMENT= Spectrum analyser
diff --git a/audio/xfce4-pulseaudio-plugin/Makefile b/audio/xfce4-pulseaudio-plugin/Makefile
index da9e44c..c904880 100644
--- a/audio/xfce4-pulseaudio-plugin/Makefile
+++ b/audio/xfce4-pulseaudio-plugin/Makefile
@@ -4,8 +4,7 @@
PORTNAME= xfce4-pulseaudio-plugin
PORTVERSION= 0.2.3
CATEGORIES= audio xfce
-MASTER_SITES= XFCE
-MASTER_SITE_SUBDIR= src/panel-plugins/${PORTNAME}/${PORTVERSION:R}
+MASTER_SITES= XFCE/src/panel-plugins/${PORTNAME}/${PORTVERSION:R}
DIST_SUBDIR= xfce4
MAINTAINER= xfce@FreeBSD.org
diff --git a/audio/xmix/Makefile b/audio/xmix/Makefile
index b63a6f8..f292249 100644
--- a/audio/xmix/Makefile
+++ b/audio/xmix/Makefile
@@ -5,11 +5,9 @@ PORTNAME= xmix
PORTVERSION= 2.1
PORTREVISION= 3
CATEGORIES= audio
-MASTER_SITES= ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR= apps/sound/mixers
+MASTER_SITES= SUNSITE/apps/sound/mixers
PATCH_SITES= ${MASTER_SITES}
-PATCH_SITE_SUBDIR= ${MASTER_SITE_SUBDIR}
PATCHFILES= xmix-2.1.mixers.patch
MAINTAINER= ports@FreeBSD.org
diff --git a/audio/xmms-ladspa/Makefile b/audio/xmms-ladspa/Makefile
index ae130a6..780c386 100644
--- a/audio/xmms-ladspa/Makefile
+++ b/audio/xmms-ladspa/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 1.1
PORTREVISION= 4
CATEGORIES= audio
MASTER_SITES= http://www.ecs.soton.ac.uk/~njl98r/code/ladspa/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= arved
+ LOCAL/arved
DISTNAME= xmms_ladspa-${PORTVERSION}
MAINTAINER= arved@FreeBSD.org
diff --git a/audio/xmms-mailnotify/Makefile b/audio/xmms-mailnotify/Makefile
index 2baea4e..1b72cb9 100644
--- a/audio/xmms-mailnotify/Makefile
+++ b/audio/xmms-mailnotify/Makefile
@@ -5,8 +5,7 @@ PORTNAME= xmms-mailnotify
PORTVERSION= 0.2.0
PORTREVISION= 9
CATEGORIES= audio
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= arved
+MASTER_SITES= LOCAL/arved
MAINTAINER= arved@FreeBSD.org
COMMENT= XMMS plugin, that plays a sound on incoming mail and opens the MUA
diff --git a/audio/xpi-musicpm/Makefile b/audio/xpi-musicpm/Makefile
index 1345ad4..08e8dd8 100644
--- a/audio/xpi-musicpm/Makefile
+++ b/audio/xpi-musicpm/Makefile
@@ -4,7 +4,7 @@
PORTNAME= musicpm
PORTVERSION= 1.4.4
CATEGORIES= audio
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
DISTNAME= mpm_${PORTVERSION}
MAINTAINER= dhn@FreeBSD.org
diff --git a/audio/xwave/Makefile b/audio/xwave/Makefile
index aecbd80..009ce54 100644
--- a/audio/xwave/Makefile
+++ b/audio/xwave/Makefile
@@ -5,8 +5,7 @@ PORTNAME= xwave
PORTVERSION= 2.2
PORTREVISION= 3
CATEGORIES= audio
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= arved
+MASTER_SITES= LOCAL/arved
DISTNAME= ${PORTNAME}${PORTVERSION:S/./v/}
MAINTAINER= a0516@marimga.de
diff --git a/benchmarks/cpipe/Makefile b/benchmarks/cpipe/Makefile
index 7888f8b..1da3354 100644
--- a/benchmarks/cpipe/Makefile
+++ b/benchmarks/cpipe/Makefile
@@ -4,8 +4,7 @@
PORTNAME= cpipe
PORTVERSION= 3.0.2
CATEGORIES= benchmarks
-MASTER_SITES= SF
-MASTER_SITE_SUBDIR= cpipe.berlios
+MASTER_SITES= BERLIOS
MAINTAINER= chris@uminac.com
COMMENT= Benchmarking tool for pipes
diff --git a/benchmarks/dbench/Makefile b/benchmarks/dbench/Makefile
index 343c56c..87d63af 100644
--- a/benchmarks/dbench/Makefile
+++ b/benchmarks/dbench/Makefile
@@ -5,8 +5,7 @@ PORTNAME= dbench
PORTVERSION= 4.0
PORTREVISION= 2
CATEGORIES= benchmarks
-MASTER_SITES= SAMBA
-MASTER_SITE_SUBDIR= ../../ftp/tridge/dbench
+MASTER_SITES= SAMBA/../../ftp/tridge/dbench
MAINTAINER= jlaffaye@FreeBSD.org
COMMENT= Simulation of the Ziff-Davis netbench benchmark
diff --git a/benchmarks/hpl/Makefile b/benchmarks/hpl/Makefile
index f30173a..fd4f7db 100644
--- a/benchmarks/hpl/Makefile
+++ b/benchmarks/hpl/Makefile
@@ -5,8 +5,7 @@ PORTNAME= hpl
PORTVERSION= 2.1
PORTREVISION= 5
CATEGORIES= benchmarks
-MASTER_SITES= ${MASTER_SITE_NETLIB}
-MASTER_SITE_SUBDIR= benchmark/hpl
+MASTER_SITES= NETLIB/benchmark/hpl
MAINTAINER= oliver@FreeBSD.org
COMMENT= High Performance Computing Linpack Benchmark
diff --git a/benchmarks/imb/Makefile b/benchmarks/imb/Makefile
index 159cd23..33f680e 100644
--- a/benchmarks/imb/Makefile
+++ b/benchmarks/imb/Makefile
@@ -5,9 +5,8 @@ PORTNAME= imb
PORTVERSION= 3.0
PORTREVISION= 12
CATEGORIES= benchmarks parallel
-MASTER_SITES= ${MASTER_SITE_LOCAL} \
+MASTER_SITES= LOCAL/itetcu \
http://cache-www.intel.com/cd/00/00/32/71/
-MASTER_SITE_SUBDIR= itetcu
DISTNAME= 327191_327191
EXTRACT_SUFX= .gz
diff --git a/benchmarks/netio/Makefile b/benchmarks/netio/Makefile
index cedec95..ff78bb2 100644
--- a/benchmarks/netio/Makefile
+++ b/benchmarks/netio/Makefile
@@ -4,8 +4,7 @@
PORTNAME= netio
PORTVERSION= 1.32
CATEGORIES= benchmarks net ipv6
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= arved
+MASTER_SITES= LOCAL/arved
DISTNAME= netio132
MAINTAINER= arved@FreeBSD.org
diff --git a/benchmarks/p5-Benchmark-Stopwatch/Makefile b/benchmarks/p5-Benchmark-Stopwatch/Makefile
index 4ddb96e..c6ea168 100644
--- a/benchmarks/p5-Benchmark-Stopwatch/Makefile
+++ b/benchmarks/p5-Benchmark-Stopwatch/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 0.05
PORTREVISION= 1
CATEGORIES= benchmarks perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Benchmark
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
diff --git a/benchmarks/sipp/Makefile b/benchmarks/sipp/Makefile
index c26d5541..c4cdb71 100644
--- a/benchmarks/sipp/Makefile
+++ b/benchmarks/sipp/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 3.3
PORTREVISION= 2
CATEGORIES= benchmarks net
MASTER_SITES= SF
-MASTER_SITE_SUBDIR= sipp/sipp/${PORTVERSION}
DISTNAME= ${PORTNAME}-3.3beta2
MAINTAINER= ports@FreeBSD.org
diff --git a/benchmarks/super-smack/Makefile b/benchmarks/super-smack/Makefile
index 4967cbb..a96e523 100644
--- a/benchmarks/super-smack/Makefile
+++ b/benchmarks/super-smack/Makefile
@@ -5,7 +5,7 @@ PORTNAME= super-smack
PORTVERSION= 1.3
PORTREVISION= 2
CATEGORIES= benchmarks databases
-MASTER_SITES= GENTOO/distfiles
+MASTER_SITES= GENTOO
MAINTAINER= ports@FreeBSD.org
COMMENT= Benchmarking, stress testing, and load generation tool for Databases
diff --git a/benchmarks/ubench/Makefile b/benchmarks/ubench/Makefile
index c570b9c..75d0fb9 100644
--- a/benchmarks/ubench/Makefile
+++ b/benchmarks/ubench/Makefile
@@ -4,8 +4,7 @@
PORTNAME= ubench
PORTVERSION= 0.32
CATEGORIES= benchmarks
-MASTER_SITES= ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR= system/benchmark
+MASTER_SITES= SUNSITE/system/benchmark
MAINTAINER= brian@FreeBSD.org
COMMENT= Unix Benchmark Utility for CPU(s) and memory
diff --git a/benchmarks/webbench/Makefile b/benchmarks/webbench/Makefile
index 8dc0dff..a7db5be 100644
--- a/benchmarks/webbench/Makefile
+++ b/benchmarks/webbench/Makefile
@@ -4,8 +4,7 @@
PORTNAME= webbench
PORTVERSION= 1.5
CATEGORIES= benchmarks www
-MASTER_SITES= ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR= apps/www/servers
+MASTER_SITES= SUNSITE/apps/www/servers
MAINTAINER= ports@FreeBSD.org
COMMENT= Simple forking web benchmark
diff --git a/biology/biococoa/Makefile b/biology/biococoa/Makefile
index 987c836..ab9b607 100644
--- a/biology/biococoa/Makefile
+++ b/biology/biococoa/Makefile
@@ -4,8 +4,7 @@ PORTNAME= biococoa
PORTVERSION= 2.2.2
PORTREVISION= 1
CATEGORIES= biology gnustep
-MASTER_SITES= http://bioinformatics.org/biococoa/downloads/ ${MASTER_SITE_DEBIAN}
-MASTER_SITE_SUBDIR= pool/main/b/biococoa.app
+MASTER_SITES= http://bioinformatics.org/biococoa/downloads/ DEBIAN/pool/main/b/biococoa.app
DISTNAME= biococoa-${PORTVERSION}-src
EXTRACT_SUFX= .tgz
diff --git a/biology/clustalw/Makefile b/biology/clustalw/Makefile
index faf1350..d9aa9cc 100644
--- a/biology/clustalw/Makefile
+++ b/biology/clustalw/Makefile
@@ -5,9 +5,8 @@ PORTNAME= clustalw
PORTVERSION= 2.1
PORTREVISION= 1
CATEGORIES= biology
-MASTER_SITES= ftp://ftp.ebi.ac.uk/pub/software/clustalw2/%SUBDIR%/ \
- http://www.clustal.org/download/%SUBDIR%/
-MASTER_SITE_SUBDIR= ${PORTVERSION}
+MASTER_SITES= ftp://ftp.ebi.ac.uk/pub/software/clustalw2/${PORTVERSION}/ \
+ http://www.clustal.org/download/${PORTVERSION}/
MAINTAINER= ports@FreeBSD.org
COMMENT= Multiple alignment program for DNA or proteins
diff --git a/biology/t_coffee/Makefile b/biology/t_coffee/Makefile
index 5de83fb..ba3cffa 100644
--- a/biology/t_coffee/Makefile
+++ b/biology/t_coffee/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 9.03
DISTVERSIONSUFFIX= .r1318
PORTREVISION= 3
CATEGORIES= biology
-MASTER_SITES= http://www.tcoffee.org/Packages/Stable/%SUBDIR%/
-MASTER_SITE_SUBDIR= Version_${PORTVERSION}${DISTVERSIONSUFFIX}
+MASTER_SITES= http://www.tcoffee.org/Packages/Stable/Version_${PORTVERSION}${DISTVERSIONSUFFIX}/
DISTNAME= T-COFFEE_distribution_Version_${PORTVERSION}${DISTVERSIONSUFFIX}
MAINTAINER= ports@FreeBSD.org
diff --git a/cad/basicdsp/Makefile b/cad/basicdsp/Makefile
index 482c29f..8a99730 100644
--- a/cad/basicdsp/Makefile
+++ b/cad/basicdsp/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 1.01
PORTREVISION= 6
CATEGORIES= cad hamradio
MASTER_SITES= http://wwwhome.cs.utwente.nl/~ptdeboer/ham/basicdsp/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= db
+ LOCAL/db
MAINTAINER= db@FreeBSD.org
COMMENT= Program for experimenting with simple audio DSP algorithms
diff --git a/cad/cascade/Makefile b/cad/cascade/Makefile
index a695a1d..35d9a6e 100644
--- a/cad/cascade/Makefile
+++ b/cad/cascade/Makefile
@@ -4,8 +4,7 @@
PORTNAME= cascade
PORTVERSION= 1.4
CATEGORIES= cad
-MASTER_SITES= SF
-MASTER_SITE_SUBDIR= rfcascade/${PORTNAME}/${PORTNAME}-${PORTVERSION}
+MASTER_SITES= SF/rfcascade/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= hrs@FreeBSD.org
COMMENT= Simple tool to analyze noise and distortion of a RF system
diff --git a/cad/cider/Makefile b/cad/cider/Makefile
index 7b96f0e..7ae6af8 100644
--- a/cad/cider/Makefile
+++ b/cad/cider/Makefile
@@ -5,8 +5,7 @@ PORTNAME= cider
PORTVERSION= 1.b1
PORTREVISION= 8
CATEGORIES= cad
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= mita
+MASTER_SITES= LOCAL/mita
DISTNAME= cider1b1
MAINTAINER= ports@FreeBSD.org
diff --git a/cad/electric-ng/Makefile b/cad/electric-ng/Makefile
index 2b4e738..eaf283f 100644
--- a/cad/electric-ng/Makefile
+++ b/cad/electric-ng/Makefile
@@ -5,10 +5,9 @@ PORTNAME= electric
PORTVERSION= 9.05
PORTREVISION= 1
CATEGORIES= cad java
-MASTER_SITES= ${MASTER_SITE_GNU} \
+MASTER_SITES= GNU/${PORTNAME:S/-ng//} \
http://www.staticfreesoft.com/:1 \
http://www.staticfreesoft.com/jmanual/:2
-MASTER_SITE_SUBDIR= ${PORTNAME:S/-ng//}
PKGNAMESUFFIX= -ng
EXTRACT_SUFX=
DISTFILES+= ${PORTNAME}Binary-${PORTVERSION}.jar
diff --git a/cad/fidocadj/Makefile b/cad/fidocadj/Makefile
index 34e77a0..c42662e 100644
--- a/cad/fidocadj/Makefile
+++ b/cad/fidocadj/Makefile
@@ -5,8 +5,7 @@ PORTNAME= fidocadj
PORTVERSION= 0.24.4
#PORTREVISION= 0
CATEGORIES= cad
-MASTER_SITES= SF:src,docs
-MASTER_SITE_SUBDIR= ${PORTNAME}/:src ${PORTNAME}/manuals/:docs
+MASTER_SITES= SF/${PORTNAME}/:src SF/${PORTNAME}/manuals/:docs
DISTFILES= ${PORTNAME}.jar:src
EXTRACT_ONLY=
diff --git a/cad/geda/Makefile b/cad/geda/Makefile
index a5b2563..ccb17a6 100644
--- a/cad/geda/Makefile
+++ b/cad/geda/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 1.8.2
PORTREVISION= 3
PORTEPOCH= 1
CATEGORIES= cad
-MASTER_SITES= http://ftp.geda-project.org/geda-gaf/stable/%SUBDIR%/
-MASTER_SITE_SUBDIR= v${PORTVERSION:R}/${PORTVERSION}
+MASTER_SITES= http://ftp.geda-project.org/geda-gaf/stable/v${PORTVERSION:R}/${PORTVERSION}/
DISTNAME= ${PORTNAME}-gaf-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
diff --git a/cad/kicad-devel/Makefile b/cad/kicad-devel/Makefile
index fc62b42..d9f2345 100644
--- a/cad/kicad-devel/Makefile
+++ b/cad/kicad-devel/Makefile
@@ -5,8 +5,7 @@ PORTNAME= kicad
DISTVERSION= r${BZR_SRC_REV}
PORTREVISION= 1
CATEGORIES= cad
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= mr
+MASTER_SITES= LOCAL/mr
PKGNAMESUFFIX= -devel
DIST_SUBDIR= ${PORTNAME}
diff --git a/cad/layouteditor/Makefile b/cad/layouteditor/Makefile
index 90ade69..d7b4e14 100644
--- a/cad/layouteditor/Makefile
+++ b/cad/layouteditor/Makefile
@@ -5,8 +5,7 @@ PORTNAME= layouteditor
PORTVERSION= 0.0.20110614
PORTREVISION= 2
CATEGORIES= cad
-MASTER_SITES= LOCAL
-MASTER_SITE_SUBDIR= hrs
+MASTER_SITES= LOCAL/hrs
DISTNAME= LayoutEditor-${PORTVERSION:S,^0.0.,,}-gpl-src
MAINTAINER= hrs@FreeBSD.org
diff --git a/cad/meshdev/Makefile b/cad/meshdev/Makefile
index a45d31c..bd30171 100644
--- a/cad/meshdev/Makefile
+++ b/cad/meshdev/Makefile
@@ -4,9 +4,8 @@
PORTNAME= meshdev
PORTVERSION= 0.5
CATEGORIES= cad
-MASTER_SITES= ${MASTER_SITE_LOCAL} \
+MASTER_SITES= LOCAL/gahr \
http://people.freebsd.org/~gahr/distfiles/
-MASTER_SITE_SUBDIR= gahr
MAINTAINER= ports@FreeBSD.org
COMMENT= Mesh comparison software
diff --git a/chinese/auto-cn-l10n/Makefile b/chinese/auto-cn-l10n/Makefile
index 1f83c9e..7c82164 100644
--- a/chinese/auto-cn-l10n/Makefile
+++ b/chinese/auto-cn-l10n/Makefile
@@ -6,7 +6,7 @@ PORTVERSION= 1.1
PORTREVISION= 3
CATEGORIES= chinese
#MASTER_SITES= ftp://local-distfiles.freebsd.org.cn/pub/china-ports/hamigua/
-MASTER_SITES= ${MASTER_SITE_LOCAL:S/%SUBDIR%/delphij/}
+MASTER_SITES= LOCAL/delphij
DISTNAME= zh-${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
diff --git a/chinese/fcitx-googlepinyin/Makefile b/chinese/fcitx-googlepinyin/Makefile
index 9e77d061..00e62cb 100644
--- a/chinese/fcitx-googlepinyin/Makefile
+++ b/chinese/fcitx-googlepinyin/Makefile
@@ -4,7 +4,7 @@
PORTNAME= fcitx-googlepinyin
PORTVERSION= 0.1.6
CATEGORIES= chinese
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
DIST_SUBDIR= fcitx
MAINTAINER= lichray@gmail.com
diff --git a/chinese/ibus-pinyin/Makefile b/chinese/ibus-pinyin/Makefile
index 3ee68ed..8ae61aa 100644
--- a/chinese/ibus-pinyin/Makefile
+++ b/chinese/ibus-pinyin/Makefile
@@ -5,7 +5,7 @@ PORTNAME= ibus-pinyin
PORTVERSION= 1.5.0
PORTREVISION= 1
CATEGORIES= chinese
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
MAINTAINER= henry.hu.sh@gmail.com
COMMENT= PinYin engine for IBus
diff --git a/chinese/joe/Makefile b/chinese/joe/Makefile
index 85c4c6e..696be5c 100644
--- a/chinese/joe/Makefile
+++ b/chinese/joe/Makefile
@@ -3,8 +3,7 @@
CATEGORIES= chinese
-PATCH_SITES= ${MASTER_SITE_LOCAL}
-PATCH_SITE_SUBDIR= chinsan/patch
+PATCH_SITES= LOCAL/chinsan/patch
PATCHFILES= zh-joe-3.7.diff
PATCH_DIST_STRIP= -p1
diff --git a/chinese/kcfonts/Makefile b/chinese/kcfonts/Makefile
index 667967e..27dcdb4 100644
--- a/chinese/kcfonts/Makefile
+++ b/chinese/kcfonts/Makefile
@@ -5,8 +5,7 @@ PORTNAME= kcfonts
PORTVERSION= 1.05
PORTREVISION= 3
CATEGORIES= chinese x11-fonts
-MASTER_SITES= ${MASTER_SITE_GENTOO}
-MASTER_SITE_SUBDIR= distfiles
+MASTER_SITES= GENTOO
MAINTAINER= ports@FreeBSD.org
COMMENT= Kuo Chauo Chinese Fonts collection
diff --git a/chinese/libgooglepinyin/Makefile b/chinese/libgooglepinyin/Makefile
index 6aa045c..4aef86b 100644
--- a/chinese/libgooglepinyin/Makefile
+++ b/chinese/libgooglepinyin/Makefile
@@ -4,7 +4,7 @@
PORTNAME= libgooglepinyin
PORTVERSION= 0.1.2
CATEGORIES= chinese devel
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
MAINTAINER= lichray@gmail.com
COMMENT= Fork of Google Pinyin IME on Android
diff --git a/chinese/opencc/Makefile b/chinese/opencc/Makefile
index af29964..da5a5e8 100644
--- a/chinese/opencc/Makefile
+++ b/chinese/opencc/Makefile
@@ -4,7 +4,7 @@
PORTNAME= opencc
PORTVERSION= 0.4.3
CATEGORIES= chinese converters
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
MAINTAINER= lichray@gmail.com
COMMENT= Open Chinese Convert library and utilities
diff --git a/chinese/p5-Lingua-ZH-Segment/Makefile b/chinese/p5-Lingua-ZH-Segment/Makefile
index 5b640bd..4a5c334 100644
--- a/chinese/p5-Lingua-ZH-Segment/Makefile
+++ b/chinese/p5-Lingua-ZH-Segment/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 0.02
PORTREVISION= 1
CATEGORIES= chinese perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Lingua
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
diff --git a/chinese/pyzy/Makefile b/chinese/pyzy/Makefile
index 50e2e28..d695aba 100644
--- a/chinese/pyzy/Makefile
+++ b/chinese/pyzy/Makefile
@@ -5,7 +5,7 @@ PORTNAME= pyzy
PORTVERSION= 0.1.0
PORTREVISION= 1
CATEGORIES= chinese
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
diff --git a/chinese/xpdf/Makefile b/chinese/xpdf/Makefile
index e16b866..5cb5b70 100644
--- a/chinese/xpdf/Makefile
+++ b/chinese/xpdf/Makefile
@@ -6,9 +6,8 @@ PORTVERSION= 3.03
PORTEPOCH= 2
CATEGORIES= chinese graphics print
MASTER_SITES= ftp://ftp.foolabs.com/pub/xpdf/ \
- ${MASTER_SITE_TEX_CTAN} \
+ TEX_CTAN/support/xpdf \
http://dryice.name/computer/FreeBSD/distfiles/
-MASTER_SITE_SUBDIR= support/xpdf
PKGNAMESUFFIX= -zhfont
DISTFILES= xpdf-chinese-simplified-2011-sep-02${EXTRACT_SUFX} \
xpdf-chinese-traditional-2011-sep-02${EXTRACT_SUFX}
diff --git a/comms/aldo/Makefile b/comms/aldo/Makefile
index 9ce9197..3be10c6 100644
--- a/comms/aldo/Makefile
+++ b/comms/aldo/Makefile
@@ -5,8 +5,7 @@ PORTNAME= aldo
PORTVERSION= 0.7.5
PORTREVISION= 2
CATEGORIES= comms hamradio
-MASTER_SITES= ${MASTER_SITE_SAVANNAH}
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= SAVANNAH
MAINTAINER= lambert@lambertfam.org
COMMENT= Morse code training program
diff --git a/comms/bpl+/Makefile b/comms/bpl+/Makefile
index 6b06585..d5a00ab 100644
--- a/comms/bpl+/Makefile
+++ b/comms/bpl+/Makefile
@@ -5,8 +5,7 @@ PORTNAME= bpl+
PORTVERSION= 1.0
PORTREVISION= 1
CATEGORIES= comms
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= max
+MASTER_SITES= LOCAL/max
DISTNAME= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
diff --git a/comms/chirp/Makefile b/comms/chirp/Makefile
index d24a81e..894393a 100644
--- a/comms/chirp/Makefile
+++ b/comms/chirp/Makefile
@@ -5,8 +5,7 @@ PORTVERSION= 0.4.1
PORTREVISION= 1
CATEGORIES= comms hamradio
MASTER_SITES= http://chirp.danplanet.com/download/${PORTVERSION}/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= db
+ LOCAL/db
MAINTAINER= hamradio@FreeBSD.org
COMMENT= Chirp is a free, open-source tool for programming your amateur radio
diff --git a/comms/chu/Makefile b/comms/chu/Makefile
index 35fb225..ef3f15a 100644
--- a/comms/chu/Makefile
+++ b/comms/chu/Makefile
@@ -4,9 +4,8 @@
PORTNAME= chu
PORTVERSION= 0.1.29
CATEGORIES= comms hamradio
-MASTER_SITES= ${MASTER_SITE_SUNSITE} \
+MASTER_SITES= SUNSITE/system/admin/time \
http://www.rossi.com/chu/
-MASTER_SITE_SUBDIR= system/admin/time
MAINTAINER= hamradio@FreeBSD.org
COMMENT= Synchronise computer clock to CHU radio station
diff --git a/comms/cqrlog/Makefile b/comms/cqrlog/Makefile
index e937700..cc73116 100644
--- a/comms/cqrlog/Makefile
+++ b/comms/cqrlog/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 1.8.2
PORTREVISION= 1
CATEGORIES= comms hamradio
MASTER_SITES= http://www.cqrlog.com/files/cqrlog_${PORTVERSION}/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= shurd
+ LOCAL/shurd
DISTNAME= ${PORTNAME}_${PORTVERSION}.src
MAINTAINER= hamradio@FreeBSD.org
diff --git a/comms/cwdaemon/Makefile b/comms/cwdaemon/Makefile
index 66a7435..4bdf1d6 100644
--- a/comms/cwdaemon/Makefile
+++ b/comms/cwdaemon/Makefile
@@ -5,8 +5,7 @@ PORTNAME= cwdaemon
PORTVERSION= 0.9.4
CATEGORIES= comms hamradio
MASTER_SITES= http://www.chronos.org.uk/download/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= db
+ LOCAL/db
MAINTAINER= hamradio@FreeBSD.org
COMMENT= Amateur Radio cw (Morse code) keyer daemon
diff --git a/comms/ebook2cw/Makefile b/comms/ebook2cw/Makefile
index 4f79dca..fa09a31 100644
--- a/comms/ebook2cw/Makefile
+++ b/comms/ebook2cw/Makefile
@@ -4,8 +4,7 @@ PORTNAME= ebook2cw
PORTVERSION= 0.8.2
CATEGORIES= comms hamradio
MASTER_SITES= http://fkurz.net/ham/ebook2cw/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= db
+ LOCAL/db
MAINTAINER= hamradio@FreeBSD.org
COMMENT= Convert text files into cw as an mp3 or ogg file
diff --git a/comms/ebook2cwgui/Makefile b/comms/ebook2cwgui/Makefile
index ac44f79..c3d7c0a 100644
--- a/comms/ebook2cwgui/Makefile
+++ b/comms/ebook2cwgui/Makefile
@@ -6,8 +6,7 @@ PORTREVISION= 1
CATEGORIES= comms hamradio
MASTER_SITES= http://fkurz.net/ham/ebook2cw/ \
http://distfiles.bsdjunk.com/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= db
+ LOCAL/db
MAINTAINER= hamradio@FreeBSD.org
COMMENT= gui front end for ebooks2cw
diff --git a/comms/esmska/Makefile b/comms/esmska/Makefile
index 3fb2e41..59d5f44 100644
--- a/comms/esmska/Makefile
+++ b/comms/esmska/Makefile
@@ -4,7 +4,7 @@
PORTNAME= esmska
PORTVERSION= 0.21
CATEGORIES= comms java
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
MAINTAINER= gamato@users.sf.net
COMMENT= Program for sending SMS over the Internet
diff --git a/comms/fl_moxgen/Makefile b/comms/fl_moxgen/Makefile
index 6d03a5d..30d49b2 100644
--- a/comms/fl_moxgen/Makefile
+++ b/comms/fl_moxgen/Makefile
@@ -5,8 +5,7 @@ PORTNAME= fl_moxgen
PORTVERSION= 1.00
PORTREVISION= 1
CATEGORIES= comms hamradio
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= flmoxgen
+MASTER_SITES= SF/flmoxgen
DISTNAME= Fl_MoxGen-${PORTVERSION}
MAINTAINER= shurd@FreeBSD.org
diff --git a/comms/fllog/Makefile b/comms/fllog/Makefile
index 92a5ab3..edc3194 100644
--- a/comms/fllog/Makefile
+++ b/comms/fllog/Makefile
@@ -5,8 +5,7 @@ PORTNAME= fllog
PORTVERSION= 1.2.0
CATEGORIES= comms hamradio
MASTER_SITES= http://www.w1hkj.com/downloads/fllog/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= shurd
+ LOCAL/shurd
MAINTAINER= hamradio@FreeBSD.org
COMMENT= Ham Radio logging program
diff --git a/comms/flrig/Makefile b/comms/flrig/Makefile
index 0350f48..e774823 100644
--- a/comms/flrig/Makefile
+++ b/comms/flrig/Makefile
@@ -5,8 +5,7 @@ PORTNAME= flrig
PORTVERSION= 1.3.22
CATEGORIES= comms hamradio
MASTER_SITES= http://www.w1hkj.com/downloads/flrig/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= db
+ LOCAL/db
MAINTAINER= hamradio@FreeBSD.org
COMMENT= Ham Radio rig control program, cooperates with fldigi
diff --git a/comms/flwrap/Makefile b/comms/flwrap/Makefile
index 4a0f1a6..6584bf8 100644
--- a/comms/flwrap/Makefile
+++ b/comms/flwrap/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 1.3.4
PORTREVISION= 1
CATEGORIES= comms hamradio
MASTER_SITES= http://www.w1hkj.com/downloads/flwrap/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= db
+ LOCAL/db
MAINTAINER= hamradio@FreeBSD.org
COMMENT= Flwrap is a companion utility for fldigi
diff --git a/comms/geoid/Makefile b/comms/geoid/Makefile
index 7a656c0..364f38b 100644
--- a/comms/geoid/Makefile
+++ b/comms/geoid/Makefile
@@ -6,8 +6,7 @@ PORTREVISION= 7
DISTVERSIONSUFFIX= .src
CATEGORIES= comms hamradio
MASTER_SITES= http://www.w1hkj.com/LinuxApps/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= db
+ LOCAL/db
DISTNAME= fl_geoid
EXTRACT_SUFX= .src.tar.gz
diff --git a/comms/gnuradio/Makefile b/comms/gnuradio/Makefile
index 3a192af..c2279d8 100644
--- a/comms/gnuradio/Makefile
+++ b/comms/gnuradio/Makefile
@@ -5,8 +5,7 @@ PORTVERSION= 3.7.4
PORTREVISION= 2
CATEGORIES= comms astro hamradio
MASTER_SITES= http://gnuradio.org/releases/gnuradio/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= db
+ LOCAL/db
MAINTAINER= hamradio@FreeBSD.org
COMMENT= Amateur Radio Software defined radio
diff --git a/comms/gtkmmorse/Makefile b/comms/gtkmmorse/Makefile
index 5b4c5b8..7a8374b 100644
--- a/comms/gtkmmorse/Makefile
+++ b/comms/gtkmmorse/Makefile
@@ -5,8 +5,7 @@ PORTNAME= gtkmmorse
PORTVERSION= 0.9.27
PORTREVISION= 1
CATEGORIES= comms hamradio
-MASTER_SITES= ${MASTER_SITE_SAVANNAH}
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= SAVANNAH
MAINTAINER= shurd@FreeBSD.org
COMMENT= Graphical Morse Code Trainer
diff --git a/comms/ibp/Makefile b/comms/ibp/Makefile
index 45c43db..0e7241a 100644
--- a/comms/ibp/Makefile
+++ b/comms/ibp/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 0.21
PORTREVISION= 2
CATEGORIES= comms hamradio
MASTER_SITES= http://wwwhome.cs.utwente.nl/~ptdeboer/ham/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= db
+ LOCAL/db
MAINTAINER= hamradio@FreeBSD.org
COMMENT= Little program for monitoring amateur radio beacons
diff --git a/comms/kb/Makefile b/comms/kb/Makefile
index ac6dce3..a1091ab 100644
--- a/comms/kb/Makefile
+++ b/comms/kb/Makefile
@@ -5,8 +5,7 @@ PORTVERSION= 8.04
PORTREVISION= 8
CATEGORIES= comms hamradio
MASTER_SITES= http://www.db.net/downloads/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= db
+ LOCAL/db
DISTFILES= kb_src-${PORTVERSION}.tar.gz kb_inst-${PORTVERSION}.tar.gz
MAINTAINER= hamradio@FreeBSD.org
diff --git a/comms/libfec/Makefile b/comms/libfec/Makefile
index 9330e2b..9aec53b 100644
--- a/comms/libfec/Makefile
+++ b/comms/libfec/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 3.0.1
PORTREVISION= 1
CATEGORIES= comms astro hamradio math
MASTER_SITES= http://www.ka9q.net/code/fec/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= db
+ LOCAL/db
DISTNAME= fec-${PORTVERSION}
MAINTAINER= olgeni@FreeBSD.org
diff --git a/comms/linpsk/Makefile b/comms/linpsk/Makefile
index a398eb9..8a1ddad 100644
--- a/comms/linpsk/Makefile
+++ b/comms/linpsk/Makefile
@@ -3,8 +3,7 @@
PORTNAME= linpsk
PORTVERSION= 1.2
CATEGORIES= comms hamradio
-MASTER_SITES= SF
-MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
+MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= hamradio@FreeBSD.org
COMMENT= Simple Qt PSK31, RTTY, and MSK31 client
diff --git a/comms/locator/Makefile b/comms/locator/Makefile
index 8341420..520a3bb 100644
--- a/comms/locator/Makefile
+++ b/comms/locator/Makefile
@@ -4,7 +4,7 @@
PORTNAME= locator
PORTVERSION= 0.1
CATEGORIES= comms hamradio astro geography
-MASTER_SITES= ${MASTER_SITE_SUNSITE:=apps/ham/}
+MASTER_SITES= SUNSITE/apps/ham/
MAINTAINER= hamradio@FreeBSD.org
COMMENT= Grid square calculator program used in Amateur Radio and GPS work
diff --git a/comms/morse/Makefile b/comms/morse/Makefile
index 748a318..dc6258e 100644
--- a/comms/morse/Makefile
+++ b/comms/morse/Makefile
@@ -5,8 +5,7 @@ PORTNAME= morse
PORTVERSION= 2.5
CATEGORIES= comms hamradio
MASTER_SITES= http://www.catb.org/~esr/morse/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= db
+ LOCAL/db
MAINTAINER= shurd@FreeBSD.org
COMMENT= Morse Code Trainer
diff --git a/comms/nasawash/Makefile b/comms/nasawash/Makefile
index 93294c6..683c2c1 100644
--- a/comms/nasawash/Makefile
+++ b/comms/nasawash/Makefile
@@ -5,8 +5,7 @@ PORTNAME= nasawash
PORTVERSION= 0.50
CATEGORIES= comms hamradio
MASTER_SITES= ftp://ftp.amsat.org/amsat/software/Linux/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= db
+ LOCAL/db
DISTNAME= nasawash
MAINTAINER= hamradio@FreeBSD.org
diff --git a/comms/nec2c/Makefile b/comms/nec2c/Makefile
index fac6867..af071b9 100644
--- a/comms/nec2c/Makefile
+++ b/comms/nec2c/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= .9
PORTREVISION= 1
CATEGORIES= comms hamradio
MASTER_SITES= http://nec-archives.pa3kj.com/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= db
+ LOCAL/db
DISTNAME= nec2c
MAINTAINER= hamradio@FreeBSD.org
diff --git a/comms/o2sms/Makefile b/comms/o2sms/Makefile
index 95c9634..f5faf6c 100644
--- a/comms/o2sms/Makefile
+++ b/comms/o2sms/Makefile
@@ -5,9 +5,8 @@ PORTNAME= o2sms
PORTVERSION= 3.36
PORTREVISION= 1
CATEGORIES= comms perl5
-MASTER_SITES= CPAN \
+MASTER_SITES= CPAN/WWW/MACKERS \
http://www.mackers.com/projects/o2sms/releases/
-MASTER_SITE_SUBDIR= WWW/MACKERS
MAINTAINER= ports@FreeBSD.org
COMMENT= Send SMS messages via the websites of Irish mobile operators
diff --git a/comms/picocom/Makefile b/comms/picocom/Makefile
index d74cffa..da8b31e 100644
--- a/comms/picocom/Makefile
+++ b/comms/picocom/Makefile
@@ -4,7 +4,7 @@
PORTNAME= picocom
PORTVERSION= 1.7
CATEGORIES= comms
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
MAINTAINER= dhn@FreeBSD.org
COMMENT= Dumb Terminal Emulator
diff --git a/comms/predict/Makefile b/comms/predict/Makefile
index e5d96d0..dc415e1 100644
--- a/comms/predict/Makefile
+++ b/comms/predict/Makefile
@@ -5,8 +5,7 @@ PORTNAME= predict
PORTVERSION= 2.2.3
CATEGORIES= comms astro hamradio
MASTER_SITES= ftp://ftp.amsat.org/amsat/software/Linux/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= db
+ LOCAL/db
MAINTAINER= hamradio@FreeBSD.org
COMMENT= Satellite tracking program for amateur radio satellites
diff --git a/comms/pyla/Makefile b/comms/pyla/Makefile
index b4c1047..802c8a8 100644
--- a/comms/pyla/Makefile
+++ b/comms/pyla/Makefile
@@ -5,11 +5,9 @@ PORTNAME= pyla
PORTVERSION= 1.1.7.1
CATEGORIES= comms python
#MASTER_SITES= http://www.teamsw.it/pyla/download/
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= mr
+MASTER_SITES= LOCAL/mr
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= pyla${PORTVERSION}
-EXTRACT_SUFX= .tgz
MAINTAINER= mike@Reifenberger.com
COMMENT= Hylafax client written in Python
@@ -19,7 +17,7 @@ COMMENT= Hylafax client written in Python
WRKSRC= ${WRKDIR}/${PORTNAME}
DATADIR= ${PREFIX}/lib/pyla
-USES= python
+USES= python tar:tgz
PLIST= ${WRKDIR}/pkg-plist
do-build:
diff --git a/comms/qrq/Makefile b/comms/qrq/Makefile
index 72b39dc..3304322 100644
--- a/comms/qrq/Makefile
+++ b/comms/qrq/Makefile
@@ -5,8 +5,7 @@ PORTVERSION= 0.3.1
PORTREVISION= 1
CATEGORIES= comms hamradio
MASTER_SITES= http://fkurz.net/ham/qrq/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= db
+ LOCAL/db
MAINTAINER= hamradio@FreeBSD.org
COMMENT= Morse telegraphy trainer similar to the classic DOS version by DL4MM
diff --git a/comms/qsstv/Makefile b/comms/qsstv/Makefile
index bce9589..d8fba3e 100644
--- a/comms/qsstv/Makefile
+++ b/comms/qsstv/Makefile
@@ -5,8 +5,7 @@ PORTVERSION= 8.2.11
PORTREVISION= 1
CATEGORIES= comms hamradio
MASTER_SITES= http://users.telenet.be/on4qz/qsstv/downloads/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= shurd
+ LOCAL/shurd
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= hamradio@FreeBSD.org
diff --git a/comms/quisk/Makefile b/comms/quisk/Makefile
index e923550..2ca5bbd 100644
--- a/comms/quisk/Makefile
+++ b/comms/quisk/Makefile
@@ -5,8 +5,7 @@ PORTNAME= quisk
PORTVERSION= 3.6.22
CATEGORIES= comms hamradio
MASTER_SITES= http://james.ahlstrom.name/quisk/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR=shurd
+ LOCAL/shurd
MAINTAINER= hamradio@FreeBSD.org
COMMENT= Software Defined Radio (SDR)
diff --git a/comms/soundmodem/Makefile b/comms/soundmodem/Makefile
index a34a4f8..a9131ff 100644
--- a/comms/soundmodem/Makefile
+++ b/comms/soundmodem/Makefile
@@ -6,8 +6,7 @@ CATEGORIES= comms hamradio
MASTER_SITES= http://www.baycom.org/~tom/ham/soundmodem/ \
http://soundmodem.vk4msl.yi.org/ \
http://pv529.ncsrv.de/soundmodem/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= shurd
+ LOCAL/shurd
MAINTAINER= hamradio@FreeBSD.org
COMMENT= Amateur Radio sound modem
diff --git a/comms/splat/Makefile b/comms/splat/Makefile
index 7d10bc1..d262753 100644
--- a/comms/splat/Makefile
+++ b/comms/splat/Makefile
@@ -3,8 +3,7 @@
PORTNAME= splat
PORTVERSION= 1.4.0
CATEGORIES= comms hamradio
-MASTER_SITES= ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR= apps/ham
+MASTER_SITES= SUNSITE/apps/ham
MAINTAINER= hamradio@FreeBSD.org
COMMENT= Used in calculating path losses, useful to ham radio and others
diff --git a/comms/sredird/Makefile b/comms/sredird/Makefile
index 3d8b1f1..eefe865 100644
--- a/comms/sredird/Makefile
+++ b/comms/sredird/Makefile
@@ -5,8 +5,7 @@ PORTNAME= sredird
PORTVERSION= 2.2.2
PORTREVISION= 1
CATEGORIES= comms
-MASTER_SITES= ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR= system/serial
+MASTER_SITES= SUNSITE/system/serial
MAINTAINER= ports@FreeBSD.org
COMMENT= RFC 2217 compliant serial port redirector
diff --git a/comms/usrp/Makefile b/comms/usrp/Makefile
index 2ff1900..4769683 100644
--- a/comms/usrp/Makefile
+++ b/comms/usrp/Makefile
@@ -4,8 +4,7 @@ PORTNAME= usrp
PORTVERSION= 3.4.3
PORTREVISION= 4
CATEGORIES= comms hamradio
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= adrian
+MASTER_SITES= LOCAL/adrian
DISTNAME= Ettus-USRP-3.4.3
MAINTAINER= hamradio@FreeBSD.org
diff --git a/comms/vrflash/Makefile b/comms/vrflash/Makefile
index 1daa928..0c3d9b4 100644
--- a/comms/vrflash/Makefile
+++ b/comms/vrflash/Makefile
@@ -3,8 +3,7 @@
PORTNAME= vrflash
PORTVERSION= 0.20
CATEGORIES= comms
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR=dinoex
+MASTER_SITES= LOCAL/dinoex
MAINTAINER= dinoex@FreeBSD.org
COMMENT= Flash kernels and romdisks to the Agenda VR3
diff --git a/comms/wsjt/Makefile b/comms/wsjt/Makefile
index 901d2b0..2e015cc 100644
--- a/comms/wsjt/Makefile
+++ b/comms/wsjt/Makefile
@@ -5,8 +5,7 @@ VERSION= 9.1
PORTREVISION= 10
DISTVERSION= ${VERSION}.r${SVN_REV}
CATEGORIES= comms hamradio
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= db
+MASTER_SITES= LOCAL/db
DISTNAME= wsjt-r${SVN_REV}
MAINTAINER= hamradio@FreeBSD.org
diff --git a/comms/wspr/Makefile b/comms/wspr/Makefile
index 3403a82..3872e34 100644
--- a/comms/wspr/Makefile
+++ b/comms/wspr/Makefile
@@ -4,8 +4,7 @@ PORTNAME= wspr
DISTVERSION= ${VERSION}.r${SVN_REV}
PORTREVISION= 3
CATEGORIES= comms hamradio
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= db
+MASTER_SITES= LOCAL/db
DISTNAME= wspr-r${SVN_REV}
MAINTAINER= hamradio@FreeBSD.org
diff --git a/comms/wwl/Makefile b/comms/wwl/Makefile
index 5d1b35e..8f3f8a2 100644
--- a/comms/wwl/Makefile
+++ b/comms/wwl/Makefile
@@ -5,8 +5,7 @@ PORTNAME= wwl
PORTVERSION= 1.3
CATEGORIES= comms hamradio astro geography
MASTER_SITES= http://www.db.net/downloads/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= db
+ LOCAL/db
DISTNAME= ${PORTNAME}+db-${PORTVERSION}
MAINTAINER= hamradio@FreeBSD.org
diff --git a/comms/wy60/Makefile b/comms/wy60/Makefile
index edd6003..afd9368 100644
--- a/comms/wy60/Makefile
+++ b/comms/wy60/Makefile
@@ -3,7 +3,7 @@
PORTNAME= wy60
PORTVERSION= 2.0.9
CATEGORIES= comms
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
MAINTAINER= naddy@FreeBSD.org
COMMENT= Curses-based emulator for the Wyse 60 terminal
diff --git a/comms/xdx/Makefile b/comms/xdx/Makefile
index 6898a47..3f5d92f 100644
--- a/comms/xdx/Makefile
+++ b/comms/xdx/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 2.4
PORTREVISION= 5
CATEGORIES= comms hamradio
MASTER_SITES= http://www.chronos.org.uk/download/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= db
+ LOCAL/db
MAINTAINER= xride@FreeBSD.org
COMMENT= Amateur Radio DX cluster monitor
diff --git a/comms/xlog/Makefile b/comms/xlog/Makefile
index 4fc0a8f..f903475 100644
--- a/comms/xlog/Makefile
+++ b/comms/xlog/Makefile
@@ -5,7 +5,6 @@ PORTNAME= xlog
PORTVERSION= 2.0.13
CATEGORIES= comms hamradio
MASTER_SITES= SAVANNAH
-MASTER_SITE_SUBDIR= xlog
MAINTAINER= danilo@FreeBSD.org
COMMENT= Amateur Radio logging application
diff --git a/comms/xnec2c/Makefile b/comms/xnec2c/Makefile
index 6f987d0..212c26d 100644
--- a/comms/xnec2c/Makefile
+++ b/comms/xnec2c/Makefile
@@ -5,8 +5,7 @@ PORTNAME= xnec2c
PORTVERSION= 3.3
CATEGORIES= comms hamradio
MASTER_SITES= http://www.qsl.net/5b4az/pkg/nec2/xnec2c/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= shurd
+ LOCAL/shurd
MAINTAINER= hamradio@FreeBSD.org
COMMENT= Used to calculate antenna patterns useful to ham radio
diff --git a/comms/xwota/Makefile b/comms/xwota/Makefile
index 82ef021..e02c10e 100644
--- a/comms/xwota/Makefile
+++ b/comms/xwota/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 0.4
PORTREVISION= 7
CATEGORIES= comms hamradio
MASTER_SITES= http://people.fabaris.it/iz0ete/xwota/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= db
+ LOCAL/db
MAINTAINER= hamradio@FreeBSD.org
COMMENT= X version of who is on the air
diff --git a/comms/yagiuda/Makefile b/comms/yagiuda/Makefile
index 99b1ebf..c4632f3 100644
--- a/comms/yagiuda/Makefile
+++ b/comms/yagiuda/Makefile
@@ -5,8 +5,7 @@ PORTNAME= yagiuda
PORTVERSION= 1.19
CATEGORIES= comms hamradio
MASTER_SITES= http://www.g8wrb.org/yagi/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= db
+ LOCAL/db
MAINTAINER= hamradio@FreeBSD.org
COMMENT= Used to calculate yagi-uda antenna patterns useful to ham radio
diff --git a/comms/yfklog/Makefile b/comms/yfklog/Makefile
index d568466..f06213f 100644
--- a/comms/yfklog/Makefile
+++ b/comms/yfklog/Makefile
@@ -5,11 +5,10 @@ PORTNAME= yfklog
PORTVERSION= 0.3.5
CATEGORIES= comms hamradio
MASTER_SITES= http://fkurz.net/ham/yfklog/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= db
-DISTFILES= ${PORTNAME}-${PORTVERSION}.tar.gz yfk.png
+ LOCAL/db
+DISTFILES= ${DISTNAME}.tar.gz yfk.png
DIST_SUBDIR= ${PORTNAME}
-EXTRACT_ONLY= ${PORTNAME}-${PORTVERSION}.tar.gz
+EXTRACT_ONLY= ${DISTNAME}.tar.gz
MAINTAINER= hamradio@FreeBSD.org
COMMENT= Amateur Radio curses based logging program
diff --git a/converters/btoa/Makefile b/converters/btoa/Makefile
index 73bc326c..c465cfc 100644
--- a/converters/btoa/Makefile
+++ b/converters/btoa/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 5.2
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= converters
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= pgollucci
+MASTER_SITES= LOCAL/pgollucci
MAINTAINER= ports@FreeBSD.org
COMMENT= Encode/decode binary to printable ASCII
diff --git a/converters/cl-babel/Makefile b/converters/cl-babel/Makefile
index d0f599a..74c9f2d 100644
--- a/converters/cl-babel/Makefile
+++ b/converters/cl-babel/Makefile
@@ -5,8 +5,7 @@ PORTVERSION= 2010.01.16
PORTREVISION= 2
CATEGORIES= converters lisp
PKGNAMEPREFIX= cl-
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= olgeni
+MASTER_SITES= LOCAL/olgeni
MAINTAINER= olgeni@FreeBSD.org
COMMENT= Charset encoding/decoding library written in Common Lisp
diff --git a/converters/cocot/Makefile b/converters/cocot/Makefile
index e6b1945..aebfc79 100644
--- a/converters/cocot/Makefile
+++ b/converters/cocot/Makefile
@@ -5,8 +5,7 @@ PORTNAME= cocot
PORTVERSION= 20120313
CATEGORIES= converters
MASTER_SITES= ftp://ftp.iDaemons.org/pub/distfiles/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= knu
+ LOCAL/knu
DISTNAME= ${PORTNAME}-1.1-${PORTVERSION}
MAINTAINER= knu@FreeBSD.org
diff --git a/converters/fconv/Makefile b/converters/fconv/Makefile
index a58c905..bc7e882 100644
--- a/converters/fconv/Makefile
+++ b/converters/fconv/Makefile
@@ -5,8 +5,7 @@ PORTNAME= fconv
PORTVERSION= 1.1
PORTREVISION= 2
CATEGORIES= converters
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= chris
+MASTER_SITES= LOCAL/chris
MAINTAINER= chris@FreeBSD.org
COMMENT= Converts DOS or Mac-style files to Unix format, and vice-versa
diff --git a/converters/iconv-extra/Makefile b/converters/iconv-extra/Makefile
index 678240f..c56f508 100644
--- a/converters/iconv-extra/Makefile
+++ b/converters/iconv-extra/Makefile
@@ -4,8 +4,7 @@
PORTNAME= iconv-extra
PORTVERSION= 2.0
CATEGORIES= converters
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= bland
+MASTER_SITES= LOCAL/bland
MAINTAINER= bland@FreeBSD.org
COMMENT= Additional charsets for the iconv library (those from the Unicode site)
diff --git a/converters/iconv-rfc1345/Makefile b/converters/iconv-rfc1345/Makefile
index bf5473f..af1e1fc 100644
--- a/converters/iconv-rfc1345/Makefile
+++ b/converters/iconv-rfc1345/Makefile
@@ -4,8 +4,7 @@
PORTNAME= iconv-rfc1345
PORTVERSION= 2.0
CATEGORIES= converters
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= bland
+MASTER_SITES= LOCAL/bland
MAINTAINER= bland@FreeBSD.org
COMMENT= Additional charset modules for the iconv library (from RFC1345)
diff --git a/converters/iconv/Makefile b/converters/iconv/Makefile
index 692ef49..a8449f5 100644
--- a/converters/iconv/Makefile
+++ b/converters/iconv/Makefile
@@ -5,8 +5,7 @@ PORTNAME= iconv
PORTVERSION= 2.0
PORTREVISION= 4
CATEGORIES= converters
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= bland
+MASTER_SITES= LOCAL/bland
MAINTAINER= bland@FreeBSD.org
COMMENT= Charset conversion library and utilities
diff --git a/converters/ish/Makefile b/converters/ish/Makefile
index 6f641e6..7af205e 100644
--- a/converters/ish/Makefile
+++ b/converters/ish/Makefile
@@ -5,7 +5,7 @@ PORTNAME= ish
PORTVERSION= 2.01a5
CATEGORIES= converters
MASTER_SITES= http://www.unix.gr.jp/jnetcex/soft/\
- ${MASTER_SITE_PORTS_JP}
+ PORTS_JP
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//}
MAINTAINER= ports@FreeBSD.org
diff --git a/converters/libiconv/Makefile b/converters/libiconv/Makefile
index 78ca639..b233186 100644
--- a/converters/libiconv/Makefile
+++ b/converters/libiconv/Makefile
@@ -34,8 +34,7 @@ CONFIGURE_ARGS+= --enable-extra-encodings
.if ${PORT_OPTIONS:MPATCHES}
PATCH_SITES+= http://apolloron.org/software/libiconv-1.14-ja/
-PATCH_SITES+= ${MASTER_SITE_LOCAL}
-PATCH_SITE_SUBDIR+= kwm
+PATCH_SITES+= LOCAL/kwm
PATCHFILES+= ${DISTNAME}-ja-1.patch.gz
PATCH_DIST_STRIP+= -p1
.endif
diff --git a/converters/o3read/Makefile b/converters/o3read/Makefile
index 3173bf2..3f1e99e 100644
--- a/converters/o3read/Makefile
+++ b/converters/o3read/Makefile
@@ -5,8 +5,7 @@ PORTNAME= o3read
PORTVERSION= 0.0.4
CATEGORIES= converters
MASTER_SITES= http://siag.nu/pub/o3read/ \
- ${MASTER_SITE_GENTOO}
-MASTER_SITE_SUBDIR= distfiles
+ GENTOO
MAINTAINER= samm@os2.kiev.ua
COMMENT= Standalone converter for the OpenOffice.org writer and scalc formats
diff --git a/converters/p5-Cstools/Makefile b/converters/p5-Cstools/Makefile
index 09b4e1a..5e371b7 100644
--- a/converters/p5-Cstools/Makefile
+++ b/converters/p5-Cstools/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 3.42
PORTREVISION= 1
CATEGORIES= converters perl5
MASTER_SITES= http://www.adelton.com/perl/Cstools/ \
- CPAN
-MASTER_SITE_SUBDIR= Cz
+ CPAN/Cz
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
diff --git a/converters/p5-Encode-Detect/Makefile b/converters/p5-Encode-Detect/Makefile
index fcbed0f..0156a3d 100644
--- a/converters/p5-Encode-Detect/Makefile
+++ b/converters/p5-Encode-Detect/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 1.01
PORTREVISION= 1
CATEGORIES= converters perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Encode
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
diff --git a/converters/p5-Encode-DoubleEncodedUTF8/Makefile b/converters/p5-Encode-DoubleEncodedUTF8/Makefile
index 13fa034..4ef9b7f 100644
--- a/converters/p5-Encode-DoubleEncodedUTF8/Makefile
+++ b/converters/p5-Encode-DoubleEncodedUTF8/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 0.05
PORTREVISION= 1
CATEGORIES= converters perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Encode
PKGNAMEPREFIX= p5-
MAINTAINER= tobez@FreeBSD.org
diff --git a/converters/pdf2djvu/Makefile b/converters/pdf2djvu/Makefile
index b71be67..8bbf369 100644
--- a/converters/pdf2djvu/Makefile
+++ b/converters/pdf2djvu/Makefile
@@ -5,7 +5,7 @@ PORTNAME= pdf2djvu
PORTVERSION= 0.7.17
PORTREVISION= 4
CATEGORIES= converters
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= darcsis@gmail.com
diff --git a/converters/wkhtmltopdf/Makefile b/converters/wkhtmltopdf/Makefile
index a32636c..52ebbd5 100644
--- a/converters/wkhtmltopdf/Makefile
+++ b/converters/wkhtmltopdf/Makefile
@@ -5,8 +5,7 @@ PORTNAME= wkhtmltopdf
PORTVERSION= 0.12.2.1
PORTREVISION= 1
CATEGORIES= converters
-MASTER_SITES= SF
-MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTVERSION}
+MASTER_SITES= SF/${PORTNAME}/${PORTVERSION}
DISTNAME= wkhtmltox-${PORTVERSION}
MAINTAINER= mm@FreeBSD.org
diff --git a/databases/cassandra/Makefile b/databases/cassandra/Makefile
index 2ce352d..0c83d57 100644
--- a/databases/cassandra/Makefile
+++ b/databases/cassandra/Makefile
@@ -5,8 +5,7 @@ PORTNAME= cassandra
PORTVERSION= 1.2.18
PORTREVISION= 1
CATEGORIES= databases java
-MASTER_SITES= APACHE
-MASTER_SITE_SUBDIR= cassandra/${PORTVERSION}
+MASTER_SITES= APACHE/cassandra/${PORTVERSION}
DISTNAME= apache-cassandra-${PORTVERSION}
EXTRACT_SUFX= -bin.tar.gz
diff --git a/databases/cassandra2/Makefile b/databases/cassandra2/Makefile
index 23c11cc..b2b701b 100644
--- a/databases/cassandra2/Makefile
+++ b/databases/cassandra2/Makefile
@@ -3,8 +3,7 @@
PORTNAME= cassandra
PORTVERSION= 2.1.1
CATEGORIES= databases java
-MASTER_SITES= APACHE
-MASTER_SITE_SUBDIR= cassandra/${PORTVERSION}
+MASTER_SITES= APACHE/cassandra/${PORTVERSION}
PKGNAMESUFFIX= 2
DISTNAME= apache-cassandra-${PORTVERSION}
EXTRACT_SUFX= -bin.tar.gz
diff --git a/databases/couchdb/Makefile b/databases/couchdb/Makefile
index d12de7f..3782a7f 100644
--- a/databases/couchdb/Makefile
+++ b/databases/couchdb/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 1.6.1
PORTREVISION= 4
PORTEPOCH= 2
CATEGORIES= databases
-MASTER_SITES= ${MASTER_SITE_APACHE}
-MASTER_SITE_SUBDIR= couchdb/source/${PORTVERSION}
+MASTER_SITES= APACHE/couchdb/source/${PORTVERSION}
DISTNAME= apache-couchdb-${PORTVERSION}
MAINTAINER= olgeni@FreeBSD.org
diff --git a/databases/dbview/Makefile b/databases/dbview/Makefile
index ffffc52..53c0ca1 100644
--- a/databases/dbview/Makefile
+++ b/databases/dbview/Makefile
@@ -4,8 +4,7 @@
PORTNAME= dbview
PORTVERSION= 1.0.4
CATEGORIES= databases
-MASTER_SITES= ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR= apps/database/proprietary
+MASTER_SITES= SUNSITE/apps/database/proprietary
MAINTAINER= ports@FreeBSD.org
COMMENT= View dBase III files
diff --git a/databases/gnats4/Makefile b/databases/gnats4/Makefile
index 5f746dd..6ab8ceb 100644
--- a/databases/gnats4/Makefile
+++ b/databases/gnats4/Makefile
@@ -5,8 +5,7 @@ PORTNAME= gnats
PORTVERSION= 4.1.0
PORTREVISION= 3
CATEGORIES= databases devel
-MASTER_SITES= ${MASTER_SITE_GNU}
-MASTER_SITE_SUBDIR= gnats
+MASTER_SITES= GNU
PKGNAMESUFFIX= 4
MAINTAINER= portmaster@bsdforge.com
diff --git a/databases/isql-viewer/Makefile b/databases/isql-viewer/Makefile
index 0f18696..97d09ef 100644
--- a/databases/isql-viewer/Makefile
+++ b/databases/isql-viewer/Makefile
@@ -6,9 +6,7 @@ PORTVERSION= 2.1.8
PORTREVISION= 4
CATEGORIES= databases java
MASTER_SITES= SF/isql/Stand%20Alone%20Jars/Version%20${PORTVERSION}:isql \
- ${MASTER_SITE_APACHE:S/$/:bsf/}
-MASTER_SITE_SUBDIR= isql/:isql \
- ws/soap/version-2.2/:bsf
+ APACHE/ws/soap/version-2.2:bsf
DISTFILES= ${ISQL_JAR}:isql \
${BSF_JAR}:bsf
EXTRACT_ONLY= # none
diff --git a/databases/jdbm2/Makefile b/databases/jdbm2/Makefile
index 5bff267..bc37c82 100644
--- a/databases/jdbm2/Makefile
+++ b/databases/jdbm2/Makefile
@@ -4,7 +4,7 @@
PORTNAME= jdbm
PORTVERSION= 2.4
CATEGORIES= databases java
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
MAINTAINER= ale@FreeBSD.org
COMMENT= Fast, simple, and transactional Java persistence engine
diff --git a/databases/ldb/Makefile b/databases/ldb/Makefile
index dd161a4..c881289 100644
--- a/databases/ldb/Makefile
+++ b/databases/ldb/Makefile
@@ -5,8 +5,7 @@ PORTVERSION= 1.1.19
PORTREVISION= 1
PORTEPOCH= 0
CATEGORIES= databases
-MASTER_SITES= ${MASTER_SITE_SAMBA}
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= SAMBA
MAINTAINER= timur@FreeBSD.org
COMMENT= LDAP-like embedded database
diff --git a/databases/luadbi/Makefile b/databases/luadbi/Makefile
index a1001db..44839a0 100644
--- a/databases/luadbi/Makefile
+++ b/databases/luadbi/Makefile
@@ -5,7 +5,7 @@ PORTNAME= luadbi
PORTVERSION= 0.5
PORTREVISION= 1
CATEGORIES= databases
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
DISTNAME= ${PORTNAME}.${PORTVERSION}
MAINTAINER= olexander.v.melnyk@gmail.com
diff --git a/databases/memcached/Makefile b/databases/memcached/Makefile
index 985ed1c..e9f8f36 100644
--- a/databases/memcached/Makefile
+++ b/databases/memcached/Makefile
@@ -5,9 +5,8 @@ PORTNAME= memcached
PORTVERSION= 1.4.22
CATEGORIES= databases
MASTER_SITES= http://www.memcached.org/files/ \
- ${MASTER_SITE_GOOGLE_CODE} \
- ${MASTER_SITE_GENTOO}
-MASTER_SITE_SUBDIR= distfiles
+ GOOGLE_CODE \
+ GENTOO
MAINTAINER= swills@FreeBSD.org
COMMENT= High-performance distributed memory object cache system
diff --git a/databases/memcacheq/Makefile b/databases/memcacheq/Makefile
index 4955931..0dfa69f 100644
--- a/databases/memcacheq/Makefile
+++ b/databases/memcacheq/Makefile
@@ -5,9 +5,8 @@ PORTNAME= memcacheq
PORTVERSION= 0.2.0
PORTREVISION= 4
CATEGORIES= databases
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} \
- ${MASTER_SITE_GENTOO}
-MASTER_SITE_SUBDIR= distfiles
+MASTER_SITES= GOOGLE_CODE \
+ GENTOO
MAINTAINER= m.tsatsenko@gmail.com
COMMENT= Simple queue service over Memcache
diff --git a/databases/mysql-connector-c++/Makefile b/databases/mysql-connector-c++/Makefile
index 604a6c6..7946aee 100644
--- a/databases/mysql-connector-c++/Makefile
+++ b/databases/mysql-connector-c++/Makefile
@@ -4,8 +4,7 @@
PORTNAME= mysql-connector-c++
PORTVERSION= 1.1.5
CATEGORIES= databases
-MASTER_SITES= ${MASTER_SITE_MYSQL}
-MASTER_SITE_SUBDIR= Connector-C++
+MASTER_SITES= MYSQL/Connector-C++
MAINTAINER= ports@FreeBSD.org
COMMENT= MySQL database connector for C++
diff --git a/databases/mysql-connector-java/Makefile b/databases/mysql-connector-java/Makefile
index 3d38a62..5bdc72e 100644
--- a/databases/mysql-connector-java/Makefile
+++ b/databases/mysql-connector-java/Makefile
@@ -5,8 +5,7 @@
PORTNAME= mysql-connector-java
PORTVERSION= 5.1.35
CATEGORIES= databases java
-MASTER_SITES= ${MASTER_SITE_MYSQL}
-MASTER_SITE_SUBDIR= Connector-J
+MASTER_SITES= MYSQL/Connector-J
MAINTAINER= matthew@FreeBSD.org
COMMENT= MySQL Connector/J: JDBC interface for MySQL
diff --git a/databases/mysql-proxy/Makefile b/databases/mysql-proxy/Makefile
index eb7495a..be5aeac 100644
--- a/databases/mysql-proxy/Makefile
+++ b/databases/mysql-proxy/Makefile
@@ -5,8 +5,7 @@ PORTNAME= mysql-proxy
PORTVERSION= 0.8.4
PORTREVISION= 2
CATEGORIES= databases
-MASTER_SITES= ${MASTER_SITE_MYSQL}
-MASTER_SITE_SUBDIR= MySQL-Proxy
+MASTER_SITES= MYSQL/MySQL-Proxy
MAINTAINER= swills@FreeBSD.org
COMMENT= Monitor, analyze, or transform the communication of MySQL
diff --git a/databases/mysql-workbench51/Makefile b/databases/mysql-workbench51/Makefile
index f425bb1..fa44003 100644
--- a/databases/mysql-workbench51/Makefile
+++ b/databases/mysql-workbench51/Makefile
@@ -5,8 +5,7 @@ PORTNAME= mysql-workbench-oss
PORTVERSION= 5.1.16
PORTREVISION= 11
CATEGORIES= databases
-MASTER_SITES= ${MASTER_SITE_MYSQL}
-MASTER_SITE_SUBDIR= MySQLGUITools
+MASTER_SITES= MYSQL/MySQLGUITools
PKGNAMESUFFIX= 51
MAINTAINER= ports@FreeBSD.org
diff --git a/databases/mysql51-server/Makefile b/databases/mysql51-server/Makefile
index c026b74..ec1baa5 100644
--- a/databases/mysql51-server/Makefile
+++ b/databases/mysql51-server/Makefile
@@ -5,8 +5,7 @@ PORTNAME?= mysql
PORTVERSION= 5.1.73
PORTREVISION?= 2
CATEGORIES= databases
-MASTER_SITES= ${MASTER_SITE_MYSQL}
-MASTER_SITE_SUBDIR= MySQL-5.1
+MASTER_SITES= MYSQL/MySQL-5.1
PKGNAMESUFFIX?= 51-server
MAINTAINER= ale@FreeBSD.org
diff --git a/databases/mysql55-server/Makefile b/databases/mysql55-server/Makefile
index e1e68e6..87457a3 100644
--- a/databases/mysql55-server/Makefile
+++ b/databases/mysql55-server/Makefile
@@ -5,8 +5,7 @@ PORTNAME?= mysql
PORTVERSION= 5.5.43
PORTREVISION?= 0
CATEGORIES= databases ipv6
-MASTER_SITES= ${MASTER_SITE_MYSQL}
-MASTER_SITE_SUBDIR= MySQL-5.5
+MASTER_SITES= MYSQL/MySQL-5.5
PKGNAMESUFFIX?= 55-server
MAINTAINER= ale@FreeBSD.org
diff --git a/databases/mysql56-server/Makefile b/databases/mysql56-server/Makefile
index 859c3f4..71b559d 100644
--- a/databases/mysql56-server/Makefile
+++ b/databases/mysql56-server/Makefile
@@ -5,8 +5,7 @@ PORTNAME?= mysql
PORTVERSION= 5.6.24
PORTREVISION?= 0
CATEGORIES= databases ipv6
-MASTER_SITES= ${MASTER_SITE_MYSQL}
-MASTER_SITE_SUBDIR= MySQL-5.6
+MASTER_SITES= MYSQL/MySQL-5.6
PKGNAMESUFFIX?= 56-server
MAINTAINER= ale@FreeBSD.org
diff --git a/databases/nagios-check_postgres_replication/Makefile b/databases/nagios-check_postgres_replication/Makefile
index e14572b..9148452 100644
--- a/databases/nagios-check_postgres_replication/Makefile
+++ b/databases/nagios-check_postgres_replication/Makefile
@@ -4,8 +4,7 @@ PORTNAME= check_postgres_replication
PORTVERSION= 2010.12.16
CATEGORIES= databases python
MASTER_SITES= https://gist.github.com/raw/743942/4b9454d6aaf919fe77d15ecea09c7a001ae83b59/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= brooks
+ LOCAL/brooks
PKGNAMEPREFIX= nagios-
DISTNAME= check_postgres_replication.py
EXTRACT_SUFX=
diff --git a/databases/ntdb/Makefile b/databases/ntdb/Makefile
index aae678a..031b4bc 100644
--- a/databases/ntdb/Makefile
+++ b/databases/ntdb/Makefile
@@ -5,8 +5,7 @@ PORTVERSION= 1.0
PORTREVISION= 0
PORTEPOCH= 0
CATEGORIES= databases
-MASTER_SITES= ${MASTER_SITE_SAMBA}
-MASTER_SITE_SUBDIR= tdb
+MASTER_SITES= SAMBA/tdb
MAINTAINER= timur@FreeBSD.org
COMMENT= Not so Trivial DataBase
diff --git a/databases/openark-kit/Makefile b/databases/openark-kit/Makefile
index 204878a..8d123a5 100644
--- a/databases/openark-kit/Makefile
+++ b/databases/openark-kit/Makefile
@@ -3,7 +3,7 @@
PORTNAME= openark-kit
PORTVERSION= 196
CATEGORIES= databases
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
MAINTAINER= ports@FreeBSD.org
COMMENT= Common utilities for MySQL
diff --git a/databases/p5-Class-DBI-Pg/Makefile b/databases/p5-Class-DBI-Pg/Makefile
index 28cc8bd..f571cb3 100644
--- a/databases/p5-Class-DBI-Pg/Makefile
+++ b/databases/p5-Class-DBI-Pg/Makefile
@@ -5,8 +5,7 @@ PORTNAME= Class-DBI-Pg
PORTVERSION= 0.09
PORTREVISION= 2
CATEGORIES= databases perl5
-MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Class/DMAKI
+MASTER_SITES= CPAN/Class/DMAKI
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
diff --git a/databases/p5-DBD-InterBase/Makefile b/databases/p5-DBD-InterBase/Makefile
index e195fa0..46cc396 100644
--- a/databases/p5-DBD-InterBase/Makefile
+++ b/databases/p5-DBD-InterBase/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 0.48
PORTREVISION= 2
CATEGORIES= databases perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= DBD
PKGNAMEPREFIX= p5-
MAINTAINER= yuri@rivera.ru
diff --git a/databases/p5-DBIx-Class-InflateColumn-Authen-Passphrase/Makefile b/databases/p5-DBIx-Class-InflateColumn-Authen-Passphrase/Makefile
index 02a6158..0cb90cf 100644
--- a/databases/p5-DBIx-Class-InflateColumn-Authen-Passphrase/Makefile
+++ b/databases/p5-DBIx-Class-InflateColumn-Authen-Passphrase/Makefile
@@ -5,7 +5,6 @@ PORTVERSION= 0.01
PORTREVISION= 1
CATEGORIES= databases perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= DBIx
PKGNAMEPREFIX= p5-
MAINTAINER= fw@moov.de
diff --git a/databases/p5-DBIx-Class-PassphraseColumn/Makefile b/databases/p5-DBIx-Class-PassphraseColumn/Makefile
index 210a4a2..1826802 100644
--- a/databases/p5-DBIx-Class-PassphraseColumn/Makefile
+++ b/databases/p5-DBIx-Class-PassphraseColumn/Makefile
@@ -5,7 +5,6 @@ PORTVERSION= 0.02
PORTREVISION= 1
CATEGORIES= databases perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= DBIx
PKGNAMEPREFIX= p5-
MAINTAINER= fw@moov.de
diff --git a/databases/p5-DBIx-Class-TimeStamp/Makefile b/databases/p5-DBIx-Class-TimeStamp/Makefile
index f597969..d596cee 100644
--- a/databases/p5-DBIx-Class-TimeStamp/Makefile
+++ b/databases/p5-DBIx-Class-TimeStamp/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 0.14
PORTREVISION= 2
CATEGORIES= databases perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= DBIx
PKGNAMEPREFIX= p5-
MAINTAINER= lth@FreeBSD.org
diff --git a/databases/p5-DBIx-Ease/Makefile b/databases/p5-DBIx-Ease/Makefile
index 06ca02e..5a74025 100644
--- a/databases/p5-DBIx-Ease/Makefile
+++ b/databases/p5-DBIx-Ease/Makefile
@@ -5,10 +5,8 @@ PORTNAME= DBIx-Ease
PORTVERSION= 0.07
PORTREVISION= 1
CATEGORIES= databases perl5
-MASTER_SITES= ${MASTER_SITE_LOCAL:S/$/:local/} ${MASTER_SITE_PERL_CPAN:S/$/:cpan/}
-MASTER_SITE_SUBDIR= mat/:local DBIx/:cpan
+MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
-DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:local,cpan
MAINTAINER= perl@FreeBSD.org
COMMENT= Less-code DBI interactions for all drivers
diff --git a/databases/p5-DBIx-HA/Makefile b/databases/p5-DBIx-HA/Makefile
index e734a07..7ade825 100644
--- a/databases/p5-DBIx-HA/Makefile
+++ b/databases/p5-DBIx-HA/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 1.1
PORTREVISION= 1
CATEGORIES= databases perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= DBIx
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
diff --git a/databases/p5-DBIx-MySQLSequence/Makefile b/databases/p5-DBIx-MySQLSequence/Makefile
index 60622cb..a0f6307 100644
--- a/databases/p5-DBIx-MySQLSequence/Makefile
+++ b/databases/p5-DBIx-MySQLSequence/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 1.04
PORTREVISION= 1
CATEGORIES= databases perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= DBIx
PKGNAMEPREFIX= p5-
MAINTAINER= lth@FreeBSD.org
diff --git a/databases/p5-MongoDB/Makefile b/databases/p5-MongoDB/Makefile
index 30b0314..9eacf23 100644
--- a/databases/p5-MongoDB/Makefile
+++ b/databases/p5-MongoDB/Makefile
@@ -3,11 +3,11 @@
PORTNAME= MongoDB
PORTVERSION= 0.708.1.0
+DISTVERSIONPREFIX= v
CATEGORIES= databases perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:MONGODB
PKGNAMEPREFIX= p5-
-DISTNAME= ${PORTNAME}-v${PORTVERSION}
MAINTAINER= perl@FreeBSD.org
COMMENT= Mongo Driver for Perl
diff --git a/databases/p5-Oryx/Makefile b/databases/p5-Oryx/Makefile
index d17a66c..996a2c2 100644
--- a/databases/p5-Oryx/Makefile
+++ b/databases/p5-Oryx/Makefile
@@ -5,8 +5,7 @@ PORTNAME= Oryx
PORTVERSION= 0.24
PORTREVISION= 2
CATEGORIES= databases perl5
-MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= XML/RHUNDT
+MASTER_SITES= CPAN/XML/RHUNDT
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
diff --git a/databases/p5-Pg/Makefile b/databases/p5-Pg/Makefile
index af57fc5..dbef467 100644
--- a/databases/p5-Pg/Makefile
+++ b/databases/p5-Pg/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 2.1.1
PORTREVISION= 4
PORTEPOCH= 1
CATEGORIES= databases perl5
-MASTER_SITES= ${MASTER_SITE_PGSQL}
-MASTER_SITE_SUBDIR= projects/gborg/pgperl/stable
+MASTER_SITES= PGSQL/projects/gborg/pgperl/stable
PKGNAMEPREFIX= p5-
DIST_SUBDIR= postgresql
diff --git a/databases/p5-RRD-Simple/Makefile b/databases/p5-RRD-Simple/Makefile
index 5d31dcd..f661e6f 100644
--- a/databases/p5-RRD-Simple/Makefile
+++ b/databases/p5-RRD-Simple/Makefile
@@ -5,8 +5,7 @@ PORTNAME= RRD-Simple
PORTVERSION= 1.44
PORTREVISION= 6
CATEGORIES= databases perl5
-MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Proc/NICOLAW
+MASTER_SITES= CPAN/Proc/NICOLAW
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
diff --git a/databases/p5-Rose-DBx-Object-MoreHelpers/Makefile b/databases/p5-Rose-DBx-Object-MoreHelpers/Makefile
index b436631..f04dba8 100644
--- a/databases/p5-Rose-DBx-Object-MoreHelpers/Makefile
+++ b/databases/p5-Rose-DBx-Object-MoreHelpers/Makefile
@@ -5,8 +5,7 @@ PORTNAME= Rose-DBx-Object-MoreHelpers
PORTVERSION= 0.100
PORTREVISION= 1
CATEGORIES= databases perl5
-MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Rose/KARMAN
+MASTER_SITES= CPAN/Rose/KARMAN
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
diff --git a/databases/p5-TokyoCabinet/Makefile b/databases/p5-TokyoCabinet/Makefile
index b8e1d79..7c6c027 100644
--- a/databases/p5-TokyoCabinet/Makefile
+++ b/databases/p5-TokyoCabinet/Makefile
@@ -4,9 +4,8 @@ PORTNAME= TokyoCabinet
PORTVERSION= 1.34
PORTREVISION= 1
CATEGORIES= databases perl5
-MASTER_SITES= ${MASTER_SITE_LOCAL} \
+MASTER_SITES= LOCAL/kuriyama \
http://fallabs.com/tokyocabinet/perlpkg/
-MASTER_SITE_SUBDIR= kuriyama
PKGNAMEPREFIX= p5-
DISTNAME= tokyocabinet-perl-${PORTVERSION}
diff --git a/databases/pgadmin3/Makefile b/databases/pgadmin3/Makefile
index 067fd45..30257da 100644
--- a/databases/pgadmin3/Makefile
+++ b/databases/pgadmin3/Makefile
@@ -5,8 +5,7 @@ PORTNAME= pgadmin3
PORTVERSION= 1.18.1
PORTREVISION= 2
CATEGORIES= databases
-MASTER_SITES= PGSQL
-MASTER_SITE_SUBDIR= pgadmin3/release/v${PORTVERSION}/src
+MASTER_SITES= PGSQL/pgadmin3/release/v${PORTVERSION}/src
DIST_SUBDIR= postgresql
MAINTAINER= fjoe@FreeBSD.org
diff --git a/databases/pgagent/Makefile b/databases/pgagent/Makefile
index 1d3bf2e..9ecedc2 100644
--- a/databases/pgagent/Makefile
+++ b/databases/pgagent/Makefile
@@ -5,8 +5,7 @@ PORTNAME= pgagent
PORTVERSION= 3.4.0
PORTREVISION= 0
CATEGORIES= databases
-MASTER_SITES= ${MASTER_SITE_PGSQL}
-MASTER_SITE_SUBDIR= pgadmin3/release/pgagent
+MASTER_SITES= PGSQL/pgadmin3/release/pgagent
DISTNAME= pgAgent-${PORTVERSION}-Source
MAINTAINER= fjoe@FreeBSD.org
diff --git a/databases/pgbadger/Makefile b/databases/pgbadger/Makefile
index 2b0ac44..c93c627 100644
--- a/databases/pgbadger/Makefile
+++ b/databases/pgbadger/Makefile
@@ -5,8 +5,7 @@ PORTNAME= pgbadger
PORTVERSION= 6.2
PORTREVISION= 1
CATEGORIES= databases
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR=${PORTNAME}/${PORTVERSION}
+MASTER_SITES= SF/${PORTNAME}/${PORTVERSION}
MAINTAINER= girgen@FreeBSD.org
COMMENT= Very competent log analyzer for PostgreSQL
diff --git a/databases/pgtcl/Makefile b/databases/pgtcl/Makefile
index 335a513..fb21096 100644
--- a/databases/pgtcl/Makefile
+++ b/databases/pgtcl/Makefile
@@ -5,10 +5,10 @@ PORTNAME= pgtcl
PORTVERSION= 2.0.0
PORTREVISION= 1
CATEGORIES= databases tcl
-MASTER_SITES= SF/pgtclng/pgtclng/${PORTVERSION}:src
-MASTER_SITE_SUBDIR= pgtclng
+MASTER_SITES= SF/pgtclng/pgtclng/${PORTVERSION}
DISTNAME= ${PORTNAME}${PORTVERSION}
-DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:src
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
+EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= mi@aldan.algebra.com
COMMENT= TCL extension for accessing a PostgreSQL server (PGTCL-NG)
@@ -33,7 +33,6 @@ MANUALREL= 20110918
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
-EXTRACT_ONLY= ${_DISTFILES:M*tar.gz}
DISTFILES+= pgtcldocs-${MANUALREL}.zip:doc
MASTER_SITES+= SF/pgtclng/Manual/${MANUALREL}:doc
.endif
diff --git a/databases/postgresql-libpgeasy/Makefile b/databases/postgresql-libpgeasy/Makefile
index 25135cc..bcda0ba 100644
--- a/databases/postgresql-libpgeasy/Makefile
+++ b/databases/postgresql-libpgeasy/Makefile
@@ -6,8 +6,7 @@ PORTNAME= libpgeasy
PORTVERSION= 3.0.4
PORTREVISION= 1
CATEGORIES= databases
-MASTER_SITES= ${MASTER_SITE_PGSQL}
-MASTER_SITE_SUBDIR= projects/gborg/pgeasy/stable
+MASTER_SITES= PGSQL/projects/gborg/pgeasy/stable
DIST_SUBDIR= postgresql
MAINTAINER= pgsql@FreeBSD.org
diff --git a/databases/postgresql84-server/Makefile b/databases/postgresql84-server/Makefile
index c984f29..21e1d13 100644
--- a/databases/postgresql84-server/Makefile
+++ b/databases/postgresql84-server/Makefile
@@ -5,8 +5,7 @@ PORTNAME?= postgresql
DISTVERSION?= 8.4.22
PORTREVISION?= 1
CATEGORIES?= databases
-MASTER_SITES= PGSQL
-MASTER_SITE_SUBDIR= source/v${DISTVERSION}
+MASTER_SITES= PGSQL/source/v${DISTVERSION}
PKGNAMESUFFIX?= ${DISTVERSION:R:S/.//}${COMPONENT}
MAINTAINER?= pgsql@FreeBSD.org
diff --git a/databases/postgresql91-server/Makefile b/databases/postgresql91-server/Makefile
index 858ec22..f0d9e54 100644
--- a/databases/postgresql91-server/Makefile
+++ b/databases/postgresql91-server/Makefile
@@ -5,8 +5,7 @@ PORTNAME?= postgresql
DISTVERSION?= 9.1.15
PORTREVISION?= 0
CATEGORIES?= databases
-MASTER_SITES= PGSQL
-MASTER_SITE_SUBDIR= source/v${DISTVERSION}
+MASTER_SITES= PGSQL/source/v${DISTVERSION}
PKGNAMESUFFIX?= ${DISTVERSION:R:S/.//}${COMPONENT}
MAINTAINER?= pgsql@FreeBSD.org
diff --git a/databases/postgresql92-server/Makefile b/databases/postgresql92-server/Makefile
index ed3c9c6..eb90bca 100644
--- a/databases/postgresql92-server/Makefile
+++ b/databases/postgresql92-server/Makefile
@@ -5,8 +5,7 @@ PORTNAME?= postgresql
DISTVERSION?= 9.2.10
PORTREVISION?= 0
CATEGORIES?= databases
-MASTER_SITES= PGSQL
-MASTER_SITE_SUBDIR= source/v${DISTVERSION}
+MASTER_SITES= PGSQL/source/v${DISTVERSION}
PKGNAMESUFFIX?= ${DISTVERSION:R:S/.//}${COMPONENT}
MAINTAINER?= pgsql@FreeBSD.org
diff --git a/databases/py-apsw/Makefile b/databases/py-apsw/Makefile
index 03ef918..909e014 100644
--- a/databases/py-apsw/Makefile
+++ b/databases/py-apsw/Makefile
@@ -3,11 +3,11 @@
PORTNAME= apsw
PORTVERSION= 3.8.0.2
+DISTVERSIONSUFFIX= -r1
PORTREVISION= 1
CATEGORIES= databases python
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-DISTNAME= ${PORTNAME}-${PORTVERSION}-r1
MAINTAINER= rnejdl@ringofsaturn.com
COMMENT= APSW stands for Another Python SQLite Wrapper
diff --git a/databases/py-bsddb/Makefile b/databases/py-bsddb/Makefile
index ef4188f..ad7a61e 100644
--- a/databases/py-bsddb/Makefile
+++ b/databases/py-bsddb/Makefile
@@ -5,8 +5,7 @@ PORTNAME= bsddb
PORTVERSION= ${PYTHON_PORTVERSION}
PORTREVISION= 5
CATEGORIES= databases python
-MASTER_SITES= PYTHON
-MASTER_SITE_SUBDIR= ftp/python/${PORTVERSION}
+MASTER_SITES= PYTHON/ftp/python/${PORTVERSION}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= Python-${PORTVERSION}
diff --git a/databases/py-gdbm/Makefile b/databases/py-gdbm/Makefile
index 2187b1b..eeb9e61 100644
--- a/databases/py-gdbm/Makefile
+++ b/databases/py-gdbm/Makefile
@@ -5,8 +5,7 @@ PORTNAME= gdbm
PORTVERSION= ${PYTHON_PORTVERSION}
PORTREVISION= 3
CATEGORIES= databases python
-MASTER_SITES= PYTHON
-MASTER_SITE_SUBDIR= ftp/python/${PORTVERSION}
+MASTER_SITES= PYTHON/ftp/python/${PORTVERSION}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= Python-${PORTVERSION}
diff --git a/databases/py-mysql-connector-python/Makefile b/databases/py-mysql-connector-python/Makefile
index 3ce2379..a4d1f92 100644
--- a/databases/py-mysql-connector-python/Makefile
+++ b/databases/py-mysql-connector-python/Makefile
@@ -3,8 +3,7 @@
PORTNAME= mysql-connector-python
PORTVERSION= 1.2.3
CATEGORIES= databases python
-MASTER_SITES= ${MASTER_SITE_MYSQL}
-MASTER_SITE_SUBDIR= Connector-Python
+MASTER_SITES= MYSQL/Connector-Python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= bofh@FreeBSD.org
diff --git a/databases/py-mysql-connector-python2/Makefile b/databases/py-mysql-connector-python2/Makefile
index 92e49c2..1e37e4c 100644
--- a/databases/py-mysql-connector-python2/Makefile
+++ b/databases/py-mysql-connector-python2/Makefile
@@ -4,8 +4,7 @@
PORTNAME= mysql-connector-python
PORTVERSION= 2.0.3
CATEGORIES= databases python
-MASTER_SITES= ${MASTER_SITE_MYSQL}
-MASTER_SITE_SUBDIR= Connector-Python
+MASTER_SITES= MYSQL/Connector-Python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
PKGNAMESUFFIX= 2
diff --git a/databases/py-sqlalchemy-migrate/Makefile b/databases/py-sqlalchemy-migrate/Makefile
index 3343369..64c1109 100644
--- a/databases/py-sqlalchemy-migrate/Makefile
+++ b/databases/py-sqlalchemy-migrate/Makefile
@@ -5,7 +5,7 @@ PORTNAME= sqlalchemy-migrate
PORTVERSION= 0.7.2
PORTREVISION= 1
CATEGORIES= databases python
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= lwhsu@FreeBSD.org
diff --git a/databases/py-sqlite3/Makefile b/databases/py-sqlite3/Makefile
index ca1535c..e6fb955 100644
--- a/databases/py-sqlite3/Makefile
+++ b/databases/py-sqlite3/Makefile
@@ -5,8 +5,7 @@ PORTNAME= sqlite3
PORTVERSION= ${PYTHON_PORTVERSION}
PORTREVISION= 6
CATEGORIES= databases python
-MASTER_SITES= PYTHON
-MASTER_SITE_SUBDIR= ftp/python/${PORTVERSION}
+MASTER_SITES= PYTHON/ftp/python/${PORTVERSION}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= Python-${PORTVERSION}
DIST_SUBDIR= python
diff --git a/databases/soci/Makefile b/databases/soci/Makefile
index 4151e74..6fc7bdb 100644
--- a/databases/soci/Makefile
+++ b/databases/soci/Makefile
@@ -5,8 +5,7 @@ PORTNAME= soci
PORTVERSION= 3.2.2
PORTREVISION= 1
CATEGORIES= databases
-MASTER_SITES= SF
-MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
+MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= jlaffaye@FreeBSD.org
COMMENT= The C++ Database Access Library
diff --git a/databases/sqlclient/Makefile b/databases/sqlclient/Makefile
index 6b7db35..876244a 100644
--- a/databases/sqlclient/Makefile
+++ b/databases/sqlclient/Makefile
@@ -4,8 +4,7 @@ PORTNAME= sqlclient
PORTVERSION= 1.7.0
PORTREVISION= 2
CATEGORIES= databases gnustep
-MASTER_SITES= ${MASTER_SITE_GNUSTEP}
-MASTER_SITE_SUBDIR= libs
+MASTER_SITES= GNUSTEP/libs
DISTNAME= SQLClient-${PORTVERSION}
MAINTAINER= theraven@FreeBSD.org
diff --git a/databases/tdb/Makefile b/databases/tdb/Makefile
index 1683a18..3590806 100644
--- a/databases/tdb/Makefile
+++ b/databases/tdb/Makefile
@@ -5,8 +5,7 @@ PORTVERSION= 1.3.4
PORTREVISION= 0
PORTEPOCH= 1
CATEGORIES= databases
-MASTER_SITES= ${MASTER_SITE_SAMBA}
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= SAMBA
MAINTAINER= timur@FreeBSD.org
COMMENT= Trivial Database
diff --git a/deskutils/cal/Makefile b/deskutils/cal/Makefile
index 5efd990..72a8979 100644
--- a/deskutils/cal/Makefile
+++ b/deskutils/cal/Makefile
@@ -5,8 +5,7 @@ PORTNAME= cal
PORTVERSION= 3.5
PORTREVISION= 1
CATEGORIES= deskutils
-MASTER_SITES= ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR= utils/shell
+MASTER_SITES= SUNSITE/utils/shell
MAINTAINER= sanpei@FreeBSD.org
COMMENT= Enhanced color version of standard calendar utility
diff --git a/deskutils/cartotheque/Makefile b/deskutils/cartotheque/Makefile
index 4b94407..993296e 100644
--- a/deskutils/cartotheque/Makefile
+++ b/deskutils/cartotheque/Makefile
@@ -4,8 +4,7 @@ PORTNAME= cartotheque
PORTVERSION= 0.1
PORTREVISION= 4
CATEGORIES= deskutils gnustep
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR=dinoex
+MASTER_SITES= LOCAL/dinoex
DISTNAME= Cartotheque-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
diff --git a/deskutils/charmap/Makefile b/deskutils/charmap/Makefile
index 2a39b69..a2feb61 100644
--- a/deskutils/charmap/Makefile
+++ b/deskutils/charmap/Makefile
@@ -5,8 +5,7 @@ PORTNAME= charmap
PORTVERSION= 0.2
PORTREVISION= 4
CATEGORIES= deskutils gnustep
-MASTER_SITES= ${MASTER_SITE_SAVANNAH}
-MASTER_SITE_SUBDIR= charmap
+MASTER_SITES= SAVANNAH
MAINTAINER= ports@FreeBSD.org
COMMENT= Character map for GNUstep
diff --git a/deskutils/dlume/Makefile b/deskutils/dlume/Makefile
index 678550e..df586c4 100644
--- a/deskutils/dlume/Makefile
+++ b/deskutils/dlume/Makefile
@@ -5,7 +5,7 @@ PORTNAME= dlume
PORTVERSION= 0.2.4
PORTREVISION= 12
CATEGORIES= deskutils gnome
-MASTER_SITES= ${MASTER_SITE_TUCOWS}
+MASTER_SITES= TUCOWS
MAINTAINER= ports@FreeBSD.org
COMMENT= GTK2 address book
diff --git a/deskutils/gnustep-wrapper/Makefile b/deskutils/gnustep-wrapper/Makefile
index 7a08727..6f4638c 100644
--- a/deskutils/gnustep-wrapper/Makefile
+++ b/deskutils/gnustep-wrapper/Makefile
@@ -5,8 +5,7 @@ PORTVERSION= 0.1.0
PORTREVISION= 4
CATEGORIES= deskutils gnustep
#MASTER_SITES= ftp://ftp.raffael.ch/software/GNUstepWrapper/
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= dinoex
+MASTER_SITES= LOCAL/dinoex
PKGNAMEPREFIX= gnustep-
DISTNAME= GNUstepWrapper-${PORTVERSION}
diff --git a/deskutils/gworkspace-gwmetadata/Makefile b/deskutils/gworkspace-gwmetadata/Makefile
index 389d226..fa7a122 100644
--- a/deskutils/gworkspace-gwmetadata/Makefile
+++ b/deskutils/gworkspace-gwmetadata/Makefile
@@ -5,8 +5,7 @@ PORTVERSION= 0.9.2
PORTREVISION= 4
CATEGORIES= deskutils gnustep
#MASTER_SITES= http://www.gnustep.it/enrico/gworkspace/
-MASTER_SITES= ${MASTER_SITE_GNUSTEP}
-MASTER_SITE_SUBDIR= usr-apps
+MASTER_SITES= GNUSTEP/usr-apps
PKGNAMESUFFIX= -gwmetadata${PKGNAMESUFFIX2}
MAINTAINER= theraven@FreeBSD.org
diff --git a/deskutils/gworkspace/Makefile b/deskutils/gworkspace/Makefile
index 3692aae..53f9c51 100644
--- a/deskutils/gworkspace/Makefile
+++ b/deskutils/gworkspace/Makefile
@@ -5,8 +5,7 @@ PORTVERSION= 0.9.2
PORTREVISION= 2
CATEGORIES= deskutils gnustep
#MASTER_SITES= http://www.gnustep.it/enrico/gworkspace/
-MASTER_SITES= ${MASTER_SITE_GNUSTEP}
-MASTER_SITE_SUBDIR= usr-apps
+MASTER_SITES= GNUSTEP/usr-apps
MAINTAINER= theraven@FreeBSD.org
COMMENT= GNUstep workspace manager
diff --git a/deskutils/hot-babe/Makefile b/deskutils/hot-babe/Makefile
index bf52d81..dfea5b5 100644
--- a/deskutils/hot-babe/Makefile
+++ b/deskutils/hot-babe/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 0.2.2
PORTREVISION= 8
CATEGORIES= deskutils
MASTER_SITES= http://dindinx.net/hotbabe/downloads/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= novel
+ LOCAL/novel
MAINTAINER= novel@FreeBSD.org
COMMENT= Small utility which displays the system activity in a special way
diff --git a/deskutils/libgcal/Makefile b/deskutils/libgcal/Makefile
index 77b23f4..3d86c54 100644
--- a/deskutils/libgcal/Makefile
+++ b/deskutils/libgcal/Makefile
@@ -5,7 +5,7 @@ PORTNAME= libgcal
PORTVERSION= 0.9.6
PORTREVISION= 2
CATEGORIES= deskutils
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
MAINTAINER= ports@FreeBSD.org
COMMENT= Library allowing communication with Google calendar and contacts
diff --git a/deskutils/libopensync-plugin-vformat-devel/Makefile b/deskutils/libopensync-plugin-vformat-devel/Makefile
index 7031649..d8f5aaf 100644
--- a/deskutils/libopensync-plugin-vformat-devel/Makefile
+++ b/deskutils/libopensync-plugin-vformat-devel/Makefile
@@ -5,8 +5,7 @@ PORTNAME= libopensync-plugin-vformat
PORTVERSION= 0.39
CATEGORIES= deskutils
MASTER_SITES= http://www.opensync.org/download/releases/${PORTVERSION}/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= danilo
+ LOCAL/danilo
PKGNAMESUFFIX= -devel
MAINTAINER= danilo@FreeBSD.org
diff --git a/deskutils/mrundlg/Makefile b/deskutils/mrundlg/Makefile
index c508e77..929173a 100644
--- a/deskutils/mrundlg/Makefile
+++ b/deskutils/mrundlg/Makefile
@@ -6,7 +6,7 @@ PORTVERSION= 1.0
PORTREVISION= 3
CATEGORIES= deskutils
# MASTER_SITES= http://matt.sixxgate.com/files/
-MASTER_SITES= ${MASTER_SITE_FREEBSD}
+MASTER_SITES= FREEBSD
MAINTAINER= sixxgate@hotmail.com
COMMENT= Application / program launcher for Motif
diff --git a/deskutils/osynctool/Makefile b/deskutils/osynctool/Makefile
index 7d82c7b..ce66058 100644
--- a/deskutils/osynctool/Makefile
+++ b/deskutils/osynctool/Makefile
@@ -5,8 +5,7 @@ PORTNAME= osynctool
PORTVERSION= 0.39
CATEGORIES= deskutils
MASTER_SITES= http://www.opensync.org/download/releases/${PORTVERSION}/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= danilo
+ LOCAL/danilo
MAINTAINER= danilo@FreeBSD.org
COMMENT= Command line client for the OpenSync framework
diff --git a/deskutils/plan/Makefile b/deskutils/plan/Makefile
index 137fa20..0332f92 100644
--- a/deskutils/plan/Makefile
+++ b/deskutils/plan/Makefile
@@ -7,7 +7,6 @@ PORTNAME= plan
PORTVERSION= 1.10.1
CATEGORIES+= deskutils
MASTER_SITES= ftp://plan.ftp.fu-berlin.de/
-MASTER_SITE_SUBDIR= applications
MAINTAINER= ports@FreeBSD.org
COMMENT= X/Motif schedule planner with calendar
diff --git a/deskutils/plasma-applet-playwolf/Makefile b/deskutils/plasma-applet-playwolf/Makefile
index d62cd04..4c15710 100644
--- a/deskutils/plasma-applet-playwolf/Makefile
+++ b/deskutils/plasma-applet-playwolf/Makefile
@@ -4,7 +4,7 @@ PORTNAME= playwolf
PORTVERSION= 0.8.1
PORTREVISION= 6
CATEGORIES= deskutils kde
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
PKGNAMEPREFIX= plasma-applet-
MAINTAINER= jhale@FreeBSD.org
diff --git a/deskutils/plopfolio/Makefile b/deskutils/plopfolio/Makefile
index a9acc5f..d7e72b6 100644
--- a/deskutils/plopfolio/Makefile
+++ b/deskutils/plopfolio/Makefile
@@ -4,8 +4,7 @@ PORTNAME= plopfolio
PORTVERSION= 0.1.0
PORTREVISION= 4
CATEGORIES= deskutils gnustep
-MASTER_SITES= ${MASTER_SITE_GNUSTEP}
-MASTER_SITE_SUBDIR= usr-apps
+MASTER_SITES= GNUSTEP/usr-apps
MAINTAINER= ports@FreeBSD.org
COMMENT= Free clone of KlipFolio for GNUstep
diff --git a/deskutils/rednotebook/Makefile b/deskutils/rednotebook/Makefile
index bb225e7..97cdeff 100644
--- a/deskutils/rednotebook/Makefile
+++ b/deskutils/rednotebook/Makefile
@@ -4,8 +4,7 @@
PORTNAME= rednotebook
PORTVERSION= 1.9.0
CATEGORIES= deskutils python
-MASTER_SITES= SF
-MASTER_SITE_SUBDIR= rednotebook
+MASTER_SITES= SF/rednotebook
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= cheunghonyu@gmail.com
diff --git a/deskutils/sliderule/Makefile b/deskutils/sliderule/Makefile
index 5941761..b12d461 100644
--- a/deskutils/sliderule/Makefile
+++ b/deskutils/sliderule/Makefile
@@ -5,8 +5,7 @@ PORTNAME= sliderule
PORTVERSION= 1.0
PORTREVISION= 2
CATEGORIES= deskutils
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= joerg
+MASTER_SITES= LOCAL/joerg
DISTNAME= ${PORTNAME}
MAINTAINER= joerg@FreeBSD.org
diff --git a/deskutils/sugarcrm/Makefile b/deskutils/sugarcrm/Makefile
index 8eeac74..a5d0100 100644
--- a/deskutils/sugarcrm/Makefile
+++ b/deskutils/sugarcrm/Makefile
@@ -4,8 +4,7 @@
PORTNAME= sugarcrm
PORTVERSION= 6.5.20
CATEGORIES= deskutils www
-MASTER_SITES= SF
-MASTER_SITE_SUBDIR= ${PORTNAME}/1%20-%20SugarCRM%206.5.X/SugarCommunityEdition-6.5.X
+MASTER_SITES= SF/${PORTNAME}/1%20-%20SugarCRM%206.5.X/SugarCommunityEdition-6.5.X
DISTNAME= SugarCE-${PORTVERSION}
MAINTAINER= wen@FreeBSD.org
diff --git a/deskutils/systempreferences/Makefile b/deskutils/systempreferences/Makefile
index d198609..8b443b5 100644
--- a/deskutils/systempreferences/Makefile
+++ b/deskutils/systempreferences/Makefile
@@ -4,8 +4,7 @@ PORTNAME= systempreferences
PORTVERSION= 1.2.0
PORTREVISION= 3
CATEGORIES= deskutils gnustep
-MASTER_SITES= ${MASTER_SITE_GNUSTEP}
-MASTER_SITE_SUBDIR=usr-apps
+MASTER_SITES= GNUSTEP/usr-apps
DISTNAME= SystemPreferences-${PORTVERSION}
MAINTAINER= theraven@FreeBSD.org
diff --git a/deskutils/treeline/Makefile b/deskutils/treeline/Makefile
index e9ed248..98ce95e 100644
--- a/deskutils/treeline/Makefile
+++ b/deskutils/treeline/Makefile
@@ -8,7 +8,6 @@ CATEGORIES= deskutils python
MASTER_SITES= SF/${PORTNAME}/${PORTVERSION}/:treeline \
http://treeline.bellz.org/plugins/:plugins \
http://depot.fsck.ch/mirror/distfiles/:treeline,plugins
-MASTER_SITE_SUBDIR=treeline/:treeline
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:treeline
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
diff --git a/deskutils/tuxcards/Makefile b/deskutils/tuxcards/Makefile
index 4a90f0a..457bdac 100644
--- a/deskutils/tuxcards/Makefile
+++ b/deskutils/tuxcards/Makefile
@@ -5,8 +5,7 @@ PORTNAME= tuxcards
PORTVERSION= 2.2.1
PORTREVISION= 1
CATEGORIES= deskutils
-MASTER_SITES= http://www.tuxcards.de/src/%SUBDIR%/
-MASTER_SITE_SUBDIR= ${PORTNAME}-${PORTVERSION}
+MASTER_SITES= http://www.tuxcards.de/src/${PORTNAME}-${PORTVERSION}/
MAINTAINER= johans@FreeBSD.org
COMMENT= Tool for managing notes within a hierarchical tree
diff --git a/deskutils/vboxgtk/Makefile b/deskutils/vboxgtk/Makefile
index 2f58445..37432b1 100644
--- a/deskutils/vboxgtk/Makefile
+++ b/deskutils/vboxgtk/Makefile
@@ -5,7 +5,7 @@ PORTNAME= vboxgtk
PORTVERSION= 0.8.2
PORTREVISION= 1
CATEGORIES= deskutils emulators gnome
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
MAINTAINER= ports@FreeBSD.org
COMMENT= GTK frontend for VirtualBox
diff --git a/deskutils/vnc2flv/Makefile b/deskutils/vnc2flv/Makefile
index 5174a55..333917f 100644
--- a/deskutils/vnc2flv/Makefile
+++ b/deskutils/vnc2flv/Makefile
@@ -5,7 +5,6 @@ PORTVERSION= 20100207
PORTREVISION= 1
CATEGORIES= deskutils multimedia www python
MASTER_SITES= CHEESESHOP
-MASTER_SITE_SUBDIR= source/v/${PORTNAME}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= ports@FreeBSD.org
diff --git a/deskutils/wmpinboard/Makefile b/deskutils/wmpinboard/Makefile
index 8db734c..40317ed 100644
--- a/deskutils/wmpinboard/Makefile
+++ b/deskutils/wmpinboard/Makefile
@@ -5,7 +5,7 @@ PORTNAME= wmpinboard
PORTVERSION= 1.0
PORTREVISION= 5
CATEGORIES= deskutils afterstep windowmaker
-MASTER_SITES= ${MASTER_SITE_DEBIAN_POOL}
+MASTER_SITES= DEBIAN_POOL
DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
MAINTAINER= t.kempka@web.de
diff --git a/deskutils/xcalendar/Makefile b/deskutils/xcalendar/Makefile
index 8d20db8..ddd0ecb 100644
--- a/deskutils/xcalendar/Makefile
+++ b/deskutils/xcalendar/Makefile
@@ -5,7 +5,7 @@ PORTNAME= xcalendar
PORTVERSION= 4.0.2008
PORTREVISION= 2
CATEGORIES= deskutils
-MASTER_SITES= ${MASTER_SITE_PORTS_JP}
+MASTER_SITES= PORTS_JP
DISTNAME= ${PORTNAME}-4.0+i18n
MAINTAINER= sarumaru@jp.FreeBSD.org
diff --git a/deskutils/xfce4-notifyd/Makefile b/deskutils/xfce4-notifyd/Makefile
index 9e6a987..978d283 100644
--- a/deskutils/xfce4-notifyd/Makefile
+++ b/deskutils/xfce4-notifyd/Makefile
@@ -5,8 +5,7 @@ PORTNAME= xfce4-notifyd
PORTVERSION= 0.2.4
PORTREVISION= 1
CATEGORIES= deskutils xfce
-MASTER_SITES= XFCE
-MASTER_SITE_SUBDIR= src/apps/${PORTNAME}/${PORTVERSION:R}
+MASTER_SITES= XFCE/src/apps/${PORTNAME}/${PORTVERSION:R}
DIST_SUBDIR= xfce4
MAINTAINER= ehaupt@FreeBSD.org
diff --git a/deskutils/xfce4-volumed/Makefile b/deskutils/xfce4-volumed/Makefile
index 3cca6e4..2d1cf79 100644
--- a/deskutils/xfce4-volumed/Makefile
+++ b/deskutils/xfce4-volumed/Makefile
@@ -5,8 +5,7 @@ PORTNAME= xfce4-volumed
PORTVERSION= 0.1.13
PORTREVISION= 2
CATEGORIES= deskutils xfce
-MASTER_SITES= XFCE
-MASTER_SITE_SUBDIR= src/apps/${PORTNAME}/${PORTVERSION:R}
+MASTER_SITES= XFCE/src/apps/${PORTNAME}/${PORTVERSION:R}
DIST_SUBDIR= xfce4
MAINTAINER= sergey.dyatko@gmail.com
diff --git a/deskutils/xmaddressbook/Makefile b/deskutils/xmaddressbook/Makefile
index 0412cde..118d0d9 100644
--- a/deskutils/xmaddressbook/Makefile
+++ b/deskutils/xmaddressbook/Makefile
@@ -5,8 +5,7 @@ PORTNAME= xmaddressbook
PORTVERSION= 1.5.3
PORTREVISION= 3
CATEGORIES= deskutils
-MASTER_SITES= ${MASTER_SITE_XCONTRIB}
-MASTER_SITE_SUBDIR= office
+MASTER_SITES= XCONTRIB/office
MAINTAINER= ports@FreeBSD.org
COMMENT= X11/Motif-based addressbook program
diff --git a/deskutils/xpostitPlus/Makefile b/deskutils/xpostitPlus/Makefile
index cf9efdb..a97b2ce 100644
--- a/deskutils/xpostitPlus/Makefile
+++ b/deskutils/xpostitPlus/Makefile
@@ -5,8 +5,7 @@ PORTNAME= XPostitPlus
PORTVERSION= 2.3
PORTREVISION= 3
CATEGORIES= deskutils
-MASTER_SITES= ${MASTER_SITE_XCONTRIB}
-MASTER_SITE_SUBDIR= office
+MASTER_SITES= XCONTRIB/office
MAINTAINER= ports2@dclg.ca
COMMENT= PostIt (R) messages onto your X11 screen
diff --git a/devel/ElectricFence/Makefile b/devel/ElectricFence/Makefile
index 2b24225..c39d3a8 100644
--- a/devel/ElectricFence/Makefile
+++ b/devel/ElectricFence/Makefile
@@ -5,8 +5,7 @@ PORTNAME= electricfence
PORTVERSION= 2.2.2
PORTREVISION= 2
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_PACKETSTORM}
-MASTER_SITE_SUBDIR= UNIX/misc
+MASTER_SITES= PACKETSTORM/UNIX/misc
DISTNAME= ElectricFence-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
diff --git a/devel/adabooch/Makefile b/devel/adabooch/Makefile
index c3ddfac..f90fe0c 100644
--- a/devel/adabooch/Makefile
+++ b/devel/adabooch/Makefile
@@ -5,8 +5,7 @@ PORTNAME= adabooch
PORTVERSION= 20130322
PORTREVISION= 1
CATEGORIES= devel
-MASTER_SITES= SF
-MASTER_SITE_SUBDIR= booch95/booch95/${PORTVERSION}
+MASTER_SITES= SF/booch95/booch95/${PORTVERSION}
DISTNAME= bc-${PORTVERSION}
MAINTAINER= marino@FreeBSD.org
diff --git a/devel/ahven/Makefile b/devel/ahven/Makefile
index 35bba8b..a70a8de 100644
--- a/devel/ahven/Makefile
+++ b/devel/ahven/Makefile
@@ -5,8 +5,7 @@ PORTNAME= ahven
PORTVERSION= 2.4
PORTREVISION= 4
CATEGORIES= devel
-MASTER_SITES= SF
-MASTER_SITE_SUBDIR=${PORTNAME}/${PORTNAME}/Ahven%20${PORTVERSION}
+MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/Ahven%20${PORTVERSION}
MAINTAINER= marino@FreeBSD.org
COMMENT= Ada unit test framework
diff --git a/devel/apache-ant/Makefile b/devel/apache-ant/Makefile
index bddf509..178aa20 100644
--- a/devel/apache-ant/Makefile
+++ b/devel/apache-ant/Makefile
@@ -32,7 +32,7 @@ READMES= LICENSE README WHATSNEW
.if ${PORT_OPTIONS:MDOCS}
DISTFILES+= ${PORTNAME}-${PORTVERSION}-manual.tar.bz2:doc
-MASTER_SITES+= ${MASTER_SITE_APACHE:S,%SUBDIR%/,ant/manual/:doc,}
+MASTER_SITES+= APACHE/ant/manual/:doc
PORTDOCS= *
.endif
diff --git a/devel/apr1/Makefile b/devel/apr1/Makefile
index f1d6d60..718f787 100644
--- a/devel/apr1/Makefile
+++ b/devel/apr1/Makefile
@@ -4,8 +4,7 @@
PORTNAME= apr
PORTVERSION= ${APR_VERSION}.${APU_VERSION}
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_APACHE}
-MASTER_SITE_SUBDIR= apr
+MASTER_SITES= APACHE/apr
DISTFILES= apr-${APR_VERSION}.tar.gz \
apr-util-${APU_VERSION}.tar.gz
diff --git a/devel/argp-standalone/Makefile b/devel/argp-standalone/Makefile
index 67c3d1b..e3d890c 100644
--- a/devel/argp-standalone/Makefile
+++ b/devel/argp-standalone/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 1.3
PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= http://www.lysator.liu.se/~nisse/misc/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= sem
+ LOCAL/sem
MAINTAINER= sem@FreeBSD.org
COMMENT= Standalone version of arguments parsing functions from GLIBC
diff --git a/devel/arm-elf-binutils/Makefile b/devel/arm-elf-binutils/Makefile
index e2e0e99..6a11636 100644
--- a/devel/arm-elf-binutils/Makefile
+++ b/devel/arm-elf-binutils/Makefile
@@ -4,8 +4,7 @@
PORTNAME= binutils
PORTVERSION= 2.25
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_SOURCEWARE}
-MASTER_SITE_SUBDIR= binutils/releases
+MASTER_SITES= SOURCEWARE/binutils/releases
PKGNAMEPREFIX= arm-elf-
MAINTAINER= danilo@FreeBSD.org
diff --git a/devel/asl/Makefile b/devel/asl/Makefile
index fe3ccbd..ae00e7e 100644
--- a/devel/asl/Makefile
+++ b/devel/asl/Makefile
@@ -4,9 +4,8 @@
PORTNAME= asl
PORTVERSION= 1.41r8
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_SUNSITE} \
+MASTER_SITES= SUNSITE/devel/lang/assemblers \
ftp://john.ccac.rwth-aachen.de/pub/as/source/c_version/
-MASTER_SITE_SUBDIR= devel/lang/assemblers
MAINTAINER= doconnor@gsoft.com.au
COMMENT= Assembler for a variety of microcontrollers/-processors
diff --git a/devel/autoconf/Makefile b/devel/autoconf/Makefile
index 7a26388..de35381 100644
--- a/devel/autoconf/Makefile
+++ b/devel/autoconf/Makefile
@@ -4,8 +4,7 @@
PORTNAME= autoconf
PORTVERSION= 2.69
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_GNU}
-MASTER_SITE_SUBDIR= autoconf
+MASTER_SITES= GNU
DISTNAME= autoconf-${PORTVERSION}
MAINTAINER= autotools@FreeBSD.org
diff --git a/devel/autoconf213/Makefile b/devel/autoconf213/Makefile
index d68dde4..00d0cee 100644
--- a/devel/autoconf213/Makefile
+++ b/devel/autoconf213/Makefile
@@ -5,8 +5,7 @@ PORTNAME= autoconf
PORTVERSION= 2.13.000227
PORTREVISION= 6
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= ade/gnu
+MASTER_SITES= LOCAL/ade/gnu
DISTNAME= autoconf-000227
PKGNAMESUFFIX= 213
diff --git a/devel/automake14/Makefile b/devel/automake14/Makefile
index c6a9014..c586e84 100644
--- a/devel/automake14/Makefile
+++ b/devel/automake14/Makefile
@@ -5,8 +5,7 @@ PORTNAME= automake
PORTVERSION= 1.4.6
PORTREVISION= 7
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_GNU}
-MASTER_SITE_SUBDIR= automake
+MASTER_SITES= GNU
PKGNAMESUFFIX= 14
DISTNAME= automake-1.4-p6
diff --git a/devel/avalon-framework/Makefile b/devel/avalon-framework/Makefile
index 5af6408..769b4f5 100644
--- a/devel/avalon-framework/Makefile
+++ b/devel/avalon-framework/Makefile
@@ -5,8 +5,7 @@ PORTNAME= avalon-framework
PORTVERSION= 4.2.0
PORTREVISION= 2
CATEGORIES= devel java
-MASTER_SITES= ${MASTER_SITE_APACHE}
-MASTER_SITE_SUBDIR= avalon/${PORTNAME}/binaries/
+MASTER_SITES= APACHE/avalon/${PORTNAME}/binaries
MAINTAINER= makc@FreeBSD.org
COMMENT= Apache Avalon core framework for component programming
diff --git a/devel/avr-gcc-devel/Makefile b/devel/avr-gcc-devel/Makefile
index a448904..c276735 100644
--- a/devel/avr-gcc-devel/Makefile
+++ b/devel/avr-gcc-devel/Makefile
@@ -3,8 +3,7 @@
PORTNAME= gcc
PORTVERSION= 4.10.0.s20140803
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_GCC}
-MASTER_SITE_SUBDIR= snapshots/${DISTVERSION}
+MASTER_SITES= GCC/snapshots/${DISTVERSION}
PKGNAMEPREFIX= avr-
PKGNAMESUFFIX= -devel
# DISTNAME= gcc-${DISTVERSION}
diff --git a/devel/avr-gcc/Makefile b/devel/avr-gcc/Makefile
index b1355c6..3ae5d74 100644
--- a/devel/avr-gcc/Makefile
+++ b/devel/avr-gcc/Makefile
@@ -4,8 +4,7 @@ PORTNAME= gcc
PORTVERSION= 4.8.3
PORTREVISION= 1
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_GCC}
-MASTER_SITE_SUBDIR= releases/gcc-${DISTVERSION}
+MASTER_SITES= GCC/releases/gcc-${DISTVERSION}
PKGNAMEPREFIX= avr-
# DISTNAME= gcc-${DISTVERSION}
diff --git a/devel/avr-gdb/Makefile b/devel/avr-gdb/Makefile
index 444fe20..ea6903c 100644
--- a/devel/avr-gdb/Makefile
+++ b/devel/avr-gdb/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 7.3.1
PORTREVISION= 4
CATEGORIES= devel
MASTER_SITES= GNU
-MASTER_SITE_SUBDIR= gdb
PKGNAMEPREFIX= avr-
DISTNAME= gdb-${PORTVERSION}
diff --git a/devel/avr-libc/Makefile b/devel/avr-libc/Makefile
index 0da5527..4a6178f 100644
--- a/devel/avr-libc/Makefile
+++ b/devel/avr-libc/Makefile
@@ -7,7 +7,6 @@ PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= devel
MASTER_SITES= SAVANNAH
-MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= joerg@FreeBSD.org
COMMENT= C and math library for the Atmel AVR controller family
diff --git a/devel/avro-c/Makefile b/devel/avro-c/Makefile
index 77269ea..d4e7b92 100644
--- a/devel/avro-c/Makefile
+++ b/devel/avro-c/Makefile
@@ -4,8 +4,7 @@
PORTNAME= avro
PORTVERSION= 1.7.3
CATEGORIES= devel
-MASTER_SITES= APACHE
-MASTER_SITE_SUBDIR= ${PORTNAME}/stable
+MASTER_SITES= APACHE/${PORTNAME}/stable
PKGNAMESUFFIX= -c
DISTNAME= ${PORTNAME}-src-${PORTVERSION}
diff --git a/devel/avro-cpp/Makefile b/devel/avro-cpp/Makefile
index 77fc416..a1b4e98 100644
--- a/devel/avro-cpp/Makefile
+++ b/devel/avro-cpp/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 1.7.4
PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= http://www.sai.msu.su/apache/${PORTNAME}/${PORTNAME}-${PORTVERSION}/ \
- APACHE
-MASTER_SITE_SUBDIR= ${PORTNAME}/stable
+ APACHE/${PORTNAME}/stable
PKGNAMESUFFIX= -cpp
DISTNAME= ${PORTNAME}-src-${PORTVERSION}
diff --git a/devel/binutils/Makefile b/devel/binutils/Makefile
index 12743c1..1150fe7 100644
--- a/devel/binutils/Makefile
+++ b/devel/binutils/Makefile
@@ -5,8 +5,7 @@ PORTNAME= binutils
PORTVERSION= 2.25
PORTREVISION?= 0
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_SOURCEWARE}
-MASTER_SITE_SUBDIR= binutils/releases
+MASTER_SITES= SOURCEWARE/binutils/releases
MAINTAINER?= bapt@FreeBSD.org
COMMENT?= GNU binary tools
diff --git a/devel/bncsutil-ghost++/Makefile b/devel/bncsutil-ghost++/Makefile
index 7a90a94..a985268 100644
--- a/devel/bncsutil-ghost++/Makefile
+++ b/devel/bncsutil-ghost++/Makefile
@@ -4,7 +4,7 @@
PORTNAME= bncsutil
PORTVERSION= 1.3.2
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
PKGNAMESUFFIX= -ghost++
DISTNAME= ${PROJECTHOST}_${PROJECTVERSION}
diff --git a/devel/bugzilla44/Makefile b/devel/bugzilla44/Makefile
index d91784e..39ede3b 100644
--- a/devel/bugzilla44/Makefile
+++ b/devel/bugzilla44/Makefile
@@ -4,8 +4,7 @@ PORTNAME= bugzilla
PORTVERSION= 4.4.8
PORTREVISION= 1
CATEGORIES= devel
-MASTER_SITES= BUGZILLA
-MASTER_SITE_SUBDIR= webtools webtools/archived
+MASTER_SITES= BUGZILLA/webtools BUGZILLA/webtools/archived
MAINTAINER= bz-ports@FreeBSD.org
COMMENT= Bug-tracking system developed by Mozilla Project
diff --git a/devel/c-unit/Makefile b/devel/c-unit/Makefile
index 95dbe0d..a467a27 100644
--- a/devel/c-unit/Makefile
+++ b/devel/c-unit/Makefile
@@ -5,7 +5,7 @@ PORTNAME= c-unit
DISTVERSION= 1.1.1
PORTREVISION= 2
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
MAINTAINER= tak.swd@gmail.com
COMMENT= Unit testing framework for C
diff --git a/devel/cdecl/Makefile b/devel/cdecl/Makefile
index 8760e83..2a4422b 100644
--- a/devel/cdecl/Makefile
+++ b/devel/cdecl/Makefile
@@ -4,8 +4,7 @@
PORTNAME= cdecl
PORTVERSION= 2.5
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR= devel/lang/c
+MASTER_SITES= SUNSITE/devel/lang/c
MAINTAINER= ports@FreeBSD.org
COMMENT= Explains complicated C/C++ declarations in plain English
diff --git a/devel/cflow/Makefile b/devel/cflow/Makefile
index 5625b10..b248fc3 100644
--- a/devel/cflow/Makefile
+++ b/devel/cflow/Makefile
@@ -5,8 +5,7 @@ PORTNAME= cflow
PORTVERSION= 2.0
PORTREVISION= 1
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR= devel/lang/c
+MASTER_SITES= SUNSITE/devel/lang/c
MAINTAINER= tj@FreeBSD.org
COMMENT= Call graph generator for C code
diff --git a/devel/cl-alexandria/Makefile b/devel/cl-alexandria/Makefile
index fe7d5f2..7f7160e 100644
--- a/devel/cl-alexandria/Makefile
+++ b/devel/cl-alexandria/Makefile
@@ -5,8 +5,7 @@ PORTVERSION= 2010.01.16
PORTREVISION= 3
CATEGORIES= devel lisp
PKGNAMEPREFIX= cl-
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= olgeni
+MASTER_SITES= LOCAL/olgeni
MAINTAINER= olgeni@FreeBSD.org
COMMENT= Collection of portable public domain utilities for Common Lisp
diff --git a/devel/cl-asdf/Makefile b/devel/cl-asdf/Makefile
index 0c8c3c5..2325e72 100644
--- a/devel/cl-asdf/Makefile
+++ b/devel/cl-asdf/Makefile
@@ -9,8 +9,7 @@ PORTVERSION= 2.017
PORTEPOCH= 2
CATEGORIES= devel lisp
PKGNAMEPREFIX= cl-
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= olgeni
+MASTER_SITES= LOCAL/olgeni
MAINTAINER= olgeni@FreeBSD.org
COMMENT= System definition facility for Common Lisp
diff --git a/devel/cl-trivial-features/Makefile b/devel/cl-trivial-features/Makefile
index 61ebfb0..b51b8ad 100644
--- a/devel/cl-trivial-features/Makefile
+++ b/devel/cl-trivial-features/Makefile
@@ -4,8 +4,7 @@ PORTNAME= trivial-features
PORTVERSION= 2010.01.16
PORTREVISION= 1
CATEGORIES= devel lisp
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= olgeni
+MASTER_SITES= LOCAL/olgeni
PKGNAMEPREFIX= cl-
MAINTAINER= olgeni@FreeBSD.org
diff --git a/devel/cl-trivial-gray-streams/Makefile b/devel/cl-trivial-gray-streams/Makefile
index bd88a04..57e7ed0 100644
--- a/devel/cl-trivial-gray-streams/Makefile
+++ b/devel/cl-trivial-gray-streams/Makefile
@@ -4,8 +4,7 @@ PORTNAME= trivial-gray-streams
PORTVERSION= 2008.11.02
PORTREVISION= 1
CATEGORIES= devel lisp
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= olgeni
+MASTER_SITES= LOCAL/olgeni
PKGNAMEPREFIX= cl-
MAINTAINER= olgeni@FreeBSD.org
diff --git a/devel/cld/Makefile b/devel/cld/Makefile
index 5e30a4b..95e8c42 100644
--- a/devel/cld/Makefile
+++ b/devel/cld/Makefile
@@ -5,7 +5,7 @@ PORTNAME= cld
PORTVERSION= 0.1
PORTREVISION= 1
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
PROJECTHOST= chromium-compact-language-detector
DISTNAME= compact-language-detector-${PORTVERSION}
diff --git a/devel/cld2/Makefile b/devel/cld2/Makefile
index 5a7a536..e92615d 100644
--- a/devel/cld2/Makefile
+++ b/devel/cld2/Makefile
@@ -4,8 +4,7 @@
PORTNAME= cld
PORTVERSION= 20150505
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= demon
+MASTER_SITES= LOCAL/demon
PKGNAMESUFFIX= 2
MAINTAINER= demon@FreeBSD.org
diff --git a/devel/compiler-rt/Makefile b/devel/compiler-rt/Makefile
index cdb9b50..d455ea8 100644
--- a/devel/compiler-rt/Makefile
+++ b/devel/compiler-rt/Makefile
@@ -4,8 +4,7 @@
PORTNAME= compiler-rt
DISTVERSION= 0.r${SVN_REV}
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= brooks
+MASTER_SITES= LOCAL/brooks
MAINTAINER= brooks@FreeBSD.org
COMMENT= Compiler runtime library with Blocks support
diff --git a/devel/cook/Makefile b/devel/cook/Makefile
index 5d5447b..8bff3e4 100644
--- a/devel/cook/Makefile
+++ b/devel/cook/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 2.30
PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= http://miller.emu.id.au/pmiller/software/cook/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR=jasone
+ LOCAL/jasone
MAINTAINER= jasone@FreeBSD.org
COMMENT= Like make(1), but more powerful and clean
diff --git a/devel/cvs-devel/Makefile b/devel/cvs-devel/Makefile
index c7b9f3d..e629399 100644
--- a/devel/cvs-devel/Makefile
+++ b/devel/cvs-devel/Makefile
@@ -5,8 +5,7 @@ PORTNAME= cvs
PORTVERSION= 1.12.13
PORTREVISION= 11
CATEGORIES= devel ipv6
-MASTER_SITES= ${MASTER_SITE_GNU}
-MASTER_SITE_SUBDIR= non-gnu/${PORTNAME}/source/feature/${PORTVERSION}
+MASTER_SITES= GNU/non-gnu/${PORTNAME}/source/feature/${PORTVERSION}
PKGNAMESUFFIX= -devel
MAINTAINER= bdheeman@gmail.com
diff --git a/devel/cvs2svn/Makefile b/devel/cvs2svn/Makefile
index 8f124dc..6d2c2be 100644
--- a/devel/cvs2svn/Makefile
+++ b/devel/cvs2svn/Makefile
@@ -9,8 +9,7 @@ MASTER_SITES= http://cvs2svn.tigris.org/files/documents/1462/49237/ \
LOCAL/ohauer
PATCHFILES= ${PORTNAME}-${PORTVERSION}-r${PATCHREV}.diff.bz2
-PATCH_SITES= ${MASTER_SITE_LOCAL}
-PATCH_SITE_SUBDIR= ohauer
+PATCH_SITES= LOCAL/ohauer
MAINTAINER= ohauer@FreeBSD.org
COMMENT= CVS to Subversion Repository Converter
diff --git a/devel/cvsdadm/Makefile b/devel/cvsdadm/Makefile
index ea63450..6147aab 100644
--- a/devel/cvsdadm/Makefile
+++ b/devel/cvsdadm/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 0.3.2
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ftp://quenix2.dyndns.org/FreeBSD/ports/distfiles/ \
- ${MASTER_SITE_SAVANNAH}
-MASTER_SITE_SUBDIR= ${PORTNAME}
+ SAVANNAH
MAINTAINER= ports@FreeBSD.org
COMMENT= Tool for CVSd pserver user administration
diff --git a/devel/cvsweb/Makefile b/devel/cvsweb/Makefile
index 4f1b610..60e91b2 100644
--- a/devel/cvsweb/Makefile
+++ b/devel/cvsweb/Makefile
@@ -5,9 +5,7 @@ PORTNAME= cvsweb
PORTVERSION= 2.0.6
PORTREVISION= 2
CATEGORIES= devel www
-MASTER_SITES= ${MASTER_SITE_LOCAL} \
- http://people.FreeBSD.org/~scop/cvsweb/
-MASTER_SITE_SUBDIR= scop
+MASTER_SITES= LOCAL/scop http://people.FreeBSD.org/~scop/cvsweb/
# For issues that are not specific to this port/package, please consult
# the <freebsd-cvsweb@FreeBSD.org> mailing list.
diff --git a/devel/cvsweb3/Makefile b/devel/cvsweb3/Makefile
index 5e42af6..f9d6dae 100644
--- a/devel/cvsweb3/Makefile
+++ b/devel/cvsweb3/Makefile
@@ -5,9 +5,7 @@ PORTNAME= cvsweb
PORTVERSION= 3.0.6
PORTREVISION= 4
CATEGORIES= devel www
-MASTER_SITES= ${MASTER_SITE_LOCAL} \
- http://people.FreeBSD.org/~scop/cvsweb/
-MASTER_SITE_SUBDIR= scop
+MASTER_SITES= LOCAL/scop http://people.FreeBSD.org/~scop/cvsweb/
PKGNAMESUFFIX= 3
# For issues that are not specific to this port/package, please consult
diff --git a/devel/cvswrap/Makefile b/devel/cvswrap/Makefile
index 7588c9f..829c7eec 100644
--- a/devel/cvswrap/Makefile
+++ b/devel/cvswrap/Makefile
@@ -4,8 +4,7 @@
PORTNAME= cvswrap
PORTVERSION= 0.2
CATEGORIES= devel
-MASTER_SITES+= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= alfred
+MASTER_SITES+= LOCAL/alfred
MAINTAINER= ports@FreeBSD.org
COMMENT= Helper for multiple CVS repositories
diff --git a/devel/cweb/Makefile b/devel/cweb/Makefile
index aecafe0..8b9ab51 100644
--- a/devel/cweb/Makefile
+++ b/devel/cweb/Makefile
@@ -4,8 +4,7 @@
PORTNAME= cweb
PORTVERSION= 3.64a.a
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_TEX_CTAN}
-MASTER_SITE_SUBDIR= web/c_cpp/cweb
+MASTER_SITES= TEX_CTAN/web/c_cpp/cweb
DISTNAME= ${PORTNAME}-${PORTVERSION:C/.([a-z])$/\1/}
MAINTAINER= gerald@FreeBSD.org
diff --git a/devel/d-feet/Makefile b/devel/d-feet/Makefile
index d91cd09..026e2ac 100644
--- a/devel/d-feet/Makefile
+++ b/devel/d-feet/Makefile
@@ -5,8 +5,7 @@ PORTNAME= d-feet
PORTVERSION= 0.1.12
PORTREVISION= 1
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_GNOME}
-MASTER_SITE_SUBDIR= sources/d-feet/0.1
+MASTER_SITES= GNOME/sources/d-feet/0.1
MAINTAINER= thinker@codemud.net
COMMENT= D-Feet is a D-Bus debugger written in PyGtk+ by John (J5) Palmieri
diff --git a/devel/ddd/Makefile b/devel/ddd/Makefile
index 67ef94b..304ba6f 100644
--- a/devel/ddd/Makefile
+++ b/devel/ddd/Makefile
@@ -5,8 +5,7 @@ PORTNAME= ddd
PORTVERSION= 3.3.12
PORTREVISION= 1
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_GNU}
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= GNU
MAINTAINER= sergio@softshark.org
COMMENT= Data Display Debugger -- a common graphical front-end for GDB/DBX/XDB
diff --git a/devel/dissy/Makefile b/devel/dissy/Makefile
index 29c6852..3cac175 100644
--- a/devel/dissy/Makefile
+++ b/devel/dissy/Makefile
@@ -5,7 +5,7 @@ PORTNAME= dissy
PORTVERSION= 10
PORTREVISION= 2
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
MAINTAINER= sbz@FreeBSD.org
COMMENT= Graphical frontend to the objdump disassembler
diff --git a/devel/djgpp-binutils/Makefile b/devel/djgpp-binutils/Makefile
index f4b47fd..1720f82 100644
--- a/devel/djgpp-binutils/Makefile
+++ b/devel/djgpp-binutils/Makefile
@@ -4,8 +4,7 @@
PORTNAME= binutils
PORTVERSION= 2.17
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_SOURCEWARE}
-MASTER_SITE_SUBDIR= binutils/releases
+MASTER_SITES= SOURCEWARE/binutils/releases
PKGNAMEPREFIX= djgpp-
MAINTAINER= johnson.peter@gmail.com
diff --git a/devel/dotconf/Makefile b/devel/dotconf/Makefile
index 1f33f05..79d725a 100644
--- a/devel/dotconf/Makefile
+++ b/devel/dotconf/Makefile
@@ -5,7 +5,7 @@ PORTNAME= dotconf
PORTVERSION= 1.3
PORTREVISION= 1
CATEGORIES= devel
-MASTER_SITES= GENTOO/distfiles
+MASTER_SITES= GENTOO
MAINTAINER= ports@FreeBSD.org
COMMENT= Simple, powerful configuration-file parser
diff --git a/devel/elftoaout/Makefile b/devel/elftoaout/Makefile
index 970f8cd..147c754 100644
--- a/devel/elftoaout/Makefile
+++ b/devel/elftoaout/Makefile
@@ -4,8 +4,7 @@
PORTNAME= elftoaout
PORTVERSION= 2.3
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_DEBIAN}
-MASTER_SITE_SUBDIR=pool/main/s/sparc-utils
+MASTER_SITES= DEBIAN/pool/main/s/sparc-utils
DISTNAME= sparc-utils_1.9.orig
MAINTAINER= ports@FreeBSD.org
diff --git a/devel/epm/Makefile b/devel/epm/Makefile
index e960c2a..7587179 100644
--- a/devel/epm/Makefile
+++ b/devel/epm/Makefile
@@ -5,7 +5,6 @@ PORTNAME= epm
PORTVERSION= 4.2
CATEGORIES= devel
MASTER_SITES= http://www.msweet.org/files/project2/
-MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTVERSION}
EXTRACT_SUFX= -source.tar.bz2
MAINTAINER= office@FreeBSD.org
diff --git a/devel/eventxx/Makefile b/devel/eventxx/Makefile
index a74f114..0d02041 100644
--- a/devel/eventxx/Makefile
+++ b/devel/eventxx/Makefile
@@ -7,7 +7,6 @@ PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= http://proj.llucax.com.ar/home/eventxx/releases/ \
LOCAL/glarkin
-MASTER_SITE_SUBDIR= gahr
MAINTAINER= ports@FreeBSD.org
COMMENT= C++ wrapper for libevent
diff --git a/devel/f77flow/Makefile b/devel/f77flow/Makefile
index 31f8fcd..c7e1c68 100644
--- a/devel/f77flow/Makefile
+++ b/devel/f77flow/Makefile
@@ -5,8 +5,7 @@ PORTNAME= f77flow
PORTVERSION= 0.12
PORTREVISION= 1
CATEGORIES= devel
-MASTER_SITES= SUNSITE
-MASTER_SITE_SUBDIR= devel/lang/fortran
+MASTER_SITES= SUNSITE/devel/lang/fortran
MAINTAINER= ports@FreeBSD.org
COMMENT= Analyze the structure of a fortran77 program
diff --git a/devel/fb303/Makefile b/devel/fb303/Makefile
index 895d4c4..72a9d0d 100644
--- a/devel/fb303/Makefile
+++ b/devel/fb303/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= ${THRIFT_PORTVERSION}
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= devel
-MASTER_SITES= APACHE
-MASTER_SITE_SUBDIR= thrift/${PORTVERSION}
+MASTER_SITES= APACHE/thrift/${PORTVERSION}
DISTNAME= thrift-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
diff --git a/devel/ffcall/Makefile b/devel/ffcall/Makefile
index 0747999..83a1205 100644
--- a/devel/ffcall/Makefile
+++ b/devel/ffcall/Makefile
@@ -5,9 +5,7 @@ PORTNAME= ffcall
PORTVERSION= 1.10
PORTREVISION= 2
CATEGORIES= devel
-MASTER_SITES= ftp://ftp.santafe.edu/pub/gnu/
-MASTER_SITES+= ${MASTER_SITE_GNUSTEP}
-MASTER_SITE_SUBDIR= libs
+MASTER_SITES= ftp://ftp.santafe.edu/pub/gnu/ GNUSTEP/libs
MAINTAINER= ports@FreeBSD.org
COMMENT= Foreign function call libraries
diff --git a/devel/fortran-utils/Makefile b/devel/fortran-utils/Makefile
index 7de1b63..ad6b4dc 100644
--- a/devel/fortran-utils/Makefile
+++ b/devel/fortran-utils/Makefile
@@ -4,8 +4,7 @@
PORTNAME= fortran-utils
PORTVERSION= 1.1
CATEGORIES= devel
-MASTER_SITES= LOCAL
-MASTER_SITE_SUBDIR= kris
+MASTER_SITES= LOCAL/kris
MAINTAINER= ports@FreeBSD.org
COMMENT= Tools for use with Fortran code, from 4.4BSD
diff --git a/devel/freeocl/Makefile b/devel/freeocl/Makefile
index dc76965..106f42a 100644
--- a/devel/freeocl/Makefile
+++ b/devel/freeocl/Makefile
@@ -5,7 +5,7 @@ PORTNAME= freeocl
PORTVERSION= 0.3.6
PORTREVISION= 6
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
DISTNAME= FreeOCL-${PORTVERSION}-src
MAINTAINER= ohartman@zedat.fu-berlin.de
diff --git a/devel/ftnchek/Makefile b/devel/ftnchek/Makefile
index 857939c..f8cf207 100644
--- a/devel/ftnchek/Makefile
+++ b/devel/ftnchek/Makefile
@@ -4,9 +4,8 @@
PORTNAME= ftnchek
PORTVERSION= 3.3.1
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_SUNSITE} \
+MASTER_SITES= SUNSITE/devel/lang/fortran \
http://www.dsm.fordham.edu/~ftnchek/download/
-MASTER_SITE_SUBDIR= devel/lang/fortran
MAINTAINER= bf@FreeBSD.org
COMMENT= Fortran 77 semantic checking utility
diff --git a/devel/gazpacho/Makefile b/devel/gazpacho/Makefile
index 7b55aeb..f357975 100644
--- a/devel/gazpacho/Makefile
+++ b/devel/gazpacho/Makefile
@@ -5,8 +5,7 @@ PORTNAME= gazpacho
PORTVERSION= 0.7.2
PORTREVISION= 4
CATEGORIES= devel python
-MASTER_SITES= ${MASTER_SITE_GNOME}
-MASTER_SITE_SUBDIR= sources/gazpacho/0.7
+MASTER_SITES= GNOME/sources/gazpacho/0.7
MAINTAINER= ports@FreeBSD.org
COMMENT= GUI builder for the GTK+ toolkit
diff --git a/devel/gconf2/Makefile b/devel/gconf2/Makefile
index b013c26..6af5cc9 100644
--- a/devel/gconf2/Makefile
+++ b/devel/gconf2/Makefile
@@ -6,8 +6,7 @@ PORTNAME= gconf2
PORTVERSION= 3.2.6
PORTREVISION= 3
CATEGORIES= devel gnome
-MASTER_SITES= GNOME
-MASTER_SITE_SUBDIR= sources/GConf/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
+MASTER_SITES= GNOME/sources/GConf/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
DISTNAME= GConf-${PORTVERSION}
DIST_SUBDIR= gnome2
diff --git a/devel/gindent/Makefile b/devel/gindent/Makefile
index db46567..656145e 100644
--- a/devel/gindent/Makefile
+++ b/devel/gindent/Makefile
@@ -5,8 +5,7 @@ PORTNAME= gindent
PORTVERSION= 2.2.10
PORTREVISION= 3
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_GNU}
-MASTER_SITE_SUBDIR= indent
+MASTER_SITES= GNU/indent
DISTNAME= indent-${PORTVERSION}
MAINTAINER= johans@FreeBSD.org
diff --git a/devel/gmake/Makefile b/devel/gmake/Makefile
index bf94754..8e1b423 100644
--- a/devel/gmake/Makefile
+++ b/devel/gmake/Makefile
@@ -5,8 +5,7 @@ PORTNAME= gmake
PORTVERSION= 4.1
PORTREVISION= 2
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_GNU}
-MASTER_SITE_SUBDIR= make
+MASTER_SITES= GNU/make
DISTNAME= make-${PORTVERSION}
# note: before committing to this port, contact portmgr to arrange for an
diff --git a/devel/gnu-efi/Makefile b/devel/gnu-efi/Makefile
index 4da642c..eeb8654 100644
--- a/devel/gnu-efi/Makefile
+++ b/devel/gnu-efi/Makefile
@@ -4,8 +4,7 @@
PORTNAME= gnu-efi
PORTVERSION= 3.0.1
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= gnu-efi
+MASTER_SITES= SF/gnu-efi
MAINTAINER= trasz@FreeBSD.org
COMMENT= SDK for EFI applications
diff --git a/devel/gnulibiberty/Makefile b/devel/gnulibiberty/Makefile
index 3a02d38..c1fb824 100644
--- a/devel/gnulibiberty/Makefile
+++ b/devel/gnulibiberty/Makefile
@@ -5,8 +5,7 @@ PORTNAME= gnulibiberty
PORTVERSION= 2.19.1
PORTREVISION= 2
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_SOURCEWARE}
-MASTER_SITE_SUBDIR= binutils/releases
+MASTER_SITES= SOURCEWARE/binutils/releases
DISTNAME= binutils-${PORTVERSION}
MAINTAINER= joerg@FreeBSD.org
diff --git a/devel/google-gdata/Makefile b/devel/google-gdata/Makefile
index e5fb82f..8c2db4b 100644
--- a/devel/google-gdata/Makefile
+++ b/devel/google-gdata/Makefile
@@ -4,7 +4,7 @@
PORTNAME= google-gdata
PORTVERSION= 2.2.0.0
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
DISTNAME= libgoogle-data-mono-${PORTVERSION}
MAINTAINER= bofh@FreeBSD.org
diff --git a/devel/google-perftools/Makefile b/devel/google-perftools/Makefile
index 7d015a6..39e49e5 100644
--- a/devel/google-perftools/Makefile
+++ b/devel/google-perftools/Makefile
@@ -4,8 +4,7 @@
PORTNAME= google-perftools
PORTVERSION= 2.4
CATEGORIES= devel
-MASTER_SITES= https://googledrive.com/host/0B6NtGsLhIcf7MWxMMF9JdTN3UVk/ \
- ${MASTER_SITE_LOCAL}
+MASTER_SITES= https://googledrive.com/host/0B6NtGsLhIcf7MWxMMF9JdTN3UVk/
DISTNAME= gperftools-${PORTVERSION}
MAINTAINER= yuri@rawbw.com
diff --git a/devel/google-sparsehash/Makefile b/devel/google-sparsehash/Makefile
index 4f45b0a..085d371 100644
--- a/devel/google-sparsehash/Makefile
+++ b/devel/google-sparsehash/Makefile
@@ -5,9 +5,8 @@ PORTNAME= google-sparsehash
PORTVERSION= 2.0.2
PORTREVISION= 2
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= vd/${PORTNAME}
+MASTER_SITES= GOOGLE_CODE \
+ LOCAL/vd/${PORTNAME}
PROJECTHOST= sparsehash
DISTNAME= sparsehash-${PORTVERSION}
diff --git a/devel/gorm/Makefile b/devel/gorm/Makefile
index 5a17cd9..d27c044 100644
--- a/devel/gorm/Makefile
+++ b/devel/gorm/Makefile
@@ -4,8 +4,7 @@ PORTNAME= gorm
PORTVERSION= 1.2.20
PORTREVISION= 2
CATEGORIES= devel gnustep
-MASTER_SITES= ${MASTER_SITE_GNUSTEP}
-MASTER_SITE_SUBDIR= dev-apps
+MASTER_SITES= GNUSTEP/dev-apps
MAINTAINER= theraven@FreeBSD.org
COMMENT= Graphical Object Relationship Modeller
diff --git a/devel/gperf/Makefile b/devel/gperf/Makefile
index b85b6a9..b4fc8b1 100644
--- a/devel/gperf/Makefile
+++ b/devel/gperf/Makefile
@@ -4,8 +4,7 @@ PORTNAME= gperf
PORTVERSION= 3.0.3
PORTREVISION= 1
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_GNU}
-MASTER_SITE_SUBDIR= gperf
+MASTER_SITES= GNU
MAINTAINER= dinoex@FreeBSD.org
COMMENT= Generates perfect hash functions for sets of keywords
diff --git a/devel/gtkparasite/Makefile b/devel/gtkparasite/Makefile
index 19f02b5..df087c9 100644
--- a/devel/gtkparasite/Makefile
+++ b/devel/gtkparasite/Makefile
@@ -5,8 +5,7 @@ PORTNAME= gtkparasite
PORTVERSION= 20090819
PORTREVISION= 5
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= pav
+MASTER_SITES= LOCAL/pav
MAINTAINER= ashish@FreeBSD.org
COMMENT= GTK+ UI debugging tool
diff --git a/devel/guichan/Makefile b/devel/guichan/Makefile
index 96e492d..56e5314 100644
--- a/devel/guichan/Makefile
+++ b/devel/guichan/Makefile
@@ -5,7 +5,7 @@ PORTNAME= guichan
PORTVERSION= 0.8.2
PORTREVISION= 10
CATEGORIES= devel games
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
MAINTAINER= mva@FreeBSD.org
COMMENT= Small, efficient C++ GUI library designed for games
diff --git a/devel/hadoop2/Makefile b/devel/hadoop2/Makefile
index fb61697..f4fff3b 100644
--- a/devel/hadoop2/Makefile
+++ b/devel/hadoop2/Makefile
@@ -8,15 +8,15 @@
PORTNAME= hadoop
PORTVERSION= 2.6.0
CATEGORIES= devel java
-MASTER_SITES= ${MASTER_SITE_APACHE} \
+MASTER_SITES= APACHE/${PORTNAME}/common/stable \
LOCAL/demon/:maven \
http://archive.apache.org/dist/tomcat/tomcat-6/v${TOMCAT_VERSION}/bin/:tomcat \
http://dist.codehaus.org/jetty/jetty-6.1.14/:jetty
-MASTER_SITE_SUBDIR=${PORTNAME}/common/stable
PKGNAMESUFFIX= 2
-DISTFILES= ${PORTNAME}-${PORTVERSION}-src${EXTRACT_SUFX} FreeBSD-hadoop2-${PORTVERSION}-maven-repository.tar.gz:maven apache-tomcat-${TOMCAT_VERSION}.tar.gz:tomcat jetty-6.1.14.zip:jetty
+DISTNAME= ${PORTNAME}-${PORTVERSION}-src
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} FreeBSD-hadoop2-${PORTVERSION}-maven-repository.tar.gz:maven apache-tomcat-${TOMCAT_VERSION}.tar.gz:tomcat jetty-6.1.14.zip:jetty
DIST_SUBDIR= hadoop
-EXTRACT_ONLY= ${PORTNAME}-${PORTVERSION}-src${EXTRACT_SUFX} FreeBSD-hadoop2-${PORTVERSION}-maven-repository.tar.gz jetty-6.1.14.zip
+EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} FreeBSD-hadoop2-${PORTVERSION}-maven-repository.tar.gz jetty-6.1.14.zip
MAINTAINER= demon@FreeBSD.org
COMMENT= Apache Map/Reduce framework
@@ -39,7 +39,6 @@ JAVA_VERSION= 1.7+
USE_LDCONFIG= yes
SHEBANG_FILES= hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/sbin/httpfs.sh hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/libexec/httpfs-config.sh hadoop-common-project/hadoop-kms/src/main/sbin/kms.sh hadoop-common-project/hadoop-kms/src/main/libexec/kms-config.sh
MAKE_ENV+= HADOOP_PROTOC_PATH=${LOCALBASE}/protobuf25/bin/protoc
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-src
OPTIONS_DEFINE= EXAMPLES
OPTIONS_DEFAULT= EXAMPLES
diff --git a/devel/htable/Makefile b/devel/htable/Makefile
index c6080e9..354d907 100644
--- a/devel/htable/Makefile
+++ b/devel/htable/Makefile
@@ -4,8 +4,7 @@
PORTNAME= htable
PORTVERSION= 1.2
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= culot
+MASTER_SITES= LOCAL/culot
MAINTAINER= culot@FreeBSD.org
COMMENT= Lightweight implementation of hash tables in C
diff --git a/devel/itext/Makefile b/devel/itext/Makefile
index 57936b5..6a74210 100644
--- a/devel/itext/Makefile
+++ b/devel/itext/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 4.2.0
PORTREVISION= 4
PORTEPOCH= 1
CATEGORIES= devel java
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= ale
+MASTER_SITES= LOCAL/ale
MAINTAINER= ale@FreeBSD.org
COMMENT= Java-PDF Library
diff --git a/devel/javolution/Makefile b/devel/javolution/Makefile
index c51d16f..57b7066 100644
--- a/devel/javolution/Makefile
+++ b/devel/javolution/Makefile
@@ -4,8 +4,7 @@
PORTNAME= javolution
PORTVERSION= 5.5.1
CATEGORIES= devel java
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= ale
+MASTER_SITES= LOCAL/ale
MAINTAINER= ale@FreeBSD.org
COMMENT= Java solution for real time and embedded systems
diff --git a/devel/jiic/Makefile b/devel/jiic/Makefile
index ab82c0d..8cd8eb1 100644
--- a/devel/jiic/Makefile
+++ b/devel/jiic/Makefile
@@ -4,8 +4,7 @@
PORTNAME= jiic
PORTVERSION= 20120110
CATEGORIES= devel multimedia java
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= ale
+MASTER_SITES= LOCAL/ale
MAINTAINER= ale@FreeBSD.org
COMMENT= Streaming-based Java implementation of ISO 9660
diff --git a/devel/kdevelop-kde4/Makefile b/devel/kdevelop-kde4/Makefile
index e073b62..1c0de42 100644
--- a/devel/kdevelop-kde4/Makefile
+++ b/devel/kdevelop-kde4/Makefile
@@ -4,8 +4,7 @@
PORTNAME= kdevelop
DISTVERSION= ${KDEVELOP_VERSION}
CATEGORIES= devel kde
-MASTER_SITES= ${MASTER_SITE_KDE}
-MASTER_SITE_SUBDIR= ${KDEVELOP_BRANCH}/kdevelop/${DISTVERSION}/src
+MASTER_SITES= KDE/${KDEVELOP_BRANCH}/kdevelop/${DISTVERSION}/src
DIST_SUBDIR= KDE/kdevelop/${KDEVELOP_VERSION}
MAINTAINER= kde@FreeBSD.org
diff --git a/devel/kdevelop-pg-qt/Makefile b/devel/kdevelop-pg-qt/Makefile
index 7c71cc0..cfe41df 100644
--- a/devel/kdevelop-pg-qt/Makefile
+++ b/devel/kdevelop-pg-qt/Makefile
@@ -5,8 +5,7 @@ PORTNAME= kdevelop-pg-qt
PORTVERSION= 1.0.0
PORTREVISION= 6
CATEGORIES= devel kde
-MASTER_SITES= ${MASTER_SITE_KDE}
-MASTER_SITE_SUBDIR= stable/${PORTNAME}/${PORTVERSION}/src
+MASTER_SITES= KDE/stable/${PORTNAME}/${PORTVERSION}/src
DIST_SUBDIR= KDE
MAINTAINER= kde@FreeBSD.org
diff --git a/devel/kdevelop-php-docs/Makefile b/devel/kdevelop-php-docs/Makefile
index c6b03db..a866761 100644
--- a/devel/kdevelop-php-docs/Makefile
+++ b/devel/kdevelop-php-docs/Makefile
@@ -3,8 +3,7 @@
PORTNAME= kdevelop-php-docs
PORTVERSION= ${KDEVELOP_VERSION:S/4./1./}
CATEGORIES= devel kde
-MASTER_SITES= ${MASTER_SITE_KDE}
-MASTER_SITE_SUBDIR= ${KDEVELOP_BRANCH}/kdevelop/${KDEVELOP_VERSION}/src
+MASTER_SITES= KDE/${KDEVELOP_BRANCH}/kdevelop/${KDEVELOP_VERSION}/src
DIST_SUBDIR= KDE/kdevelop/${KDEVELOP_VERSION}
MAINTAINER= kde@FreeBSD.org
diff --git a/devel/kdevelop-php/Makefile b/devel/kdevelop-php/Makefile
index 104567b..fa8e733 100644
--- a/devel/kdevelop-php/Makefile
+++ b/devel/kdevelop-php/Makefile
@@ -3,8 +3,7 @@
PORTNAME= kdevelop-php
PORTVERSION= ${KDEVELOP_VERSION:S/4./1./}
CATEGORIES= devel kde
-MASTER_SITES= ${MASTER_SITE_KDE}
-MASTER_SITE_SUBDIR= ${KDEVELOP_BRANCH}/kdevelop/${KDEVELOP_VERSION}/src
+MASTER_SITES= KDE/${KDEVELOP_BRANCH}/kdevelop/${KDEVELOP_VERSION}/src
DIST_SUBDIR= KDE/kdevelop/${KDEVELOP_VERSION}
MAINTAINER= kde@FreeBSD.org
diff --git a/devel/kdevplatform/Makefile b/devel/kdevplatform/Makefile
index 8965ca8..f68eff9 100644
--- a/devel/kdevplatform/Makefile
+++ b/devel/kdevplatform/Makefile
@@ -4,8 +4,7 @@
PORTNAME= kdevplatform
PORTVERSION= ${KDEVELOP_VERSION:S/4./1./}
CATEGORIES= devel kde
-MASTER_SITES= ${MASTER_SITE_KDE}
-MASTER_SITE_SUBDIR= ${KDEVELOP_BRANCH}/kdevelop/${KDEVELOP_VERSION}/src
+MASTER_SITES= KDE/${KDEVELOP_BRANCH}/kdevelop/${KDEVELOP_VERSION}/src
DIST_SUBDIR= KDE/kdevelop/${KDEVELOP_VERSION}
MAINTAINER= kde@FreeBSD.org
diff --git a/devel/lcov/Makefile b/devel/lcov/Makefile
index 89e91ad..7d34022 100644
--- a/devel/lcov/Makefile
+++ b/devel/lcov/Makefile
@@ -4,8 +4,7 @@
PORTNAME= lcov
PORTVERSION= 1.10
CATEGORIES= devel
-MASTER_SITES= SF
-MASTER_SITE_SUBDIR=ltp/Coverage%20Analysis/LCOV-${PORTVERSION}
+MASTER_SITES= SF/ltp/Coverage%20Analysis/LCOV-${PORTVERSION}
MAINTAINER= romain@FreeBSD.org
COMMENT= The Linux Test Project GCOV extension
diff --git a/devel/libaura/Makefile b/devel/libaura/Makefile
index dff0e5b..47545a1 100644
--- a/devel/libaura/Makefile
+++ b/devel/libaura/Makefile
@@ -4,8 +4,7 @@
PORTNAME= libaura
PORTVERSION= 3.1.20051222
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= philip
+MASTER_SITES= LOCAL/philip
MAINTAINER= rodrigo@FreeBSD.org
COMMENT= Library of Assorted Useful Reusable Abstractions
diff --git a/devel/libavl/Makefile b/devel/libavl/Makefile
index 394a5a4..d68c2a7 100644
--- a/devel/libavl/Makefile
+++ b/devel/libavl/Makefile
@@ -4,8 +4,7 @@
PORTNAME= libavl
PORTVERSION= 1.4.0
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_GNU}
-MASTER_SITE_SUBDIR= avl
+MASTER_SITES= GNU/avl
DISTNAME= avl-${PORTVERSION}
MAINTAINER= rodrigo@FreeBSD.org
diff --git a/devel/libbfd/Makefile b/devel/libbfd/Makefile
index 1354a30..1a3f93f 100644
--- a/devel/libbfd/Makefile
+++ b/devel/libbfd/Makefile
@@ -5,8 +5,7 @@ PORTNAME= libbfd
PORTVERSION= 2.19.1
PORTREVISION= 2
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_SOURCEWARE}
-MASTER_SITE_SUBDIR= binutils/releases
+MASTER_SITES= SOURCEWARE/binutils/releases
DISTNAME= binutils-${PORTVERSION}
MAINTAINER= joerg@FreeBSD.org
diff --git a/devel/libdict/Makefile b/devel/libdict/Makefile
index c9ac80a..e4a5497 100644
--- a/devel/libdict/Makefile
+++ b/devel/libdict/Makefile
@@ -5,7 +5,7 @@ PORTNAME= libdict
PORTVERSION= 0.2.1
PORTREVISION= 1
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_LOCAL}
+MASTER_SITES= LOCAL
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:source treap_insert.pdf:doc \
avl_insert.pdf:doc empty.pdf:doc
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
diff --git a/devel/libelf/Makefile b/devel/libelf/Makefile
index 50defdd..6d37b88 100644
--- a/devel/libelf/Makefile
+++ b/devel/libelf/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 0.8.13
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://www.mr511.de/software/ \
- ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR= libs
+ SUNSITE/libs
MAINTAINER= rodrigo@FreeBSD.org
COMMENT= Public ELF file access library similar to libelf(3) in Solaris
diff --git a/devel/libexecinfo/Makefile b/devel/libexecinfo/Makefile
index 9f9dfbc..3bd893b 100644
--- a/devel/libexecinfo/Makefile
+++ b/devel/libexecinfo/Makefile
@@ -5,8 +5,7 @@ PORTNAME= libexecinfo
PORTVERSION= 1.1
PORTREVISION= 3
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= itetcu
+MASTER_SITES= LOCAL/itetcu
MAINTAINER= itetcu@FreeBSD.org
COMMENT= Library for inspecting program's backtrace
diff --git a/devel/libffi/Makefile b/devel/libffi/Makefile
index 7eb4564..1731c7b 100644
--- a/devel/libffi/Makefile
+++ b/devel/libffi/Makefile
@@ -4,8 +4,7 @@
PORTNAME= libffi
PORTVERSION= 3.2.1
CATEGORIES= devel
-MASTER_SITES= SOURCEWARE
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= SOURCEWARE/${PORTNAME}
MAINTAINER= zeising@FreeBSD.org
COMMENT= Foreign Function Interface
diff --git a/devel/libglade2/Makefile b/devel/libglade2/Makefile
index 4095b2d..3503469 100644
--- a/devel/libglade2/Makefile
+++ b/devel/libglade2/Makefile
@@ -6,8 +6,7 @@ PORTNAME= libglade2
PORTVERSION= 2.6.4
PORTREVISION?= 7
CATEGORIES= devel gnome
-MASTER_SITES= GNOME
-MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/${PORTVERSION:C/..$//}
+MASTER_SITES= GNOME/sources/${PORTNAME:S/2$//}/${PORTVERSION:C/..$//}
DISTNAME= ${PORTNAME:S/2$//}-${PORTVERSION}
DIST_SUBDIR= gnome2
diff --git a/devel/libhash/Makefile b/devel/libhash/Makefile
index 1d82ba9..6000e31 100644
--- a/devel/libhash/Makefile
+++ b/devel/libhash/Makefile
@@ -4,7 +4,7 @@
PORTNAME= libhash
PORTVERSION= 1.0.3
CATEGORIES= devel
-MASTER_SITES= GENTOO/distfiles
+MASTER_SITES= GENTOO
MAINTAINER= rodrigo@FreeBSD.org
COMMENT= Library for manipulating hash tables
diff --git a/devel/libiomp5-devel/Makefile b/devel/libiomp5-devel/Makefile
index 7e30851..bcce1fa 100644
--- a/devel/libiomp5-devel/Makefile
+++ b/devel/libiomp5-devel/Makefile
@@ -4,8 +4,7 @@
PORTNAME= libiomp5
PORTVERSION= 3.7.r${SVN_REV}
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= brooks
+MASTER_SITES= LOCAL/brooks
PKGNAMESUFFIX= -devel
DISTNAME= openmp-${PORTVERSION}
diff --git a/devel/libkgapi/Makefile b/devel/libkgapi/Makefile
index 6228d97..db6a671 100644
--- a/devel/libkgapi/Makefile
+++ b/devel/libkgapi/Makefile
@@ -3,8 +3,7 @@
PORTNAME= libkgapi
PORTVERSION= 2.2.0
CATEGORIES= devel kde
-MASTER_SITES= ${MASTER_SITE_KDE}
-MASTER_SITE_SUBDIR= stable/libkgapi/${PORTVERSION}/src
+MASTER_SITES= KDE/stable/libkgapi/${PORTVERSION}/src
DIST_SUBDIR= KDE
MAINTAINER= kde@FreeBSD.org
diff --git a/devel/liblouisxml/Makefile b/devel/liblouisxml/Makefile
index 9033937..30c3cee 100644
--- a/devel/liblouisxml/Makefile
+++ b/devel/liblouisxml/Makefile
@@ -5,7 +5,7 @@ PORTNAME= liblouisxml
PORTVERSION= 2.4.0
PORTREVISION= 1
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
MAINTAINER= wen@FreeBSD.org
COMMENT= Library Provide Complete Braille Transcription Services
diff --git a/devel/libmatheval/Makefile b/devel/libmatheval/Makefile
index cc05b27..f75d6ca 100644
--- a/devel/libmatheval/Makefile
+++ b/devel/libmatheval/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 1.1.11
PORTREVISION= 2
CATEGORIES= devel math
MASTER_SITES= GNU
-MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= demon@FreeBSD.org
COMMENT= Library to evaluate mathematical functions
diff --git a/devel/libmpsse/Makefile b/devel/libmpsse/Makefile
index 6f82804..95a6516 100644
--- a/devel/libmpsse/Makefile
+++ b/devel/libmpsse/Makefile
@@ -3,7 +3,7 @@
PORTNAME= libmpsse
PORTVERSION= 1.3
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
MAINTAINER= uffe@uffe.org
COMMENT= Open source library for SPI/I2C control via FTDI chips
diff --git a/devel/libnxt/Makefile b/devel/libnxt/Makefile
index 0ea89a8..b5859d1 100644
--- a/devel/libnxt/Makefile
+++ b/devel/libnxt/Makefile
@@ -4,7 +4,7 @@
PORTNAME= libnxt
PORTVERSION= 0.3
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} \
+MASTER_SITES= GOOGLE_CODE \
http://personalpages.tds.net/~jwbacon/Ports/distfiles/
MAINTAINER= jwbacon@tds.net
diff --git a/devel/liboop/Makefile b/devel/liboop/Makefile
index acf8dd0..31d9019 100644
--- a/devel/liboop/Makefile
+++ b/devel/liboop/Makefile
@@ -5,7 +5,7 @@ PORTNAME= liboop
PORTVERSION= 1.0
PORTREVISION= 12
CATEGORIES= devel
-MASTER_SITES= GENTOO/distfiles \
+MASTER_SITES= GENTOO \
http://download.ofb.net/liboop/
MAINTAINER= rodrigo@FreeBSD.org
diff --git a/devel/libopensync/Makefile b/devel/libopensync/Makefile
index b159a17..7089f01 100644
--- a/devel/libopensync/Makefile
+++ b/devel/libopensync/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 0.39
PORTREVISION= 4
CATEGORIES= devel
MASTER_SITES= http://www.opensync.org/download/releases/${PORTVERSION}/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= danilo
+ LOCAL/danilo
MAINTAINER= danilo@FreeBSD.org
COMMENT= PIM data synchronization framework
diff --git a/devel/libpasori/Makefile b/devel/libpasori/Makefile
index ff5f500..2249bf8b 100644
--- a/devel/libpasori/Makefile
+++ b/devel/libpasori/Makefile
@@ -5,8 +5,7 @@ PORTNAME= libpasori
PORTVERSION= 02
PORTREVISION= 2
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP}
-MASTER_SITE_SUBDIR= ${PORTNAME}/20457
+MASTER_SITES= SOURCEFORGE_JP/${PORTNAME}/20457
DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= sarumaru@jp.FreeBSD.org
diff --git a/devel/libruin/Makefile b/devel/libruin/Makefile
index e4588af..f2fecf3 100644
--- a/devel/libruin/Makefile
+++ b/devel/libruin/Makefile
@@ -5,8 +5,7 @@ PORTNAME= libruin
PORTVERSION= 0.1.4
PORTREVISION= 3
CATEGORIES= devel scheme
-MASTER_SITES= ${MASTER_SITE_SAVANNAH}
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= SAVANNAH
MAINTAINER= ports@FreeBSD.org
COMMENT= Renderer for User Interfaces in Ncurses
diff --git a/devel/libsigc++12/Makefile b/devel/libsigc++12/Makefile
index fa2174c..64862a9 100644
--- a/devel/libsigc++12/Makefile
+++ b/devel/libsigc++12/Makefile
@@ -5,8 +5,7 @@ PORTNAME= libsigc++
PORTVERSION= 1.2.7
PORTREVISION= 2
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_GNOME}
-MASTER_SITE_SUBDIR= sources/${PORTNAME}/1.2
+MASTER_SITES= GNOME
PKGNAMESUFFIX= 12
DIST_SUBDIR= gnome2
diff --git a/devel/libublio/Makefile b/devel/libublio/Makefile
index fc2b0e3..292bc0a 100644
--- a/devel/libublio/Makefile
+++ b/devel/libublio/Makefile
@@ -4,8 +4,7 @@
PORTNAME= libublio
PORTVERSION= 20070103
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= mandree
+MASTER_SITES= LOCAL/mandree
MAINTAINER= mandree@FreeBSD.org
COMMENT= User space caching library
diff --git a/devel/libunicode/Makefile b/devel/libunicode/Makefile
index e834deb..c51dc91 100644
--- a/devel/libunicode/Makefile
+++ b/devel/libunicode/Makefile
@@ -6,8 +6,7 @@ PORTNAME= libunicode
PORTVERSION= 0.4
PORTREVISION= 10
CATEGORIES= devel gnome
-MASTER_SITES= GNOME
-MASTER_SITE_SUBDIR= sources/libunicode/0.4
+MASTER_SITES= GNOME/sources/libunicode/0.4
DISTNAME= ${PORTNAME}-${PORTVERSION}.gnome
MAINTAINER= gnome@FreeBSD.org
diff --git a/devel/libx86/Makefile b/devel/libx86/Makefile
index 9e608df..88d44e5 100644
--- a/devel/libx86/Makefile
+++ b/devel/libx86/Makefile
@@ -5,8 +5,7 @@ PORTVERSION= 1.1
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://www.codon.org.uk/~mjg59/libx86/downloads/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= jkim
+ LOCAL/jkim
MAINTAINER= jkim@FreeBSD.org
COMMENT= Hardware-independent library for executing real-mode x86 code
diff --git a/devel/libzookeeper/Makefile b/devel/libzookeeper/Makefile
index bc51f83..f36860b 100644
--- a/devel/libzookeeper/Makefile
+++ b/devel/libzookeeper/Makefile
@@ -5,8 +5,7 @@ PORTNAME= zookeeper
PORTVERSION= 3.4.6
PORTREVISION= 1
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_APACHE}
-MASTER_SITE_SUBDIR= ${PORTNAME}/current
+MASTER_SITES= APACHE/${PORTNAME}/current
PKGNAMEPREFIX= lib
MAINTAINER= skreuzer@FreeBSD.org
diff --git a/devel/libzrtpcpp/Makefile b/devel/libzrtpcpp/Makefile
index e9196ab..3e750c3 100644
--- a/devel/libzrtpcpp/Makefile
+++ b/devel/libzrtpcpp/Makefile
@@ -5,8 +5,7 @@ PORTNAME= libzrtpcpp
PORTVERSION= 2.3.4
PORTREVISION= 6
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_GNU}
-MASTER_SITE_SUBDIR=ccrtp
+MASTER_SITES= GNU/ccrtp
MAINTAINER= acm@FreeBSD.org
COMMENT= ZRTP extension for GNU ccRTP
diff --git a/devel/linux-c6-qt47/Makefile b/devel/linux-c6-qt47/Makefile
index ae11ad9..196ec08 100644
--- a/devel/linux-c6-qt47/Makefile
+++ b/devel/linux-c6-qt47/Makefile
@@ -5,8 +5,7 @@ PORTNAME= qt47
PORTVERSION= 4.7.2
PORTREVISION= 1
CATEGORIES= devel linux
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= xmj
+MASTER_SITES= LOCAL/xmj
DIST_SUBDIR= rpm/${LINUX_RPM_ARCH}/centos/c5
MAINTAINER= emulation@FreeBSD.org
diff --git a/devel/linux_kdump/Makefile b/devel/linux_kdump/Makefile
index 9a4d3a9..8b18be1 100644
--- a/devel/linux_kdump/Makefile
+++ b/devel/linux_kdump/Makefile
@@ -5,8 +5,7 @@ PORTNAME= linux_kdump
PORTVERSION= 1.5
PORTREVISION= 3
CATEGORIES= devel linux
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= marcel
+MASTER_SITES= LOCAL/marcel
MAINTAINER= emulation@FreeBSD.org
COMMENT= Linux-compatibility ktrace.out processor
diff --git a/devel/llvm-devel/Makefile b/devel/llvm-devel/Makefile
index 7e69b63..6a6a0bb 100644
--- a/devel/llvm-devel/Makefile
+++ b/devel/llvm-devel/Makefile
@@ -4,8 +4,7 @@
PORTNAME= llvm
DISTVERSION= 3.7.r${SVN_REV}
CATEGORIES= devel lang
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= brooks
+MASTER_SITES= LOCAL/brooks
PKGNAMESUFFIX= -devel
MAINTAINER= brooks@FreeBSD.org
diff --git a/devel/m17n-db/Makefile b/devel/m17n-db/Makefile
index efe9ccc..e892efc 100644
--- a/devel/m17n-db/Makefile
+++ b/devel/m17n-db/Makefile
@@ -4,10 +4,8 @@
PORTNAME= m17n-db
PORTVERSION= 1.6.5
CATEGORIES= devel textproc
-MASTER_SITES= ${MASTER_SITE_SAVANNAH}:m17n \
- ${MASTER_SITE_GNU:S/$/:glibc/}
-MASTER_SITE_SUBDIR= m17n/:m17n \
- glibc/:glibc
+MASTER_SITES= SAVANNAH/m17n:m17n \
+ GNU/glibc:glibc
DISTFILES= ${M17N_DISTFILE}:m17n \
${GLIBC_DISTFILE}:glibc
EXTRACT_ONLY= ${M17N_DISTFILE}
diff --git a/devel/m17n-lib/Makefile b/devel/m17n-lib/Makefile
index c12d3d3..b580300 100644
--- a/devel/m17n-lib/Makefile
+++ b/devel/m17n-lib/Makefile
@@ -5,8 +5,7 @@ PORTNAME= m17n-lib
PORTVERSION= 1.6.4
PORTREVISION= 6
CATEGORIES= devel textproc
-MASTER_SITES= ${MASTER_SITE_SAVANNAH}
-MASTER_SITE_SUBDIR= m17n
+MASTER_SITES= SAVANNAH/m17n
MAINTAINER= nikola.lecic@anthesphoria.net
COMMENT= Library for the multilingual text handling
diff --git a/devel/m6811-binutils/Makefile b/devel/m6811-binutils/Makefile
index aaa13c6..fcb43ac 100644
--- a/devel/m6811-binutils/Makefile
+++ b/devel/m6811-binutils/Makefile
@@ -4,8 +4,7 @@
PORTNAME= binutils
PORTVERSION= 2.15
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_GNU}
-MASTER_SITE_SUBDIR= binutils
+MASTER_SITES= GNU
PKGNAMEPREFIX= m6811-
PATCH_SITES= http://stephane.carrez.free.fr/snapshots/
diff --git a/devel/maven-ant-tasks/Makefile b/devel/maven-ant-tasks/Makefile
index 4c7fa29..417a0b0 100644
--- a/devel/maven-ant-tasks/Makefile
+++ b/devel/maven-ant-tasks/Makefile
@@ -3,8 +3,7 @@
PORTNAME= maven-ant-tasks
PORTVERSION= 2.1.3
CATEGORIES= devel java
-MASTER_SITES= ${MASTER_SITE_APACHE}
-MASTER_SITE_SUBDIR= maven/binaries
+MASTER_SITES= APACHE/maven/binaries
EXTRACT_SUFX= .jar
EXTRACT_ONLY=
diff --git a/devel/maven3/Makefile b/devel/maven3/Makefile
index fc14a2a..f17231f 100644
--- a/devel/maven3/Makefile
+++ b/devel/maven3/Makefile
@@ -4,8 +4,7 @@
PORTNAME= maven3
DISTVERSION= 3.0.5
CATEGORIES= devel java
-MASTER_SITES= ${MASTER_SITE_APACHE}
-MASTER_SITE_SUBDIR= maven/binaries
+MASTER_SITES= APACHE/maven/binaries
DISTNAME= apache-maven-${DISTVERSION}-bin
MAINTAINER= wombat@marsupial.org
diff --git a/devel/maven31/Makefile b/devel/maven31/Makefile
index ff809ac..3bc886d 100644
--- a/devel/maven31/Makefile
+++ b/devel/maven31/Makefile
@@ -5,8 +5,7 @@ PORTNAME= maven31
DISTVERSION= 3.1.1
PORTREVISION= 1
CATEGORIES= devel java
-MASTER_SITES= ${MASTER_SITE_APACHE}
-MASTER_SITE_SUBDIR= maven/binaries
+MASTER_SITES= APACHE/maven/binaries
DISTNAME= apache-maven-${DISTVERSION}-bin
MAINTAINER= yerenkow@gmail.com
diff --git a/devel/mingw32-openssl/Makefile b/devel/mingw32-openssl/Makefile
index 6526c56..8051ac3 100644
--- a/devel/mingw32-openssl/Makefile
+++ b/devel/mingw32-openssl/Makefile
@@ -4,10 +4,9 @@
PORTNAME= openssl
PORTVERSION= 1.0.1m
CATEGORIES= devel security
-MASTER_SITES= http://www.openssl.org/%SUBDIR%/ \
- ftp://ftp.openssl.org/%SUBDIR%/ \
- ftp://ftp.cert.dfn.de/pub/tools/net/openssl/%SUBDIR%/
-MASTER_SITE_SUBDIR= source
+MASTER_SITES= http://www.openssl.org/source/ \
+ ftp://ftp.openssl.org/source/ \
+ ftp://ftp.cert.dfn.de/pub/tools/net/openssl/source/
PKGNAMEPREFIX= mingw32-
DIST_SUBDIR= ${DISTNAME}
diff --git a/devel/mingw32-zlib/Makefile b/devel/mingw32-zlib/Makefile
index ad6dc82..44fde26 100644
--- a/devel/mingw32-zlib/Makefile
+++ b/devel/mingw32-zlib/Makefile
@@ -5,8 +5,7 @@ PORTNAME= zlib
PORTVERSION= 1.2.8
CATEGORIES= devel archivers
MASTER_SITES= http://zlib.net/ \
- ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= libpng/${PORTNAME}/${PORTVERSION}
+ SF/libpng/${PORTNAME}/${PORTVERSION}
PKGNAMEPREFIX= mingw32-
MAINTAINER= knu@FreeBSD.org
diff --git a/devel/mm/Makefile b/devel/mm/Makefile
index f9602c3..20059f4 100644
--- a/devel/mm/Makefile
+++ b/devel/mm/Makefile
@@ -5,8 +5,7 @@ PORTNAME= mm
PORTVERSION= 1.4.2
PORTREVISION= 1
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_OSSP}
-MASTER_SITE_SUBDIR= lib/${PORTNAME}
+MASTER_SITES= OSSP/lib/${PORTNAME}
MAINTAINER= rodrigo@FreeBSD.org
COMMENT= Shared memory allocation library for pre-forked process models
diff --git a/devel/mph/Makefile b/devel/mph/Makefile
index b3ad618..58fc751 100644
--- a/devel/mph/Makefile
+++ b/devel/mph/Makefile
@@ -4,8 +4,7 @@
PORTNAME= mph
PORTVERSION= 1.2
CATEGORIES= devel
-MASTER_SITES= SUNSITE
-MASTER_SITE_SUBDIR= devel/lang/c
+MASTER_SITES= SUNSITE/devel/lang/c
MAINTAINER= chuck@pkix.net
COMMENT= Minimal perfect hashing code generator
diff --git a/devel/msp430-binutils/Makefile b/devel/msp430-binutils/Makefile
index 6917f66..06c8d1e 100644
--- a/devel/msp430-binutils/Makefile
+++ b/devel/msp430-binutils/Makefile
@@ -5,16 +5,14 @@ PORTNAME= binutils
PORTVERSION= ${BINUTILVERSION}.${LTSVERSION}
PORTREVISION= 0
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_SOURCEWARE} \
+MASTER_SITES= SOURCEWARE/binutils/releases \
SF/mspgcc/mspgcc:mspgcc
-MASTER_SITE_SUBDIR= binutils/releases
PKGNAMEPREFIX= msp430-
DISTNAME= ${PORTNAME}-${BINUTILVERSION}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
mspgcc-${LTSVERSION}${EXTRACT_SUFX}:mspgcc
-PATCH_SITES= ${MASTER_SITE_SOURCEFORGE}
-PATCH_SITE_SUBDIR= mspgcc/Patches/LTS/${LTSVERSION}
+PATCH_SITES= SF/mspgcc/Patches/LTS/${LTSVERSION}
PATCHFILES= ${LTS_PATCHES}
PATCH_DIST_STRIP= -p1
diff --git a/devel/msp430-gcc/Makefile b/devel/msp430-gcc/Makefile
index 6a4d0d1..08dce6f 100644
--- a/devel/msp430-gcc/Makefile
+++ b/devel/msp430-gcc/Makefile
@@ -6,17 +6,15 @@ PORTVERSION= ${GCCVERSION}.${LTSVERSION}
PORTREVISION= 3
PORTEPOCH= 2
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_SOURCEWARE} \
+MASTER_SITES= SOURCEWARE/${PORTNAME}/releases/${PORTNAME}-${GCCVERSION} \
SF/mspgcc/mspgcc:mspgcc
-MASTER_SITE_SUBDIR= ${PORTNAME}/releases/${PORTNAME}-${GCCVERSION}
PKGNAMEPREFIX= msp430-
DISTNAME= ${PORTNAME}-${GCCVERSION}
DISTFILES= ${PORTNAME}-core-${GCCVERSION}${EXTRACT_SUFX} \
${PORTNAME}-g++-${GCCVERSION}${EXTRACT_SUFX} \
mspgcc-${LTSVERSION}${EXTRACT_SUFX}:mspgcc
-PATCH_SITES= ${MASTER_SITE_SOURCEFORGE}
-PATCH_SITE_SUBDIR= mspgcc/Patches/LTS/${LTSVERSION}
+PATCH_SITES= SF/mspgcc/Patches/LTS/${LTSVERSION}
PATCHFILES= ${LTS_PATCHES}
PATCH_DIST_STRIP= -p1
diff --git a/devel/msp430-gdb/Makefile b/devel/msp430-gdb/Makefile
index 7fe04aa..7f6e3dc 100644
--- a/devel/msp430-gdb/Makefile
+++ b/devel/msp430-gdb/Makefile
@@ -4,9 +4,7 @@
PORTNAME= gdb
PORTVERSION= ${GDBVERSION}.${PATCHVERSION}
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_GNU} \
- SF/mspgcc/mspgcc:mspgcc
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= GNU SF/mspgcc/mspgcc:mspgcc
PKGNAMEPREFIX= msp430-
DISTNAME= ${PORTNAME}-${GDBVERSION}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
diff --git a/devel/msp430-libc/Makefile b/devel/msp430-libc/Makefile
index a4ab81c..327fd9d 100644
--- a/devel/msp430-libc/Makefile
+++ b/devel/msp430-libc/Makefile
@@ -9,8 +9,7 @@ MASTER_SITES= SF/mspgcc/${PKGNAMEPREFIX}${PORTNAME}
PKGNAMEPREFIX= ${LIBCTARGET}-
DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${LIBCVERSION}
-PATCH_SITES= ${MASTER_SITE_SOURCEFORGE}
-PATCH_SITE_SUBDIR= mspgcc/Patches/LTS/${LTSVERSION}
+PATCH_SITES= SF/mspgcc/Patches/LTS/${LTSVERSION}
PATCHFILES= ${LTS_PATCHES}
PATCH_DIST_STRIP= -p1
diff --git a/devel/msp430mcu/Makefile b/devel/msp430mcu/Makefile
index 2810f0e..e56f3c2 100644
--- a/devel/msp430mcu/Makefile
+++ b/devel/msp430mcu/Makefile
@@ -8,8 +8,7 @@ CATEGORIES= devel
MASTER_SITES= SF/mspgcc/${PORTNAME}
DISTNAME= ${PORTNAME}-${MCUVERSION}
-PATCH_SITES= ${MASTER_SITE_SOURCEFORGE}
-PATCH_SITE_SUBDIR= mspgcc/Patches/LTS/${LTSVERSION}
+PATCH_SITES= SF/mspgcc/Patches/LTS/${LTSVERSION}
PATCHFILES= ${LTS_PATCHES}
PATCH_DIST_STRIP= -p1
diff --git a/devel/ncurses/Makefile b/devel/ncurses/Makefile
index 1abaf36..ed8691c 100644
--- a/devel/ncurses/Makefile
+++ b/devel/ncurses/Makefile
@@ -5,7 +5,6 @@ PORTNAME= ncurses
DISTVERSION= ${RELEASE}-20150214
CATEGORIES= devel
MASTER_SITES= ftp://invisible-island.net/${PORTNAME}/current/
-MASTER_SITE_SUBDIR= ${PORTNAME}/current
DIST_SUBDIR= ${PORTNAME}
MAINTAINER= bapt@FreeBSD.org
diff --git a/devel/netscape-java40/Makefile b/devel/netscape-java40/Makefile
index b9eb415..007f714 100644
--- a/devel/netscape-java40/Makefile
+++ b/devel/netscape-java40/Makefile
@@ -5,8 +5,7 @@ PORTNAME= netscape-java40
PORTVERSION= 1999.11.15
PORTREVISION= 2
CATEGORIES= devel java
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= thierry
+MASTER_SITES= LOCAL/thierry
DISTNAME= ${PORTNAME}
MAINTAINER= thierry@FreeBSD.org
diff --git a/devel/nxt-python/Makefile b/devel/nxt-python/Makefile
index eb6a320..9167408 100644
--- a/devel/nxt-python/Makefile
+++ b/devel/nxt-python/Makefile
@@ -5,7 +5,7 @@ PORTNAME= nxt-python
PORTVERSION= 2.2.2
PORTREVISION= 1
CATEGORIES= devel python
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
MAINTAINER= acieroid@awesom.eu
COMMENT= Python interface for the Lego Mindstorms NXT robot
diff --git a/devel/ocaml-sexplib/Makefile b/devel/ocaml-sexplib/Makefile
index 8e00210..2dc1531 100644
--- a/devel/ocaml-sexplib/Makefile
+++ b/devel/ocaml-sexplib/Makefile
@@ -4,8 +4,7 @@
PORTNAME= sexplib
PORTVERSION= 111.03.00
CATEGORIES= devel
-MASTER_SITES= https://ocaml.janestreet.com/ocaml-core/%SUBDIR%/
-MASTER_SITE_SUBDIR= ${PORTVERSION}/individual
+MASTER_SITES= https://ocaml.janestreet.com/ocaml-core/${PORTVERSION}/individual/
PKGNAMEPREFIX= ocaml-
MAINTAINER= ports@FreeBSD.org
diff --git a/devel/ocaml-typeconv/Makefile b/devel/ocaml-typeconv/Makefile
index 52c6bfc..bd5bb96 100644
--- a/devel/ocaml-typeconv/Makefile
+++ b/devel/ocaml-typeconv/Makefile
@@ -4,8 +4,7 @@
PORTNAME= type-conv
PORTVERSION= 109.60.01
CATEGORIES= devel
-MASTER_SITES= https://ocaml.janestreet.com/ocaml-core/%SUBDIR%/
-MASTER_SITE_SUBDIR= ${PORTVERSION:R}.00/individual
+MASTER_SITES= https://ocaml.janestreet.com/ocaml-core/${PORTVERSION:R}.00/individual/
PKGNAMEPREFIX= ocaml-
DISTNAME= ${PORTNAME:S,-,_,}-${PORTVERSION}
diff --git a/devel/opencvs/Makefile b/devel/opencvs/Makefile
index 8c35602..a01147b 100644
--- a/devel/opencvs/Makefile
+++ b/devel/opencvs/Makefile
@@ -4,9 +4,8 @@
PORTNAME= opencvs
PORTVERSION= 20150501
CATEGORIES= devel
-MASTER_SITES= ftp://ftp.stack.nl/pub/users/%SUBDIR%/opencvs/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= johans
+MASTER_SITES= ftp://ftp.stack.nl/pub/users/johans/opencvs/ \
+ LOCAL/johans
MAINTAINER= johans@FreeBSD.org
COMMENT= BSD-licensed CVS implementation
diff --git a/devel/p5-AnyEvent-AIO/Makefile b/devel/p5-AnyEvent-AIO/Makefile
index 5711af4..05e960a 100644
--- a/devel/p5-AnyEvent-AIO/Makefile
+++ b/devel/p5-AnyEvent-AIO/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 1.1
PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= AnyEvent
PKGNAMEPREFIX= p5-
MAINTAINER= tobez@FreeBSD.org
diff --git a/devel/p5-App-GitHub/Makefile b/devel/p5-App-GitHub/Makefile
index 050c93f..f90903a 100644
--- a/devel/p5-App-GitHub/Makefile
+++ b/devel/p5-App-GitHub/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 1.0.1
PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= App
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
diff --git a/devel/p5-B-Hooks-OP-PPAddr/Makefile b/devel/p5-B-Hooks-OP-PPAddr/Makefile
index 822e425..0003fed 100644
--- a/devel/p5-B-Hooks-OP-PPAddr/Makefile
+++ b/devel/p5-B-Hooks-OP-PPAddr/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 0.03
PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= B
PKGNAMEPREFIX= p5-
MAINTAINER= tobez@FreeBSD.org
diff --git a/devel/p5-B-OPCheck/Makefile b/devel/p5-B-OPCheck/Makefile
index 3f02c03..088d19f 100644
--- a/devel/p5-B-OPCheck/Makefile
+++ b/devel/p5-B-OPCheck/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 0.29
PORTREVISION= 2
CATEGORIES= devel perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= B
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
diff --git a/devel/p5-Badger/Makefile b/devel/p5-Badger/Makefile
index cb19e22..9159a55 100644
--- a/devel/p5-Badger/Makefile
+++ b/devel/p5-Badger/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 0.09
PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Badger
PKGNAMEPREFIX= p5-
MAINTAINER= tobez@FreeBSD.org
diff --git a/devel/p5-Cache-AgainstFile/Makefile b/devel/p5-Cache-AgainstFile/Makefile
index e996cd5..eeeb782 100644
--- a/devel/p5-Cache-AgainstFile/Makefile
+++ b/devel/p5-Cache-AgainstFile/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 1.016
PORTREVISION= 2
CATEGORIES= devel perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Cache
PKGNAMEPREFIX= p5-
MAINTAINER= bofh@FreeBSD.org
diff --git a/devel/p5-Carp-Clan-Share/Makefile b/devel/p5-Carp-Clan-Share/Makefile
index 9245d91..d96d1d7 100644
--- a/devel/p5-Carp-Clan-Share/Makefile
+++ b/devel/p5-Carp-Clan-Share/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 0.013
PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Carp
PKGNAMEPREFIX= p5-
MAINTAINER= tobez@FreeBSD.org
diff --git a/devel/p5-Class-Accessor-Fast-Contained/Makefile b/devel/p5-Class-Accessor-Fast-Contained/Makefile
index 6ebb472..38409ce 100644
--- a/devel/p5-Class-Accessor-Fast-Contained/Makefile
+++ b/devel/p5-Class-Accessor-Fast-Contained/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 1.01
PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Class
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
diff --git a/devel/p5-Class-Accessor-Installer/Makefile b/devel/p5-Class-Accessor-Installer/Makefile
index 5b879d9..eaa81f3 100644
--- a/devel/p5-Class-Accessor-Installer/Makefile
+++ b/devel/p5-Class-Accessor-Installer/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 1.100880
PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
-#MASTER_SITE_SUBDIR=
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
diff --git a/devel/p5-Class-Delegation/Makefile b/devel/p5-Class-Delegation/Makefile
index 9940b267..707fe08 100644
--- a/devel/p5-Class-Delegation/Makefile
+++ b/devel/p5-Class-Delegation/Makefile
@@ -3,12 +3,12 @@
PORTNAME= Class-Delegation
PORTVERSION= 1.7.1
+DISTVERSIONPREFIX= v
PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:DCONWAY
PKGNAMEPREFIX= p5-
-DISTNAME= ${PORTNAME}-v${PORTVERSION}
MAINTAINER= perl@FreeBSD.org
COMMENT= Object-oriented delegation
diff --git a/devel/p5-Class-Measure/Makefile b/devel/p5-Class-Measure/Makefile
index ee3c839..12099ee 100644
--- a/devel/p5-Class-Measure/Makefile
+++ b/devel/p5-Class-Measure/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 0.05
PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Class
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
diff --git a/devel/p5-Class-Tom/Makefile b/devel/p5-Class-Tom/Makefile
index 0c3a08f..15fe3dd 100644
--- a/devel/p5-Class-Tom/Makefile
+++ b/devel/p5-Class-Tom/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 3.02
PORTREVISION= 3
CATEGORIES= devel perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Class
PKGNAMEPREFIX= p5-
MAINTAINER= tobez@FreeBSD.org
diff --git a/devel/p5-Config-IniHash/Makefile b/devel/p5-Config-IniHash/Makefile
index d6ed605..a40aedf 100644
--- a/devel/p5-Config-IniHash/Makefile
+++ b/devel/p5-Config-IniHash/Makefile
@@ -5,8 +5,7 @@ PORTNAME= Config-IniHash
PORTVERSION= 3.01.01
PORTREVISION= 1
CATEGORIES= devel perl5
-MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Config/JENDA
+MASTER_SITES= CPAN/Config/JENDA
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
diff --git a/devel/p5-Config-Wrest/Makefile b/devel/p5-Config-Wrest/Makefile
index 059eed1..b99d337 100644
--- a/devel/p5-Config-Wrest/Makefile
+++ b/devel/p5-Config-Wrest/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 1.036
PORTREVISION= 2
CATEGORIES= devel perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Config
PKGNAMEPREFIX= p5-
MAINTAINER= bofh@FreeBSD.org
diff --git a/devel/p5-Danga-Socket-Callback/Makefile b/devel/p5-Danga-Socket-Callback/Makefile
index 7f286f0..a457260 100644
--- a/devel/p5-Danga-Socket-Callback/Makefile
+++ b/devel/p5-Danga-Socket-Callback/Makefile
@@ -7,7 +7,6 @@ PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Danga
PKGNAMEPREFIX= p5-
MAINTAINER= markun@onohara.to
diff --git a/devel/p5-Data-JavaScript-Anon/Makefile b/devel/p5-Data-JavaScript-Anon/Makefile
index 15072f1..80dbc24 100644
--- a/devel/p5-Data-JavaScript-Anon/Makefile
+++ b/devel/p5-Data-JavaScript-Anon/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 1.03
PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Data
PKGNAMEPREFIX= p5-
MAINTAINER= bofh@FreeBSD.org
diff --git a/devel/p5-Data-Remember/Makefile b/devel/p5-Data-Remember/Makefile
index 63bb980..39d1d10 100644
--- a/devel/p5-Data-Remember/Makefile
+++ b/devel/p5-Data-Remember/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 0.07
PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Data
PKGNAMEPREFIX= p5-
MAINTAINER= tobez@FreeBSD.org
diff --git a/devel/p5-DateConvert/Makefile b/devel/p5-DateConvert/Makefile
index c10c1d5..4e2a0c2 100644
--- a/devel/p5-DateConvert/Makefile
+++ b/devel/p5-DateConvert/Makefile
@@ -5,8 +5,7 @@ PORTNAME= DateConvert
PORTVERSION= 0.16
PORTREVISION= 1
CATEGORIES= devel perl5
-MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Date
+MASTER_SITES= CPAN/Date
PKGNAMEPREFIX= p5-
MAINTAINER= bofh@FreeBSD.org
diff --git a/devel/p5-DateTime-Format-DateParse/Makefile b/devel/p5-DateTime-Format-DateParse/Makefile
index 3d16b6b..a4a873a 100644
--- a/devel/p5-DateTime-Format-DateParse/Makefile
+++ b/devel/p5-DateTime-Format-DateParse/Makefile
@@ -5,8 +5,7 @@ PORTNAME= DateTime-Format-DateParse
PORTVERSION= 0.05
PORTREVISION= 2
CATEGORIES= devel perl5
-MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
-MASTER_SITE_SUBDIR= DateTime
+MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= svysh.fbsd@gmail.com
diff --git a/devel/p5-Devel-Callsite/Makefile b/devel/p5-Devel-Callsite/Makefile
index dce385e..4882c8c 100644
--- a/devel/p5-Devel-Callsite/Makefile
+++ b/devel/p5-Devel-Callsite/Makefile
@@ -5,7 +5,6 @@ PORTVERSION= 0.06
PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Devel
PKGNAMEPREFIX= p5-
MAINTAINER= tobez@FreeBSD.org
diff --git a/devel/p5-Devel-ebug/Makefile b/devel/p5-Devel-ebug/Makefile
index e448264..f060e0d 100644
--- a/devel/p5-Devel-ebug/Makefile
+++ b/devel/p5-Devel-ebug/Makefile
@@ -5,7 +5,6 @@ PORTNAME= Devel-ebug
PORTVERSION= 0.56
CATEGORIES= devel perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Devel
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
diff --git a/devel/p5-Dist-Zilla/Makefile b/devel/p5-Dist-Zilla/Makefile
index 88f3a5a..27ba901 100644
--- a/devel/p5-Dist-Zilla/Makefile
+++ b/devel/p5-Dist-Zilla/Makefile
@@ -5,7 +5,6 @@ PORTVERSION= 4.300030
PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Dist
PKGNAMEPREFIX= p5-
MAINTAINER= lth@FreeBSD.org
diff --git a/devel/p5-Event-Notify/Makefile b/devel/p5-Event-Notify/Makefile
index 9c801fd..bf28aca 100644
--- a/devel/p5-Event-Notify/Makefile
+++ b/devel/p5-Event-Notify/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 0.00004
PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Event
PKGNAMEPREFIX= p5-
MAINTAINER= markun@onohara.to
diff --git a/devel/p5-File-Find-Rule-Perl/Makefile b/devel/p5-File-Find-Rule-Perl/Makefile
index c1ad30f..5aee251 100644
--- a/devel/p5-File-Find-Rule-Perl/Makefile
+++ b/devel/p5-File-Find-Rule-Perl/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 1.13
PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= File
PKGNAMEPREFIX= p5-
MAINTAINER= lth@FreeBSD.org
diff --git a/devel/p5-File-Finder/Makefile b/devel/p5-File-Finder/Makefile
index da74ade..52d58d4 100644
--- a/devel/p5-File-Finder/Makefile
+++ b/devel/p5-File-Finder/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 0.53
PORTREVISION= 2
CATEGORIES= devel perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= File
PKGNAMEPREFIX= p5-
MAINTAINER= lth@FreeBSD.org
diff --git a/devel/p5-File-Tail-Dir/Makefile b/devel/p5-File-Tail-Dir/Makefile
index 0369328..896ba22 100644
--- a/devel/p5-File-Tail-Dir/Makefile
+++ b/devel/p5-File-Tail-Dir/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 0.14
PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= File
PKGNAMEPREFIX= p5-
MAINTAINER= jnlin@csie.nctu.edu.tw
diff --git a/devel/p5-Ioctl/Makefile b/devel/p5-Ioctl/Makefile
index ea0bd9e..5705214 100644
--- a/devel/p5-Ioctl/Makefile
+++ b/devel/p5-Ioctl/Makefile
@@ -5,8 +5,7 @@ PORTNAME= Ioctl
PORTVERSION= 0.81
PORTREVISION= 1
CATEGORIES= devel perl5
-MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Ioctl/JPRIT
+MASTER_SITES= CPAN/Ioctl/JPRIT
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
diff --git a/devel/p5-Lingua-JA-Fold/Makefile b/devel/p5-Lingua-JA-Fold/Makefile
index 8771d25..ff9ff47 100644
--- a/devel/p5-Lingua-JA-Fold/Makefile
+++ b/devel/p5-Lingua-JA-Fold/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 0.08
PORTREVISION= 2
CATEGORIES= devel perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Lingua
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
diff --git a/devel/p5-Locale-Maketext-Lexicon/Makefile b/devel/p5-Locale-Maketext-Lexicon/Makefile
index 210292a..f53e369 100644
--- a/devel/p5-Locale-Maketext-Lexicon/Makefile
+++ b/devel/p5-Locale-Maketext-Lexicon/Makefile
@@ -4,8 +4,7 @@
PORTNAME= Locale-Maketext-Lexicon
PORTVERSION= 1.00
CATEGORIES= devel perl5
-MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Locale/DRTECH
+MASTER_SITES= CPAN/Locale/DRTECH
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
diff --git a/devel/p5-Log-Dispatch-Array/Makefile b/devel/p5-Log-Dispatch-Array/Makefile
index 63a045f..b352169 100644
--- a/devel/p5-Log-Dispatch-Array/Makefile
+++ b/devel/p5-Log-Dispatch-Array/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 1.001
PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
-# MASTER_SITE_SUBDIR= CPAN:RJBS
PKGNAMEPREFIX= p5-
MAINTAINER= geraud@gcu.info
diff --git a/devel/p5-Log-Dispatch-File-Stamped/Makefile b/devel/p5-Log-Dispatch-File-Stamped/Makefile
index 0ca3e5b..43d0ecd 100644
--- a/devel/p5-Log-Dispatch-File-Stamped/Makefile
+++ b/devel/p5-Log-Dispatch-File-Stamped/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 0.12
PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Log
PKGNAMEPREFIX= p5-
MAINTAINER= jnlin@csie.nctu.edu.tw
diff --git a/devel/p5-Log-Dispatch-Scribe/Makefile b/devel/p5-Log-Dispatch-Scribe/Makefile
index ba5fed2..b7edcdd 100644
--- a/devel/p5-Log-Dispatch-Scribe/Makefile
+++ b/devel/p5-Log-Dispatch-Scribe/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 0.05
PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Log
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
diff --git a/devel/p5-Log-Trace/Makefile b/devel/p5-Log-Trace/Makefile
index d243ed0..cf86c5e 100644
--- a/devel/p5-Log-Trace/Makefile
+++ b/devel/p5-Log-Trace/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 1.070
PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Log
PKGNAMEPREFIX= p5-
MAINTAINER= lth@FreeBSD.org
diff --git a/devel/p5-Module-CPANfile/Makefile b/devel/p5-Module-CPANfile/Makefile
index 73c67278..353a00c 100644
--- a/devel/p5-Module-CPANfile/Makefile
+++ b/devel/p5-Module-CPANfile/Makefile
@@ -4,7 +4,6 @@ PORTNAME= Module-CPANfile
PORTVERSION= 1.1000
CATEGORIES= devel perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Module
PKGNAMEPREFIX= p5-
MAINTAINER= lth@FreeBSD.org
diff --git a/devel/p5-Module-Info-File/Makefile b/devel/p5-Module-Info-File/Makefile
index ef59c6e..fadd431 100644
--- a/devel/p5-Module-Info-File/Makefile
+++ b/devel/p5-Module-Info-File/Makefile
@@ -5,7 +5,6 @@ PORTNAME= Module-Info-File
PORTVERSION= 0.14
CATEGORIES= devel perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Module
PKGNAMEPREFIX= p5-
MAINTAINER= lth@FreeBSD.org
diff --git a/devel/p5-Module-Util/Makefile b/devel/p5-Module-Util/Makefile
index 98a4d0a..53f0ff1 100644
--- a/devel/p5-Module-Util/Makefile
+++ b/devel/p5-Module-Util/Makefile
@@ -5,7 +5,6 @@ PORTVERSION= 1.09
PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Module
PKGNAMEPREFIX= p5-
MAINTAINER= tobez@FreeBSD.org
diff --git a/devel/p5-MooseX-AttributeShortcuts/Makefile b/devel/p5-MooseX-AttributeShortcuts/Makefile
index b9b5ccf..16d1300 100644
--- a/devel/p5-MooseX-AttributeShortcuts/Makefile
+++ b/devel/p5-MooseX-AttributeShortcuts/Makefile
@@ -5,7 +5,6 @@ PORTVERSION= 0.017
PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= MooseX
PKGNAMEPREFIX= p5-
MAINTAINER= lth@FreeBSD.org
diff --git a/devel/p5-MooseX-Has-Options/Makefile b/devel/p5-MooseX-Has-Options/Makefile
index 822aca8..5702ae8 100644
--- a/devel/p5-MooseX-Has-Options/Makefile
+++ b/devel/p5-MooseX-Has-Options/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 0.003
PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= MooseX
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
diff --git a/devel/p5-MouseX-Getopt/Makefile b/devel/p5-MouseX-Getopt/Makefile
index c7a1ae6..d51161d 100644
--- a/devel/p5-MouseX-Getopt/Makefile
+++ b/devel/p5-MouseX-Getopt/Makefile
@@ -7,7 +7,6 @@ DISTVERSION= 0.34
PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= MouseX
PKGNAMEPREFIX= p5-
MAINTAINER= kuriyama@FreeBSD.org
diff --git a/devel/p5-Object-Realize-Later/Makefile b/devel/p5-Object-Realize-Later/Makefile
index ff24403..4d596b7 100644
--- a/devel/p5-Object-Realize-Later/Makefile
+++ b/devel/p5-Object-Realize-Later/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 0.19
PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Object
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
diff --git a/devel/p5-PHP-Serialization/Makefile b/devel/p5-PHP-Serialization/Makefile
index a402f52..16ffae0 100644
--- a/devel/p5-PHP-Serialization/Makefile
+++ b/devel/p5-PHP-Serialization/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 0.34
PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= PHP
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
diff --git a/devel/p5-Perl-Tidy/Makefile b/devel/p5-Perl-Tidy/Makefile
index 034b2c3..63b453b 100644
--- a/devel/p5-Perl-Tidy/Makefile
+++ b/devel/p5-Perl-Tidy/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 20140711
PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Perl
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
diff --git a/devel/p5-Proc-Wait3/Makefile b/devel/p5-Proc-Wait3/Makefile
index d1b1a9b..61c124c 100644
--- a/devel/p5-Proc-Wait3/Makefile
+++ b/devel/p5-Proc-Wait3/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 0.04
PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Proc
PKGNAMEPREFIX= p5-
MAINTAINER= tobez@FreeBSD.org
diff --git a/devel/p5-ReadLine-Gnu/Makefile b/devel/p5-ReadLine-Gnu/Makefile
index 588afab..210ba4d 100644
--- a/devel/p5-ReadLine-Gnu/Makefile
+++ b/devel/p5-ReadLine-Gnu/Makefile
@@ -4,8 +4,7 @@
PORTNAME= ReadLine-Gnu
PORTVERSION= 1.26
CATEGORIES= devel perl5
-MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR=Term
+MASTER_SITES= CPAN/Term
PKGNAMEPREFIX= p5-
DISTNAME= Term-${PORTNAME}-${PORTVERSION}
diff --git a/devel/p5-ReadLine-Perl/Makefile b/devel/p5-ReadLine-Perl/Makefile
index 88e8e1a..3f1e0f4 100644
--- a/devel/p5-ReadLine-Perl/Makefile
+++ b/devel/p5-ReadLine-Perl/Makefile
@@ -5,10 +5,9 @@ PORTNAME= ReadLine-Perl
PORTVERSION= 1.0303
PORTREVISION= 3
CATEGORIES= devel perl5
-MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Term
+MASTER_SITES= CPAN/Term
PKGNAMEPREFIX= p5-
-DISTNAME= Term-${PORTNAME}-${PORTVERSION:C/0+$//}
+DISTNAME= Term-${PORTNAME}-${PORTVERSION}
MAINTAINER= perl@FreeBSD.org
COMMENT= Perl 5 module for Term::ReadLine editing without GNU readline
diff --git a/devel/p5-ReadLine-TTYtter/Makefile b/devel/p5-ReadLine-TTYtter/Makefile
index 1f7d8b0..281304a 100644
--- a/devel/p5-ReadLine-TTYtter/Makefile
+++ b/devel/p5-ReadLine-TTYtter/Makefile
@@ -5,8 +5,7 @@ PORTNAME= ReadLine-TTYtter
PORTVERSION= 1.4
PORTREVISION= 1
CATEGORIES= devel perl5
-MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Term
+MASTER_SITES= CPAN/Term
PKGNAMEPREFIX= p5-
DISTNAME= Term-${PORTNAME}-${PORTVERSION}
diff --git a/devel/p5-Set-ConsistentHash/Makefile b/devel/p5-Set-ConsistentHash/Makefile
index 9d666f9..b347eff 100644
--- a/devel/p5-Set-ConsistentHash/Makefile
+++ b/devel/p5-Set-ConsistentHash/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 0.92
PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Set
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
diff --git a/devel/p5-Stream-Reader/Makefile b/devel/p5-Stream-Reader/Makefile
index 5d74be2..3810da5 100644
--- a/devel/p5-Stream-Reader/Makefile
+++ b/devel/p5-Stream-Reader/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 0.09
PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Stream
PKGNAMEPREFIX= p5-
MAINTAINER= skreuzer@FreeBSD.org
diff --git a/devel/p5-Sys-RunAlone/Makefile b/devel/p5-Sys-RunAlone/Makefile
index af1f836..f0d7b28 100644
--- a/devel/p5-Sys-RunAlone/Makefile
+++ b/devel/p5-Sys-RunAlone/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 0.12
PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Sys
PKGNAMEPREFIX= p5-
MAINTAINER= tobez@FreeBSD.org
diff --git a/devel/p5-Sys-RunAlways/Makefile b/devel/p5-Sys-RunAlways/Makefile
index 5e6b35e..7376dbe 100644
--- a/devel/p5-Sys-RunAlways/Makefile
+++ b/devel/p5-Sys-RunAlways/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 0.05
PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Sys
PKGNAMEPREFIX= p5-
MAINTAINER= tobez@FreeBSD.org
diff --git a/devel/p5-Sys-Syscall/Makefile b/devel/p5-Sys-Syscall/Makefile
index 897ce2c..c098bfa 100644
--- a/devel/p5-Sys-Syscall/Makefile
+++ b/devel/p5-Sys-Syscall/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 0.25
PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Sys
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
diff --git a/devel/p5-TAP-SimpleOutput/Makefile b/devel/p5-TAP-SimpleOutput/Makefile
index 019f072..63bd5f0 100644
--- a/devel/p5-TAP-SimpleOutput/Makefile
+++ b/devel/p5-TAP-SimpleOutput/Makefile
@@ -5,7 +5,6 @@ PORTVERSION= 0.002
PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= TAP
PKGNAMEPREFIX= p5-
MAINTAINER= lth@FreeBSD.org
diff --git a/devel/p5-Term-VT102-Boundless/Makefile b/devel/p5-Term-VT102-Boundless/Makefile
index 8edcefe..c40b6b9 100644
--- a/devel/p5-Term-VT102-Boundless/Makefile
+++ b/devel/p5-Term-VT102-Boundless/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 0.04
PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Term
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
diff --git a/devel/p5-Term-VT102/Makefile b/devel/p5-Term-VT102/Makefile
index 20e46c5..4b25060 100644
--- a/devel/p5-Term-VT102/Makefile
+++ b/devel/p5-Term-VT102/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 0.91
PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Term
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
diff --git a/devel/p5-Test-Assertions/Makefile b/devel/p5-Test-Assertions/Makefile
index e1cc935..31c98af 100644
--- a/devel/p5-Test-Assertions/Makefile
+++ b/devel/p5-Test-Assertions/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 1.054
PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Test
PKGNAMEPREFIX= p5-
MAINTAINER= lth@FreeBSD.org
diff --git a/devel/p5-Test-FailWarnings/Makefile b/devel/p5-Test-FailWarnings/Makefile
index 67d49d0..8749f37 100644
--- a/devel/p5-Test-FailWarnings/Makefile
+++ b/devel/p5-Test-FailWarnings/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 0.008
PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Test
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
diff --git a/devel/p5-Test-File-ShareDir/Makefile b/devel/p5-Test-File-ShareDir/Makefile
index c883e77..4c91cab 100644
--- a/devel/p5-Test-File-ShareDir/Makefile
+++ b/devel/p5-Test-File-ShareDir/Makefile
@@ -4,7 +4,6 @@ PORTNAME= Test-File-ShareDir
PORTVERSION= 1.001001
CATEGORIES= devel perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Test
PKGNAMEPREFIX= p5-
MAINTAINER= lth@FreeBSD.org
diff --git a/devel/p5-Test-HexString/Makefile b/devel/p5-Test-HexString/Makefile
index 8512684..2f3477d 100644
--- a/devel/p5-Test-HexString/Makefile
+++ b/devel/p5-Test-HexString/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 0.03
PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Test
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
diff --git a/devel/p5-Test-InDistDir/Makefile b/devel/p5-Test-InDistDir/Makefile
index f89526d..9536358 100644
--- a/devel/p5-Test-InDistDir/Makefile
+++ b/devel/p5-Test-InDistDir/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 1.112071
PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Test
PKGNAMEPREFIX= p5-
MAINTAINER= lth@FreeBSD.org
diff --git a/devel/p5-Test-JSON/Makefile b/devel/p5-Test-JSON/Makefile
index a75b6b3..97f711b 100644
--- a/devel/p5-Test-JSON/Makefile
+++ b/devel/p5-Test-JSON/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 0.11
PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Test
PKGNAMEPREFIX= p5-
DISTNAME= ${PORTNAME}-${DISTVERSION:C/0$//}
diff --git a/devel/p5-Test-Moose-More/Makefile b/devel/p5-Test-Moose-More/Makefile
index 0368557..20bebc4 100644
--- a/devel/p5-Test-Moose-More/Makefile
+++ b/devel/p5-Test-Moose-More/Makefile
@@ -4,7 +4,6 @@ PORTNAME= Test-Moose-More
PORTVERSION= 0.025
CATEGORIES= devel perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Test
PKGNAMEPREFIX= p5-
MAINTAINER= lth@FreeBSD.org
diff --git a/devel/p5-Test-Script/Makefile b/devel/p5-Test-Script/Makefile
index 5207598..237639c 100644
--- a/devel/p5-Test-Script/Makefile
+++ b/devel/p5-Test-Script/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 1.07
PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Test
PKGNAMEPREFIX= p5-
MAINTAINER= lth@FreeBSD.org
diff --git a/devel/p5-Test-SubCalls/Makefile b/devel/p5-Test-SubCalls/Makefile
index 8350f55..7e0f6f7 100644
--- a/devel/p5-Test-SubCalls/Makefile
+++ b/devel/p5-Test-SubCalls/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 1.09
PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Test
PKGNAMEPREFIX= p5-
MAINTAINER= lth@FreeBSD.org
diff --git a/devel/p5-Test-Without-Module/Makefile b/devel/p5-Test-Without-Module/Makefile
index bf4d784..84be1bc 100644
--- a/devel/p5-Test-Without-Module/Makefile
+++ b/devel/p5-Test-Without-Module/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 0.18
PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
-#MASTER_SITE_SUBDIR=
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
diff --git a/devel/p5-Test-XML-Valid/Makefile b/devel/p5-Test-XML-Valid/Makefile
index a919f83..836f742 100644
--- a/devel/p5-Test-XML-Valid/Makefile
+++ b/devel/p5-Test-XML-Valid/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 0.04
PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Test
PKGNAMEPREFIX= p5-
MAINTAINER= lth@FreeBSD.org
diff --git a/devel/p5-Thread-Suspend/Makefile b/devel/p5-Thread-Suspend/Makefile
index 75d2bfe..f5a6627 100644
--- a/devel/p5-Thread-Suspend/Makefile
+++ b/devel/p5-Thread-Suspend/Makefile
@@ -5,8 +5,7 @@ PORTNAME= Thread-Suspend
PORTVERSION= 1.22
PORTREVISION= 1
CATEGORIES= devel perl5
-MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
-MASTER_SITE_SUBDIR= Thread
+MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
@@ -15,12 +14,10 @@ COMMENT= Suspend and resume operations for threads
USES= perl5
USE_PERL5= configure
-.include <bsd.port.pre.mk>
-
pre-everything::
@${ECHO_MSG} "----------------------------------------------------------"
@${ECHO_MSG} "This module requires a threaded perl. If your install"
@${ECHO_MSG} "is not threaded please install lang/${PERL_PORT} with threads"
@${ECHO_MSG} "----------------------------------------------------------"
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/devel/p5-Tie-File-AsHash/Makefile b/devel/p5-Tie-File-AsHash/Makefile
index a7014f1..923e883 100644
--- a/devel/p5-Tie-File-AsHash/Makefile
+++ b/devel/p5-Tie-File-AsHash/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 0.08
PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Tie
PKGNAMEPREFIX= p5-
MAINTAINER= rdg@bzerk.org
diff --git a/devel/p5-Tie-Util/Makefile b/devel/p5-Tie-Util/Makefile
index 85b3c6c..87c05f9 100644
--- a/devel/p5-Tie-Util/Makefile
+++ b/devel/p5-Tie-Util/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 0.03
PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Tie
PKGNAMEPREFIX= p5-
MAINTAINER= tobez@FreeBSD.org
diff --git a/devel/p5-Time-Out/Makefile b/devel/p5-Time-Out/Makefile
index d6223e5..6e304e8 100644
--- a/devel/p5-Time-Out/Makefile
+++ b/devel/p5-Time-Out/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 0.11
PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Time
PKGNAMEPREFIX= p5-
MAINTAINER= tobez@FreeBSD.org
diff --git a/devel/p5-TimeDate/Makefile b/devel/p5-TimeDate/Makefile
index 648e5fc..a3f077a 100644
--- a/devel/p5-TimeDate/Makefile
+++ b/devel/p5-TimeDate/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 2.30
PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= devel perl5
-MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR=Date
+MASTER_SITES= CPAN/Date
PKGNAMEPREFIX= p5-
MAINTAINER= demon@FreeBSD.org
diff --git a/devel/p5-TraceFuncs/Makefile b/devel/p5-TraceFuncs/Makefile
index 5a3e17a..1929172 100644
--- a/devel/p5-TraceFuncs/Makefile
+++ b/devel/p5-TraceFuncs/Makefile
@@ -5,8 +5,7 @@ PORTNAME= TraceFuncs
PORTVERSION= 0.1
PORTREVISION= 1
CATEGORIES= devel perl5
-MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Devel
+MASTER_SITES= CPAN/Devel
PKGNAMEPREFIX= p5-
DISTNAME= traceFunc-${PORTVERSION}
diff --git a/devel/p5-forks/Makefile b/devel/p5-forks/Makefile
index 69f35c7..a2e681b 100644
--- a/devel/p5-forks/Makefile
+++ b/devel/p5-forks/Makefile
@@ -5,8 +5,7 @@ PORTNAME= forks
PORTVERSION= 0.36
PORTREVISION= 1
CATEGORIES= devel perl5
-MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= SOAP/RYBSKEJ
+MASTER_SITES= CPAN/SOAP/RYBSKEJ
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
diff --git a/devel/p5-orz/Makefile b/devel/p5-orz/Makefile
index cbaaab4..eba4659 100644
--- a/devel/p5-orz/Makefile
+++ b/devel/p5-orz/Makefile
@@ -5,8 +5,7 @@ PORTNAME= orz
PORTVERSION= 0.13
PORTREVISION= 1
CATEGORIES= devel perl5
-MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= CPAN/INGY
+MASTER_SITES= CPAN/CPAN/INGY
PKGNAMEPREFIX= p5-
MAINTAINER= snowfly@yuntech.edu.tw
diff --git a/devel/pcre/Makefile b/devel/pcre/Makefile
index d56643e..f869fed 100644
--- a/devel/pcre/Makefile
+++ b/devel/pcre/Makefile
@@ -6,10 +6,9 @@ PORTVERSION= 8.35
PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION} \
- ftp://ftp.csx.cam.ac.uk/pub/software/programming/%SUBDIR%/ \
- ftp://ftp.fu-berlin.de/unix/misc/%SUBDIR%/ \
- ftp://ftp.tin.org/pub/libs/%SUBDIR%/
-MASTER_SITE_SUBDIR=${PORTNAME}
+ ftp://ftp.csx.cam.ac.uk/pub/software/programming/${PORTNAME}/ \
+ ftp://ftp.fu-berlin.de/unix/misc/${PORTNAME}/ \
+ ftp://ftp.tin.org/pub/libs/${PORTNAME}/
MAINTAINER= bf@FreeBSD.org
COMMENT= Perl Compatible Regular Expressions library
diff --git a/devel/pear-IO_Bit/Makefile b/devel/pear-IO_Bit/Makefile
index e0d915f..f2200b2 100644
--- a/devel/pear-IO_Bit/Makefile
+++ b/devel/pear-IO_Bit/Makefile
@@ -5,8 +5,7 @@ PORTNAME= IO_Bit
PORTVERSION= 2.1.1
CATEGORIES= devel pear
MASTER_SITES= http://openpear.org/get/ \
- LOCAL
-MASTER_SITE_SUBDIR= tota/${PKGNAMEPREFIX}${PORTNAME}
+ LOCAL/tota/${PKGNAMEPREFIX}${PORTNAME}
PKGNAMEPREFIX= pear-
MAINTAINER= yoya@awm.jp
diff --git a/devel/phpsh/Makefile b/devel/phpsh/Makefile
index 1e39097..f0e0425 100644
--- a/devel/phpsh/Makefile
+++ b/devel/phpsh/Makefile
@@ -5,9 +5,8 @@ PORTNAME= phpsh
PORTVERSION= 20110513
PORTREVISION= 2
CATEGORIES= devel
-MASTER_SITES= http://distfiles.pirateparty.in/%SUBDIR%/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= ashish
+MASTER_SITES= http://distfiles.pirateparty.in/ashish/ \
+ LOCAL/ashish
MAINTAINER= ashish@FreeBSD.org
COMMENT= Interactive shell for PHP
diff --git a/devel/powerpc64-gcc/Makefile b/devel/powerpc64-gcc/Makefile
index c69dca7..2e610ab 100644
--- a/devel/powerpc64-gcc/Makefile
+++ b/devel/powerpc64-gcc/Makefile
@@ -4,8 +4,7 @@ PORTNAME= gcc
PORTVERSION= 4.9.2
PORTREVISION?= 1
CATEGORIES= devel
-MASTER_SITES= GCC
-MASTER_SITE_SUBDIR= releases/gcc-${DISTVERSION}
+MASTER_SITES= GCC/releases/gcc-${DISTVERSION}
PKGNAMEPREFIX?= powerpc64-
MAINTAINER= bapt@FreeBSD.org
diff --git a/devel/ppl/Makefile b/devel/ppl/Makefile
index e046089..c737a99 100644
--- a/devel/ppl/Makefile
+++ b/devel/ppl/Makefile
@@ -5,9 +5,8 @@ PORTNAME= ppl
PORTVERSION= 1.1
PORTREVISION= 1
CATEGORIES= devel
-MASTER_SITES= ftp://ftp.cs.unipr.it/pub/ppl/releases/%SUBDIR%/ \
- http://bugseng.com/products/ppl/download/ftp/releases/%SUBDIR%/
-MASTER_SITE_SUBDIR= ${PORTVERSION}
+MASTER_SITES= ftp://ftp.cs.unipr.it/pub/ppl/releases/${PORTVERSION}/ \
+ http://bugseng.com/products/ppl/download/ftp/releases/${PORTVERSION}/
MAINTAINER= ports@FreeBSD.org
COMMENT= C++ library for the manipulation of convex polyhedra
diff --git a/devel/protobuf25/Makefile b/devel/protobuf25/Makefile
index 58a4617..c33107f 100644
--- a/devel/protobuf25/Makefile
+++ b/devel/protobuf25/Makefile
@@ -6,7 +6,7 @@ PORTNAME= protobuf
PORTVERSION= 2.5.0
PORTREVISION= 4
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
PKGNAMESUFFIX= 25
MAINTAINER= demon@FreeBSD.org
diff --git a/devel/psptoolchain-binutils/Makefile b/devel/psptoolchain-binutils/Makefile
index f7fb5fc..6ca3a13 100644
--- a/devel/psptoolchain-binutils/Makefile
+++ b/devel/psptoolchain-binutils/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 2.22
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ftp://ftp.gnu.org/pub/gnu/${PORTNAME}/ \
- ${MASTER_SITE_SOURCEWARE}
-MASTER_SITE_SUBDIR= ${PORTNAME}/releases
+ SOURCEWARE/${PORTNAME}/releases
PKGNAMEPREFIX= psptoolchain-
MAINTAINER= tphilipp@potion-studios.com
diff --git a/devel/psptoolchain-gcc-stage1/Makefile b/devel/psptoolchain-gcc-stage1/Makefile
index d044f25..430ce8f 100644
--- a/devel/psptoolchain-gcc-stage1/Makefile
+++ b/devel/psptoolchain-gcc-stage1/Makefile
@@ -5,8 +5,7 @@ PORTNAME= gcc
PORTVERSION= 4.6.2
PORTREVISION?= 3
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_GCC}
-MASTER_SITE_SUBDIR= releases/${DISTNAME}/
+MASTER_SITES= GCC/releases/${DISTNAME}
PKGNAMEPREFIX= psptoolchain-
PKGNAMESUFFIX?= -stage1
diff --git a/devel/psptoolchain-gdb/Makefile b/devel/psptoolchain-gdb/Makefile
index aa08c14..d13fbec 100644
--- a/devel/psptoolchain-gdb/Makefile
+++ b/devel/psptoolchain-gdb/Makefile
@@ -5,8 +5,7 @@ PORTNAME= gdb
PORTVERSION= 7.3.1
PORTREVISION= 1
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_GNU}
-MASTER_SITE_SUBDIR= ${PORTNAME}/
+MASTER_SITES= GNU
PKGNAMEPREFIX= psptoolchain-
MAINTAINER= tphilipp@potion-studios.com
diff --git a/devel/psptoolchain-newlib/Makefile b/devel/psptoolchain-newlib/Makefile
index 065f221..c1a8814 100644
--- a/devel/psptoolchain-newlib/Makefile
+++ b/devel/psptoolchain-newlib/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 1.20.0
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ftp://sources.redhat.com/pub/ \
- ${MASTER_SITE_SOURCEWARE}
-MASTER_SITE_SUBDIR= ${PORTNAME}
+ SOURCEWARE/${PORTNAME}
PKGNAMEPREFIX= psptoolchain-
MAINTAINER= tphilipp@potion-studios.com
diff --git a/devel/pth/Makefile b/devel/pth/Makefile
index 7ca38c6..2c52009 100644
--- a/devel/pth/Makefile
+++ b/devel/pth/Makefile
@@ -5,8 +5,7 @@ PORTNAME= pth
PORTVERSION= 2.0.7
PORTREVISION= 1
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_GNU}
-MASTER_SITE_SUBDIR= pth
+MASTER_SITES= GNU
PKGNAMESUFFIX?= # empty
MAINTAINER= vd@FreeBSD.org
diff --git a/devel/py-argparse/Makefile b/devel/py-argparse/Makefile
index c4c7d7a..66fe57e 100644
--- a/devel/py-argparse/Makefile
+++ b/devel/py-argparse/Makefile
@@ -5,7 +5,7 @@ PORTNAME= argparse
PORTVERSION= 1.2.1
PORTREVISION= 1
CATEGORIES= devel python
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= lwhsu@FreeBSD.org
diff --git a/devel/py-avro/Makefile b/devel/py-avro/Makefile
index 95a8e8a..aa230af 100644
--- a/devel/py-avro/Makefile
+++ b/devel/py-avro/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 1.7.4
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://www.sai.msu.su/apache/${PORTNAME}/${PORTNAME}-${PORTVERSION}/ \
- APACHE
-MASTER_SITE_SUBDIR= ${PORTNAME}/stable
+ APACHE/${PORTNAME}/stable
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= ${PORTNAME}-src-${PORTVERSION}
diff --git a/devel/py-cld/Makefile b/devel/py-cld/Makefile
index c6e9ba4..3db18f8 100644
--- a/devel/py-cld/Makefile
+++ b/devel/py-cld/Makefile
@@ -4,8 +4,7 @@
PORTNAME= cld
PORTVERSION= 20150113
CATEGORIES= devel python
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= demon
+MASTER_SITES= LOCAL/demon
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= chromium_compact_language_detector-${PORTVERSION}
diff --git a/devel/py-cmdln/Makefile b/devel/py-cmdln/Makefile
index b4f1991..8572b01 100644
--- a/devel/py-cmdln/Makefile
+++ b/devel/py-cmdln/Makefile
@@ -5,7 +5,7 @@ PORTNAME= cmdln
PORTVERSION= 1.1.2
PORTREVISION= 1
CATEGORIES= devel python
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= python@FreeBSD.org
diff --git a/devel/py-country/Makefile b/devel/py-country/Makefile
index f9e9015..060d07a 100644
--- a/devel/py-country/Makefile
+++ b/devel/py-country/Makefile
@@ -5,7 +5,6 @@ PORTNAME= country
PORTVERSION= 1.10
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
-MASTER_SITE_SUBDIR=source/p/pycountry
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= pycountry-${PORTVERSION}
diff --git a/devel/py-extremes/Makefile b/devel/py-extremes/Makefile
index a345acd..8b8a886 100644
--- a/devel/py-extremes/Makefile
+++ b/devel/py-extremes/Makefile
@@ -5,8 +5,7 @@ PORTNAME= Extremes
PORTVERSION= 1.1.1
PORTREVISION= 1
CATEGORIES= devel python
-MASTER_SITES= ${MASTER_SITE_CHEESESHOP}
-MASTER_SITE_SUBDIR= source/E/Extremes
+MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= ports@FreeBSD.org
diff --git a/devel/py-freebsd/Makefile b/devel/py-freebsd/Makefile
index 84ebead..c4361e1 100644
--- a/devel/py-freebsd/Makefile
+++ b/devel/py-freebsd/Makefile
@@ -5,9 +5,8 @@ PORTNAME= freebsd
PORTVERSION= 0.9.3
PORTREVISION= 6
CATEGORIES= devel python
-MASTER_SITES= ${MASTER_SITE_LOCAL} \
+MASTER_SITES= LOCAL/perky \
http://people.freebsd.org/~perky/distfiles/
-MASTER_SITE_SUBDIR= perky
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= py-freebsd-${PORTVERSION}
diff --git a/devel/py-fsm/Makefile b/devel/py-fsm/Makefile
index 65f3f8e..d818d37 100644
--- a/devel/py-fsm/Makefile
+++ b/devel/py-fsm/Makefile
@@ -3,7 +3,7 @@
PORTNAME= fsm
PORTVERSION= 0.01
CATEGORIES= devel python
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
PROJECTHOST= python-${PORTNAME}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= python-${PORTNAME}-${PORTVERSION}
diff --git a/devel/py-game_sdl2/Makefile b/devel/py-game_sdl2/Makefile
index 7df9a98..7def119 100644
--- a/devel/py-game_sdl2/Makefile
+++ b/devel/py-game_sdl2/Makefile
@@ -4,7 +4,7 @@ PORTNAME= game_sdl2
PORTVERSION= 6.99.2
CATEGORIES= devel python
MASTER_SITES= http://www.renpy.org/dl/${PORTVERSION}/ \
- GENTOO/distfiles
+ GENTOO
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= py${PORTNAME}-for-renpy-${DISTVERSION}
diff --git a/devel/py-gobject/Makefile b/devel/py-gobject/Makefile
index 7ba8be7..0c3f0fb 100644
--- a/devel/py-gobject/Makefile
+++ b/devel/py-gobject/Makefile
@@ -6,8 +6,7 @@ PORTNAME= gobject
PORTVERSION= 2.28.6
PORTREVISION= 5
CATEGORIES= devel python
-MASTER_SITES= GNOME
-MASTER_SITE_SUBDIR= sources/pygobject/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
+MASTER_SITES= GNOME/sources/pygobject/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= pygobject-${PORTVERSION}
DIST_SUBDIR= gnome2
diff --git a/devel/py-icu/Makefile b/devel/py-icu/Makefile
index b5114df..a58a926 100644
--- a/devel/py-icu/Makefile
+++ b/devel/py-icu/Makefile
@@ -5,8 +5,7 @@ PORTNAME= icu
PORTVERSION= 1.8
PORTREVISION= 1
CATEGORIES= devel python
-MASTER_SITES= ${MASTER_SITE_CHEESESHOP}
-MASTER_SITE_SUBDIR= source/P/PyICU
+MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= PyICU-${PORTVERSION}
diff --git a/devel/py-ipaddr/Makefile b/devel/py-ipaddr/Makefile
index 15ea050..e55f6d2 100644
--- a/devel/py-ipaddr/Makefile
+++ b/devel/py-ipaddr/Makefile
@@ -5,7 +5,7 @@ PORTNAME= ipaddr
PORTVERSION= 2.1.10
PORTREVISION= 1
CATEGORIES= devel python
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= mopsfelder@gmail.com
diff --git a/devel/py-meliae/Makefile b/devel/py-meliae/Makefile
index f795e22..8165c62 100644
--- a/devel/py-meliae/Makefile
+++ b/devel/py-meliae/Makefile
@@ -5,7 +5,7 @@ PORTVERSION= 0.4.0
PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= http://launchpadlibrarian.net/74803944/ \
- LOCAL/${MAINTAINER:C/([^@]*)@.*/\1/}
+ LOCAL/sbz
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sbz@FreeBSD.org
diff --git a/devel/py-orbit/Makefile b/devel/py-orbit/Makefile
index 05fc088..2326f89 100644
--- a/devel/py-orbit/Makefile
+++ b/devel/py-orbit/Makefile
@@ -6,8 +6,7 @@ PORTNAME= orbit
PORTVERSION= 2.24.0
PORTREVISION= 1
CATEGORIES= devel python
-MASTER_SITES= GNOME
-MASTER_SITE_SUBDIR= sources/pyorbit/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
+MASTER_SITES= GNOME/sources/pyorbit/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= pyorbit-${PORTVERSION}
DIST_SUBDIR= gnome2
diff --git a/devel/py-prettytable/Makefile b/devel/py-prettytable/Makefile
index d789e8a..a35e2b7 100644
--- a/devel/py-prettytable/Makefile
+++ b/devel/py-prettytable/Makefile
@@ -5,8 +5,7 @@ PORTNAME= prettytable
PORTVERSION= 0.7.2
PORTREVISION= 1
CATEGORIES= devel python
-MASTER_SITES= CHEESESHOP
-MASTER_SITE_SUBDIR=source/P/PrettyTable
+MASTER_SITES= CHEESESHOP/source/P/PrettyTable
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= novel@FreeBSD.org
diff --git a/devel/py-protocols/Makefile b/devel/py-protocols/Makefile
index 5157617..f398610 100644
--- a/devel/py-protocols/Makefile
+++ b/devel/py-protocols/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 0.9.3
PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= http://peak.telecommunity.com/dist/
-MASTER_SITE_SUBDIR= ${PORTNAME}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= PyProtocols-${PORTVERSION}
diff --git a/devel/py-pyev/Makefile b/devel/py-pyev/Makefile
index 741965e..5c342d7 100644
--- a/devel/py-pyev/Makefile
+++ b/devel/py-pyev/Makefile
@@ -5,7 +5,6 @@ PORTNAME= pyev
PORTVERSION= 0.9.0
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
-MASTER_SITE_SUBDIR= source/p/pyev
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= gd.workbox@gmail.com
diff --git a/devel/py-pygpx/Makefile b/devel/py-pygpx/Makefile
index 8375c3e..2c41729 100644
--- a/devel/py-pygpx/Makefile
+++ b/devel/py-pygpx/Makefile
@@ -5,8 +5,7 @@ PORTNAME= pygpx
PORTVERSION= 0.2
PORTREVISION= 1
CATEGORIES= devel python
-MASTER_SITES= ${MASTER_SITE_CHEESESHOP}
-MASTER_SITE_SUBDIR= source/p/pygpx/
+MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= wenheping@gmail.com
diff --git a/devel/py-qpid/Makefile b/devel/py-qpid/Makefile
index 3035ec3..be131c1 100644
--- a/devel/py-qpid/Makefile
+++ b/devel/py-qpid/Makefile
@@ -4,8 +4,7 @@
PORTNAME= qpid
PORTVERSION= 0.32
CATEGORIES= devel python
-MASTER_SITES= APACHE
-MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTVERSION}
+MASTER_SITES= APACHE/${PORTNAME}/${PORTVERSION}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= ${PORTNAME}-python-${PORTVERSION}
diff --git a/devel/py-qt4/bsd.pyqt.mk b/devel/py-qt4/bsd.pyqt.mk
index 0ae90cd..259ac43 100644
--- a/devel/py-qt4/bsd.pyqt.mk
+++ b/devel/py-qt4/bsd.pyqt.mk
@@ -13,11 +13,11 @@ PYQT_MAINTAINER= kde@FreeBSD.org
MASTER_SITE_RIVERBANK= http://www.riverbankcomputing.com/static/Downloads/%SUBDIR%/
MASTER_SITES_SIP= SF/pyqt/sip/sip-${PORTVERSION} \
- ${MASTER_SITE_GENTOO:S,%SUBDIR%,distfiles,}
+ GENTOO
MASTER_SITES_PYQT4= SF/pyqt/PyQt4/PyQt-${PORTVERSION} \
- ${MASTER_SITE_GENTOO:S,%SUBDIR%,distfiles,}
+ GENTOO
MASTER_SITES_QSCI2= SF/pyqt/QScintilla2/QScintilla-${PORTVERSION} \
- ${MASTER_SITE_GENTOO:S,%SUBDIR%,distfiles,}
+ GENTOO
SIP_VERSION= 4.16.5
PYQT4_VERSION= 4.11.3
diff --git a/devel/py-sip/Makefile b/devel/py-sip/Makefile
index 5e84d5b..913ec80 100644
--- a/devel/py-sip/Makefile
+++ b/devel/py-sip/Makefile
@@ -5,7 +5,7 @@ PORTNAME= sip
PORTVERSION= ${SIP_VERSION}
PORTEPOCH= 1
CATEGORIES= devel python
-MASTER_SITES= ${MASTER_SITES_SIP} ${MASTER_SITE_LOCAL}
+MASTER_SITES= ${MASTER_SITES_SIP}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= ${SIP_DISTNAME}
diff --git a/devel/py-statgrab/Makefile b/devel/py-statgrab/Makefile
index 4b6d40b..8af0235 100644
--- a/devel/py-statgrab/Makefile
+++ b/devel/py-statgrab/Makefile
@@ -4,9 +4,8 @@
PORTNAME= statgrab
PORTVERSION= 0.6
CATEGORIES= devel python
-MASTER_SITES= http://ftp.mirrorservice.org/pub/i-scream/%SUBDIR%/ \
- http://ftp.i-scream.org/pub/i-scream/%SUBDIR%/
-MASTER_SITE_SUBDIR= py${PORTNAME}
+MASTER_SITES= http://ftp.mirrorservice.org/pub/i-scream/py${PORTNAME}/ \
+ http://ftp.i-scream.org/pub/i-scream/py${PORTNAME}/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= py${PORTNAME}-${PORTVERSION}
diff --git a/devel/py-ydbf/Makefile b/devel/py-ydbf/Makefile
index f40f184..6014cae 100644
--- a/devel/py-ydbf/Makefile
+++ b/devel/py-ydbf/Makefile
@@ -5,8 +5,7 @@ PORTNAME= ydbf
PORTVERSION= 0.0.1
PORTREVISION= 1
CATEGORIES= devel python
-MASTER_SITES= ${MASTER_SITE_CHEESESHOP}
-MASTER_SITE_SUBDIR= source/Y/YDbf/
+MASTER_SITES= CHEESESHOP/source/Y/YDbf/
DISTNAME= YDbf-0.0.1dev-20080514
MAINTAINER= andrey.polyakov@unix.net
diff --git a/devel/py_static_check/Makefile b/devel/py_static_check/Makefile
index 45bfaaf..6249d71 100644
--- a/devel/py_static_check/Makefile
+++ b/devel/py_static_check/Makefile
@@ -5,8 +5,7 @@ PORTNAME= py_static_check
PORTVERSION= 1.2
PORTREVISION= 1
CATEGORIES= devel python
-MASTER_SITES= ${MASTER_SITE_CHEESESHOP}
-MASTER_SITE_SUBDIR= source/p/py_static_check
+MASTER_SITES= CHEESESHOP
MAINTAINER= jnlin@csie.nctu.edu.tw
COMMENT= Statically check your python code
diff --git a/devel/pygobject3-common/Makefile b/devel/pygobject3-common/Makefile
index ad47fcb..d84296f 100644
--- a/devel/pygobject3-common/Makefile
+++ b/devel/pygobject3-common/Makefile
@@ -6,8 +6,7 @@ PORTNAME= gobject
PORTVERSION= 3.14.0
PORTREVISION?= 0
CATEGORIES= devel python
-MASTER_SITES= GNOME
-MASTER_SITE_SUBDIR= sources/pygobject/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
+MASTER_SITES= GNOME/sources/pygobject/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
PKGNAMEPREFIX?= py
PKGNAMESUFFIX?= 3-common
DISTNAME= pygobject-${PORTVERSION}
diff --git a/devel/pyobfuscate/Makefile b/devel/pyobfuscate/Makefile
index 10a16da..4f52b63 100644
--- a/devel/pyobfuscate/Makefile
+++ b/devel/pyobfuscate/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 0.3
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://www.lysator.liu.se/~astrand/projects/pyobfuscate/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= arved
+ LOCAL/arved
MAINTAINER= ports@FreeBSD.org
COMMENT= Python source code obfuscator
diff --git a/devel/qmake/Makefile b/devel/qmake/Makefile
index 1c92509..59761e7 100644
--- a/devel/qmake/Makefile
+++ b/devel/qmake/Makefile
@@ -5,8 +5,7 @@ PORTNAME= qmake
PORTVERSION= 3.3.8
PORTREVISION= 2
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_QT}
-MASTER_SITE_SUBDIR= archive/qt/${PORTVERSION:R:R}
+MASTER_SITES= QT/archive/qt/${PORTVERSION:R:R}
DISTNAME= qt-x11-free-${PORTVERSION}
DIST_SUBDIR= KDE
diff --git a/devel/qt4-assistant-adp/Makefile b/devel/qt4-assistant-adp/Makefile
index 82300e6..26cb491 100644
--- a/devel/qt4-assistant-adp/Makefile
+++ b/devel/qt4-assistant-adp/Makefile
@@ -5,8 +5,7 @@ PORTNAME= assistant
PORTVERSION= 4.6.3
PORTREVISION= 1
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_QT}
-MASTER_SITE_SUBDIR= archive/qt/${PORTVERSION:R}
+MASTER_SITES= QT
PKGNAMEPREFIX= qt4-
PKGNAMESUFFIX= -adp
DISTNAME= qt-assistant-qassistantclient-library-compat-src-${PORTVERSION}
diff --git a/devel/qt4-libqtassistantclient/Makefile b/devel/qt4-libqtassistantclient/Makefile
index 499252e..11fa50f 100644
--- a/devel/qt4-libqtassistantclient/Makefile
+++ b/devel/qt4-libqtassistantclient/Makefile
@@ -5,8 +5,7 @@ PORTNAME= libQtAssistantClient
PORTVERSION= 4.6.3
PORTREVISION= 1
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_QT}
-MASTER_SITE_SUBDIR= archive/qt/${PORTVERSION:R}
+MASTER_SITES= QT
PKGNAMEPREFIX= qt4-
DISTNAME= qt-assistant-qassistantclient-library-compat-src-${PORTVERSION}
DIST_SUBDIR= KDE
diff --git a/devel/qtcreator/Makefile b/devel/qtcreator/Makefile
index 63b80e6..88ae887 100644
--- a/devel/qtcreator/Makefile
+++ b/devel/qtcreator/Makefile
@@ -4,8 +4,7 @@
PORTNAME= qtcreator
DISTVERSION= 3.4.0
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_QT}
-MASTER_SITE_SUBDIR=official_releases/qtcreator/${DISTVERSION:R}/${DISTVERSION}
+MASTER_SITES= QT/official_releases/qtcreator/${DISTVERSION:R}/${DISTVERSION}
DISTNAME= qt-creator-opensource-src-${DISTVERSION}
DIST_SUBDIR= KDE
diff --git a/devel/quickcheck++/Makefile b/devel/quickcheck++/Makefile
index 74b75cb..55395c5 100644
--- a/devel/quickcheck++/Makefile
+++ b/devel/quickcheck++/Makefile
@@ -5,8 +5,7 @@ PORTNAME= quickcheck++
PORTVERSION= 0.0.3
CATEGORIES= devel
MASTER_SITES= http://software.legiasoft.com/archives/ \
- LOCAL
-MASTER_SITE_SUBDIR= tota/${PORTNAME}
+ LOCAL/tota/${PORTNAME}
DISTNAME= quickcheck_${PORTVERSION}
MAINTAINER= tota@FreeBSD.org
diff --git a/devel/quilt/Makefile b/devel/quilt/Makefile
index 3773736..91bbc11 100644
--- a/devel/quilt/Makefile
+++ b/devel/quilt/Makefile
@@ -5,8 +5,7 @@ PORTNAME= quilt
PORTVERSION= 0.61
PORTREVISION= 1
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_SAVANNAH}
-MASTER_SITE_SUBDIR= quilt
+MASTER_SITES= SAVANNAH
MAINTAINER= doj@cubic.org
COMMENT= Collection of bash scripts to ease working with patch files
diff --git a/devel/rcs/Makefile b/devel/rcs/Makefile
index d76ddab..896799845 100644
--- a/devel/rcs/Makefile
+++ b/devel/rcs/Makefile
@@ -3,8 +3,7 @@
PORTNAME= rcs
PORTVERSION= 5.9.2
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_GNU}
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= GNU
MAINTAINER= zeising@FreeBSD.org
COMMENT= Version control system
diff --git a/devel/rcs57/Makefile b/devel/rcs57/Makefile
index 6611318..99ed58b 100644
--- a/devel/rcs57/Makefile
+++ b/devel/rcs57/Makefile
@@ -3,8 +3,7 @@
PORTNAME= rcs
PORTVERSION= 5.7
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_GNU}
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= GNU
PKGNAMESUFFIX= 57
MAINTAINER= cy@FreeBSD.org
diff --git a/devel/readline/Makefile b/devel/readline/Makefile
index 30c27df..6f4330c 100644
--- a/devel/readline/Makefile
+++ b/devel/readline/Makefile
@@ -6,11 +6,9 @@ PORTVERSION= 6.3${PATCHLEVEL}
CATEGORIES= devel
MASTER_SITES= GNU \
ftp://ftp.cwru.edu/pub/bash/
-MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= ${PORTNAME}-${PORTVERSION:C/^([0-9].[0-9]).*/\1/}
-PATCH_SITES= ${MASTER_SITES}
-PATCH_SITE_SUBDIR=${PORTNAME}/${PORTNAME}-${PORTVERSION:R}-patches
+PATCH_SITES= GNU/${PORTNAME}/${PORTNAME}-${PORTVERSION:R}-patches
MAINTAINER= johans@FreeBSD.org
COMMENT= Library for editing command lines as they are typed
diff --git a/devel/remake/Makefile b/devel/remake/Makefile
index 8ded712..699a267 100644
--- a/devel/remake/Makefile
+++ b/devel/remake/Makefile
@@ -4,8 +4,7 @@
PORTNAME= remake
PORTVERSION= 0.9
CATEGORIES= devel
-MASTER_SITES= SF
-MASTER_SITE_SUBDIR=bashdb/remake/3.82+dbg-${PORTVERSION}/
+MASTER_SITES= SF/bashdb/remake/3.82+dbg-${PORTVERSION}/
DISTNAME= remake-3.82+dbg${PORTVERSION}
MAINTAINER= arved@FreeBSD.org
diff --git a/devel/renpy/Makefile b/devel/renpy/Makefile
index 8e8ca82..8ed6eea 100644
--- a/devel/renpy/Makefile
+++ b/devel/renpy/Makefile
@@ -5,7 +5,7 @@ PORTVERSION= 6.99.2
DISTVERSIONSUFFIX=-source
CATEGORIES= devel games
MASTER_SITES= http://www.renpy.org/dl/${PORTVERSION}/ \
- GENTOO/distfiles
+ GENTOO
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Framework for developing visual-novel type games
diff --git a/devel/ruby-langscan/Makefile b/devel/ruby-langscan/Makefile
index 4a2d377..085fb20 100644
--- a/devel/ruby-langscan/Makefile
+++ b/devel/ruby-langscan/Makefile
@@ -4,8 +4,7 @@
PORTNAME= langscan
PORTVERSION= 1.2.20070115
CATEGORIES= devel ruby
-MASTER_SITES= LOCAL
-MASTER_SITE_SUBDIR= tota/${PORTNAME}
+MASTER_SITES= LOCAL/tota/${PORTNAME}
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DIST_SUBDIR= ${RUBY_PKGNAMEPREFIX:S|${RUBY_SUFFIX}-||}
diff --git a/devel/ruby-ncurses/Makefile b/devel/ruby-ncurses/Makefile
index 8627438..1c0b0a0 100644
--- a/devel/ruby-ncurses/Makefile
+++ b/devel/ruby-ncurses/Makefile
@@ -4,8 +4,7 @@
PORTNAME= ncurses
PORTVERSION= 1.2.4
CATEGORIES= devel ruby
-MASTER_SITES= ${MASTER_SITE_BERLIOS}
-MASTER_SITE_SUBDIR= ncurses-ruby
+MASTER_SITES= SF/ncurses-ruby
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ${PORTNAME}-ruby-${PORTVERSION}
DIST_SUBDIR= ruby
diff --git a/devel/ruby-setup.rb/Makefile b/devel/ruby-setup.rb/Makefile
index 52739f5..6f14a06 100644
--- a/devel/ruby-setup.rb/Makefile
+++ b/devel/ruby-setup.rb/Makefile
@@ -4,8 +4,7 @@
PORTNAME= setup.rb
PORTVERSION= 3.4.1
CATEGORIES= devel ruby
-MASTER_SITES= http://www.loveruby.net/archive/%SUBDIR%/
-MASTER_SITE_SUBDIR= ${PORTNAME:R}
+MASTER_SITES= http://www.loveruby.net/archive/${PORTNAME:R}/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ${PORTNAME:R}-${PORTVERSION}
DIST_SUBDIR= ruby
diff --git a/devel/rubygem-atoulme-antwrap/Makefile b/devel/rubygem-atoulme-antwrap/Makefile
index 7d0befa..465dedf 100644
--- a/devel/rubygem-atoulme-antwrap/Makefile
+++ b/devel/rubygem-atoulme-antwrap/Makefile
@@ -4,7 +4,7 @@
PORTNAME= atoulme-Antwrap
PORTVERSION= 0.7.5
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_RUBYGEMS}
+MASTER_SITES= RG
MAINTAINER= arved@FreeBSD.org
COMMENT= Ruby wrapper for Apache Ant
diff --git a/devel/rubygem-io-like/Makefile b/devel/rubygem-io-like/Makefile
index 44f436e..78876c2 100644
--- a/devel/rubygem-io-like/Makefile
+++ b/devel/rubygem-io-like/Makefile
@@ -4,8 +4,7 @@
PORTNAME= io-like
PORTVERSION= 0.3.0.20130301
CATEGORIES= devel rubygems
-MASTER_SITES= LOCAL
-MASTER_SITE_SUBDIR= tota/${PORTNAME}
+MASTER_SITES= LOCAL/tota/${PORTNAME}
PKGNAMEPREFIX= rubygem-
MAINTAINER= tota@FreeBSD.org
diff --git a/devel/sabre/Makefile b/devel/sabre/Makefile
index 99c43a7..019a9b3 100644
--- a/devel/sabre/Makefile
+++ b/devel/sabre/Makefile
@@ -4,8 +4,7 @@
PORTNAME= sabre
PORTVERSION= 20100501
CATEGORIES= devel multimedia java
-MASTER_SITES= SF
-MASTER_SITE_SUBDIR= sabre-library
+MASTER_SITES= SF/sabre-library
DISTNAME= ${PORTNAME}-src-${PORTVERSION}
MAINTAINER= ale@FreeBSD.org
diff --git a/devel/safe-iop/Makefile b/devel/safe-iop/Makefile
index bf6123b..70684b9 100644
--- a/devel/safe-iop/Makefile
+++ b/devel/safe-iop/Makefile
@@ -4,12 +4,12 @@
PORTNAME= safe-iop
PORTVERSION= 0.3.1
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
-EXTRACT_SUFX= .tgz
+MASTER_SITES= GOOGLE_CODE
MAINTAINER= ports@FreeBSD.org
COMMENT= Safe integer operation library for C
+USES= tar:tgz
USE_LDCONFIG= yes
ALL_TARGET= so
CFLAGS+= -fPIC
diff --git a/devel/sfio/Makefile b/devel/sfio/Makefile
index 4277ea3..403c414 100644
--- a/devel/sfio/Makefile
+++ b/devel/sfio/Makefile
@@ -4,7 +4,7 @@
PORTNAME= sfio
PORTVERSION= 1999
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_NETBSD}
+MASTER_SITES= NETBSD
DISTNAME= ${PORTNAME}_${PORTVERSION}
EXTRACT_SUFX= .src.unix.cpio
diff --git a/devel/sgb/Makefile b/devel/sgb/Makefile
index a4f59e7..ed42745 100644
--- a/devel/sgb/Makefile
+++ b/devel/sgb/Makefile
@@ -5,8 +5,7 @@ PORTNAME= sgb
PORTVERSION= 20090810
CATEGORIES= devel
MASTER_SITES= ftp://ftp.cs.stanford.edu/pub/sgb/ \
- ${MASTER_SITE_GENTOO}
-MASTER_SITE_SUBDIR= distfiles
+ GENTOO
DISTNAME= sgb-2009-08-10
MAINTAINER= gerald@FreeBSD.org
diff --git a/devel/shtool/Makefile b/devel/shtool/Makefile
index 0923010..54270f9 100644
--- a/devel/shtool/Makefile
+++ b/devel/shtool/Makefile
@@ -4,9 +4,8 @@
PORTNAME= shtool
PORTVERSION= 2.0.8
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_GNU:S/$/:GNU/} ${MASTER_SITE_OSSP:S/$/:OSSP/}
-MASTER_SITE_SUBDIR= ${PORTNAME}/:GNU tool/${PORTNAME}/:OSSP
-DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:GNU,OSSP
+MASTER_SITES= GNU OSSP/tool/${PORTNAME}
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= vd@FreeBSD.org
COMMENT= The GNU Portable Shell Tool
diff --git a/devel/smake/Makefile b/devel/smake/Makefile
index acb2551..7446848 100644
--- a/devel/smake/Makefile
+++ b/devel/smake/Makefile
@@ -4,8 +4,7 @@
PORTNAME= smake
PORTVERSION= 1.2.3
CATEGORIES= devel
-MASTER_SITES= SF
-MASTER_SITE_SUBDIR=s-make
+MASTER_SITES= SF/s-make
MAINTAINER= ports@FreeBSD.org
COMMENT= Portable make program with automake features
diff --git a/devel/sourcenav/Makefile b/devel/sourcenav/Makefile
index 557425f..f9115ab 100644
--- a/devel/sourcenav/Makefile
+++ b/devel/sourcenav/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 4.5
PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_BERLIOS}
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= SF/${PORTNAME}
DISTNAME= sourcenavigator-NG${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
diff --git a/devel/storm/Makefile b/devel/storm/Makefile
index edfc3d3..9f1431e 100644
--- a/devel/storm/Makefile
+++ b/devel/storm/Makefile
@@ -4,8 +4,7 @@
PORTNAME= storm
DISTVERSION= 0.9.2-incubating
CATEGORIES= devel java
-MASTER_SITES= APACHE
-MASTER_SITE_SUBDIR= incubator/${PORTNAME}/apache-${PORTNAME}-${DISTVERSION}
+MASTER_SITES= APACHE/incubator/${PORTNAME}/apache-${PORTNAME}-${DISTVERSION}
DISTNAME= apache-storm-${DISTVERSION}
MAINTAINER= hsn@sendmail.cz
diff --git a/devel/stormlib-ghost++/Makefile b/devel/stormlib-ghost++/Makefile
index 1d4c8a4..c275b3a 100644
--- a/devel/stormlib-ghost++/Makefile
+++ b/devel/stormlib-ghost++/Makefile
@@ -4,7 +4,7 @@
PORTNAME= stormlib
PORTVERSION= 6.25
CATEGORIES= devel archivers
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
PKGNAMESUFFIX= -ghost++
DISTNAME= ${PROJECTHOST}_${PROJECTVERSION}
diff --git a/devel/str/Makefile b/devel/str/Makefile
index b3d127b..8b36f5d 100644
--- a/devel/str/Makefile
+++ b/devel/str/Makefile
@@ -5,8 +5,7 @@ PORTNAME= str
PORTVERSION= 0.9.12
PORTREVISION= 1
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_OSSP}
-MASTER_SITE_SUBDIR= lib/${PORTNAME}
+MASTER_SITES= OSSP/lib/${PORTNAME}
MAINTAINER= vd@FreeBSD.org
COMMENT= Generic String Library
diff --git a/devel/streamhtmlparser/Makefile b/devel/streamhtmlparser/Makefile
index 0fcf8fd..c47be26 100644
--- a/devel/streamhtmlparser/Makefile
+++ b/devel/streamhtmlparser/Makefile
@@ -4,7 +4,7 @@
PORTNAME= streamhtmlparser
PORTVERSION= 0.1
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
MAINTAINER= itechbear@gmail.com
COMMENT= C/C++/Python streaming HTML parser library from Google
diff --git a/devel/stringencoders/Makefile b/devel/stringencoders/Makefile
index fde90e7..bd796f3 100644
--- a/devel/stringencoders/Makefile
+++ b/devel/stringencoders/Makefile
@@ -3,10 +3,10 @@
PORTNAME= stringencoders
PORTVERSION= 3.10.3
+DISTVERSIONPREFIX= v
PORTREVISION= 3
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
-DISTNAME= ${PORTNAME}-v${PORTVERSION}
+MASTER_SITES= GOOGLE_CODE
MAINTAINER= skreuzer@FreeBSD.org
COMMENT= Collection of high performance c-string transformations
diff --git a/devel/subversion-book/Makefile b/devel/subversion-book/Makefile
index 4620dd9..4c2271e 100644
--- a/devel/subversion-book/Makefile
+++ b/devel/subversion-book/Makefile
@@ -3,8 +3,7 @@
PORTNAME= subversion-book
DISTVERSION= 4515
CATEGORIES= devel misc
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR=lev
+MASTER_SITES= LOCAL/lev
DISTFILES= svn-book-html-r${DISTVERSION}.tar.bz2 \
svn-book-r${DISTVERSION}.pdf
DIST_SUBDIR= subversion18
diff --git a/devel/subversion/Makefile.common b/devel/subversion/Makefile.common
index deecf59..a94a641 100644
--- a/devel/subversion/Makefile.common
+++ b/devel/subversion/Makefile.common
@@ -5,9 +5,8 @@ PORTNAME?= subversion
PORTVERSION= 1.8.13
PORTREVISION?= 0
CATEGORIES+= devel
-MASTER_SITES= ${MASTER_SITE_APACHE}
+MASTER_SITES= APACHE/subversion
DIST_SUBDIR= subversion18
-MASTER_SITE_SUBDIR= subversion
GNU_CONFIGURE= yes
USES+= tar:bzip2 pkgconfig libtool cpe
diff --git a/devel/subversion17/Makefile.common b/devel/subversion17/Makefile.common
index eb6bb2b..114f40d 100644
--- a/devel/subversion17/Makefile.common
+++ b/devel/subversion17/Makefile.common
@@ -5,10 +5,9 @@ PORTNAME= subversion
PORTVERSION= 1.7.20
PORTREVISION?= 0
CATEGORIES+= devel
-MASTER_SITES= ${MASTER_SITE_APACHE}
+MASTER_SITES= APACHE/subversion
DIST_SUBDIR= subversion17
PKGNAMESUFFIX= 17
-MASTER_SITE_SUBDIR= subversion
USE_KDE4= # Used below if KWallet support is enabled
GNU_CONFIGURE= yes
diff --git a/devel/subversive/Makefile b/devel/subversive/Makefile
index a03da0b..3bf83c1 100644
--- a/devel/subversive/Makefile
+++ b/devel/subversive/Makefile
@@ -5,7 +5,7 @@ PORTNAME= subversive
PORTVERSION= 2.0.0
PORTREVISION= 1
CATEGORIES= devel java
-MASTER_SITES= ${MASTER_SITE_ECLIPSE:S,%SUBDIR%,technology/subversive/2.0/builds,:S,$,:core,} \
+MASTER_SITES= ECLIPSE/technology/subversive/2.0/builds:core \
http://community.polarion.com/projects/subversive/download/eclipse/4.0/builds/:connectors
DISTNAME= Subversive-${PORTVERSION}.I20140519-1700
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:core ${CONNECTORS}:connectors
diff --git a/devel/talloc/Makefile b/devel/talloc/Makefile
index 9413453..5d18d46 100644
--- a/devel/talloc/Makefile
+++ b/devel/talloc/Makefile
@@ -5,8 +5,7 @@ PORTVERSION= 2.1.2
PORTREVISION= 0
PORTEPOCH= 0
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_SAMBA}
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= SAMBA
MAINTAINER= timur@FreeBSD.org
COMMENT= Hierarchical pool based memory allocator
diff --git a/devel/tcl-trf/Makefile b/devel/tcl-trf/Makefile
index 40fec6b..f701e76 100644
--- a/devel/tcl-trf/Makefile
+++ b/devel/tcl-trf/Makefile
@@ -5,8 +5,7 @@ PORTNAME= Trf
PORTVERSION= 2.1.4
PORTREVISION= 1
CATEGORIES= devel tcl
-MASTER_SITES= SF
-MASTER_SITE_SUBDIR=tcltrf/tcltrf/${PORTVERSION}
+MASTER_SITES= SF/tcltrf/tcltrf/${PORTVERSION}
PKGNAMEPREFIX= tcl-
DISTNAME= trf${PORTVERSION}
diff --git a/devel/tclap/Makefile b/devel/tclap/Makefile
index 300bee8..a0a9682 100644
--- a/devel/tclap/Makefile
+++ b/devel/tclap/Makefile
@@ -4,8 +4,7 @@ PORTNAME= tclap
PORTVERSION= 1.2.1
PORTREVISION= 1
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= ${PORTNAME:tl}#
+MASTER_SITES= SF/${PORTNAME}
MAINTAINER= grog@FreeBSD.org
COMMENT= Verbose replacement for getopt
diff --git a/devel/terminality/Makefile b/devel/terminality/Makefile
index 81ae911..3dde995 100644
--- a/devel/terminality/Makefile
+++ b/devel/terminality/Makefile
@@ -4,8 +4,7 @@
PORTNAME= terminality
PORTVERSION= 2.1
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= gabor
+MASTER_SITES= LOCAL/gabor
DISTNAME= tn-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
diff --git a/devel/tevent/Makefile b/devel/tevent/Makefile
index 665d131..e7f79a0 100644
--- a/devel/tevent/Makefile
+++ b/devel/tevent/Makefile
@@ -5,8 +5,7 @@ PORTVERSION= 0.9.22
PORTREVISION= 0
PORTEPOCH= 0
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_SAMBA}
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= SAMBA
MAINTAINER= timur@FreeBSD.org
COMMENT= Talloc based event loop library
diff --git a/devel/thrift-c_glib/Makefile b/devel/thrift-c_glib/Makefile
index 5318a2b..590e2ae 100644
--- a/devel/thrift-c_glib/Makefile
+++ b/devel/thrift-c_glib/Makefile
@@ -6,17 +6,14 @@ PORTVERSION= ${THRIFT_PORTVERSION} # to keep in sync with thrift
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= devel
+MASTER_SITES= APACHE/thrift/${PORTVERSION
+DISTNAME= thrift-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= C glib interface to Thrift
PKGNAMESUFFIX= -c_glib
-MASTER_SITES= APACHE
-MASTER_SITE_SUBDIR= /thrift/${PORTVERSION
-DISTINFO_FILE= ${.CURDIR}/../thrift/distinfo
-DISTNAME= thrift-${PORTVERSION}
-
BUILDIR= ${WRKDIR}/${DISTNAME}/lib/c_glib
LIB_DEPENDS= libglib-2.0.so:${PORTSDIR}/devel/glib20
@@ -25,10 +22,12 @@ USE_AUTOTOOLS= autoconf autoheader:env aclocal automake
ACLOCAL_ARGS= -I${WRKSRC}/aclocal
AUTOMAKE_ARGS= --foreign --add-missing --copy
+DISTINFO_FILE= ${.CURDIR}/../thrift/distinfo
+
USES= pkgconfig gmake libtool
-GNU_CONFIGURE= yes
-USE_LDCONFIG= yes
-MAKE_JOBS_UNSAFE= yes
+GNU_CONFIGURE= yes
+USE_LDCONFIG= yes
+MAKE_JOBS_UNSAFE= yes
.include "../thrift/bsd.thrift.mk"
diff --git a/devel/thrift-cpp/Makefile b/devel/thrift-cpp/Makefile
index c94f851..f94686d 100644
--- a/devel/thrift-cpp/Makefile
+++ b/devel/thrift-cpp/Makefile
@@ -6,15 +6,13 @@ PORTVERSION= ${THRIFT_PORTVERSION} # to keep in sync with thrift
PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= devel
+PKGNAMESUFFIX= -cpp
+MASTER_SITES= APACHE/thrift/${PORTVERSION}
+DISTNAME= thrift-${PORTVERSION}
MAINTAINER= komarov@valerka.net
COMMENT= C++ interface to Thrift
-PKGNAMESUFFIX= -cpp
-
-MASTER_SITES= APACHE
-MASTER_SITE_SUBDIR= thrift/${PORTVERSION}
-DISTNAME= thrift-${PORTVERSION}
DISTINFO_FILE= ${.CURDIR}/../thrift/distinfo
LIB_DEPENDS= libboost_system.so:${PORTSDIR}/devel/boost-libs \
diff --git a/devel/thrift/Makefile b/devel/thrift/Makefile
index 1292a4c..acc4d6e 100644
--- a/devel/thrift/Makefile
+++ b/devel/thrift/Makefile
@@ -5,8 +5,7 @@ PORTNAME= thrift
PORTVERSION= ${THRIFT_PORTVERSION} # get these from bsd.thrift.mk. any upgrade needs to check ALL dependencies
PORTEPOCH= 1
CATEGORIES= devel
-MASTER_SITES= APACHE
-MASTER_SITE_SUBDIR= /thrift/${PORTVERSION}
+MASTER_SITES= APACHE/thrift/${PORTVERSION}
MAINTAINER= komarov@valerka.net
COMMENT= Framework for scalable cross-language services development
diff --git a/devel/tigcc/Makefile b/devel/tigcc/Makefile
index de46e2b..d71df78 100644
--- a/devel/tigcc/Makefile
+++ b/devel/tigcc/Makefile
@@ -5,11 +5,9 @@ PORTNAME= tigcc
PORTVERSION= 0.96.b8
PORTREVISION= 3
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_GCC:S/$/:gcc/} \
- ${MASTER_SITE_GNU:S/$/:gas/} \
+MASTER_SITES= GCC/snapshots/4.1-20060728:gcc \
+ GNU/binutils:gas \
http://tigcc.ticalc.org/linux/:tigcc
-MASTER_SITE_SUBDIR= snapshots/4.1-20060728/:gcc \
- binutils/:gas
DISTFILES= gcc-core-4.1-20060728.tar.bz2:gcc \
binutils-2.16.1.tar.bz2:gas \
tigcc_src.tar.bz2:tigcc
diff --git a/devel/ucommon/Makefile b/devel/ucommon/Makefile
index ec2fb29..fdc89b7 100644
--- a/devel/ucommon/Makefile
+++ b/devel/ucommon/Makefile
@@ -5,8 +5,7 @@ PORTNAME= ucommon
PORTVERSION= 6.1.11
PORTREVISION= 1
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_GNU}
-MASTER_SITE_SUBDIR= commoncpp
+MASTER_SITES= GNU/commoncpp
MAINTAINER= ports@FreeBSD.org
COMMENT= Very lightweight C++ design pattern library
diff --git a/devel/udis86/Makefile b/devel/udis86/Makefile
index 48d0ec8..5980e02 100644
--- a/devel/udis86/Makefile
+++ b/devel/udis86/Makefile
@@ -5,8 +5,7 @@ PORTNAME= udis86
PORTVERSION= 1.7.2
PORTREVISION= 3
CATEGORIES= devel
-MASTER_SITES= SF
-MASTER_SITE_SUBDIR= ${PORTNAME:tl}/${PORTNAME:tl}/${PORTVERSION:R}
+MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION:R}
MAINTAINER= bf@FreeBSD.org
COMMENT= Minimalistic x86 and x86-64 disassembler library
diff --git a/devel/ultragetopt/Makefile b/devel/ultragetopt/Makefile
index 24afec1..13c44a8 100644
--- a/devel/ultragetopt/Makefile
+++ b/devel/ultragetopt/Makefile
@@ -5,7 +5,7 @@ PORTNAME= ultragetopt
PORTVERSION= 0.6.0
PORTREVISION= 1
CATEGORIES= devel
-MASTER_SITES= http://kevinlocke.name/programs/ ${MASTER_SITE_LOCAL}
+MASTER_SITES= http://kevinlocke.name/programs/
MAINTAINER= beyert@cs.ucr.edu
COMMENT= Versatile and customizable implementation of getopt()
diff --git a/devel/winpdb/Makefile b/devel/winpdb/Makefile
index 3e86642..a85b47c 100644
--- a/devel/winpdb/Makefile
+++ b/devel/winpdb/Makefile
@@ -5,8 +5,7 @@ PORTNAME= winpdb
PORTVERSION= 1.4.8
PORTREVISION= 5
CATEGORIES= devel python
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
-MASTER_SITE_SUBDIR= winpdb
+MASTER_SITES= GOOGLE_CODE
MAINTAINER= mva@FreeBSD.org
COMMENT= Advanced Python debugger
diff --git a/devel/xwpe/Makefile b/devel/xwpe/Makefile
index 65a5101..333d55c 100644
--- a/devel/xwpe/Makefile
+++ b/devel/xwpe/Makefile
@@ -4,10 +4,9 @@
PORTNAME= xwpe
PORTVERSION= 1.5.30a
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_SUNSITE} \
+MASTER_SITES= SUNSITE/apps/editors/X \
http://www.identicalsoftware.com/xwpe/ \
ftp://ftp.identicalsoftware.com/pub/linux/xwpe/
-MASTER_SITE_SUBDIR= apps/editors/X
MAINTAINER= ports@FreeBSD.org
COMMENT= Borland-like IDE programming environment
diff --git a/devel/xxgdb/Makefile b/devel/xxgdb/Makefile
index edf9606..4f56023 100644
--- a/devel/xxgdb/Makefile
+++ b/devel/xxgdb/Makefile
@@ -5,8 +5,7 @@ PORTNAME= xxgdb
PORTVERSION= 1.12
PORTREVISION= 4
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_XCONTRIB}
-MASTER_SITE_SUBDIR= utilities
+MASTER_SITES= XCONTRIB/utilities
MAINTAINER= cy@FreeBSD.org
COMMENT= X window interface for gdb
diff --git a/devel/yasm-devel/Makefile b/devel/yasm-devel/Makefile
index 5f8c01a..76355c4 100644
--- a/devel/yasm-devel/Makefile
+++ b/devel/yasm-devel/Makefile
@@ -5,8 +5,7 @@ PORTNAME= yasm
PORTVERSION= 1.2.0.29
DISTVERSIONSUFFIX= .g87c0
CATEGORIES= devel lang
-MASTER_SITES= http://www.tortall.net/projects/yasm/snapshots/%SUBDIR%/
-MASTER_SITE_SUBDIR= v${DISTVERSION}${DISTVERSIONSUFFIX}
+MASTER_SITES= http://www.tortall.net/projects/yasm/snapshots/v${DISTVERSION}${DISTVERSIONSUFFIX}/
PKGNAMESUFFIX= -devel
MAINTAINER= koobs@FreeBSD.org
diff --git a/devel/zookeeper/Makefile b/devel/zookeeper/Makefile
index e42a031..08ce14e 100644
--- a/devel/zookeeper/Makefile
+++ b/devel/zookeeper/Makefile
@@ -5,8 +5,7 @@ PORTNAME= zookeeper
PORTVERSION= 3.4.6
PORTREVISION= 3
CATEGORIES= devel java
-MASTER_SITES= ${MASTER_SITE_APACHE}
-MASTER_SITE_SUBDIR= zookeeper/zookeeper-${PORTVERSION}
+MASTER_SITES= APACHE/zookeeper/zookeeper-${PORTVERSION}
MAINTAINER= skreuzer@FreeBSD.org
COMMENT= Service for maintaining distributed configuration, naming and locks
diff --git a/devel/zpu-binutils/Makefile b/devel/zpu-binutils/Makefile
index 5ac874f..cca645a 100644
--- a/devel/zpu-binutils/Makefile
+++ b/devel/zpu-binutils/Makefile
@@ -3,8 +3,7 @@
PORTNAME= zpu-binutils
PORTVERSION= 1.0
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= db
+MASTER_SITES= LOCAL/db
DISTNAME= zpu-toolchain-${PORTVERSION}
MAINTAINER= db@FreeBSD.org
diff --git a/devel/zpu-gcc/Makefile b/devel/zpu-gcc/Makefile
index dffb323..304bba6 100644
--- a/devel/zpu-gcc/Makefile
+++ b/devel/zpu-gcc/Makefile
@@ -4,8 +4,7 @@ PORTNAME= zpu-gcc
PORTVERSION= 1.0
CATEGORIES= devel
MASTER_SITES= http://opensource.zylin.com/zpudownload.html/
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= db
+MASTER_SITES= LOCAL/db
DISTNAME= zpu-toolchain-${PORTVERSION}
MAINTAINER= db@FreeBSD.org
diff --git a/dns/bind10/Makefile b/dns/bind10/Makefile
index 4d99e67..86d2462 100644
--- a/dns/bind10/Makefile
+++ b/dns/bind10/Makefile
@@ -5,8 +5,7 @@ PORTNAME= bind10
PORTVERSION= 1.2.0
PORTREVISION= 3
CATEGORIES= dns
-MASTER_SITES= ${MASTER_SITE_ISC}
-MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTVERSION}
+MASTER_SITES= ISC/${PORTNAME}/${PORTVERSION}
MAINTAINER= mat@FreeBSD.org
COMMENT= Development version of ISC BIND 10 DNS Suite
diff --git a/dns/djbdns/Makefile b/dns/djbdns/Makefile
index 53aeace..d242dd6 100644
--- a/dns/djbdns/Makefile
+++ b/dns/djbdns/Makefile
@@ -48,7 +48,7 @@ BROKEN= The jumbo patch currently conflicts with the IPv6, ignoreip2, SRV and D
.endif
PATCH_SITES+= http://people.FreeBSD.org/~roam/ports/dns/djbdns/:jumbo \
- ${MASTER_SITE_LOCAL:S/%SUBDIR%\//roam\/dns\/djbdns\/:jumbo/}
+ LOCAL/roam/dns/djbdns:jumbo
PATCHFILES+= jumbo-p13.patch.gz:jumbo
PATCH_DIST_STRIP= -p1
.if ${PORT_OPTIONS:MDUMPCACHE}
diff --git a/dns/doc/Makefile b/dns/doc/Makefile
index c9fd07f..73f8230 100644
--- a/dns/doc/Makefile
+++ b/dns/doc/Makefile
@@ -4,9 +4,8 @@
PORTNAME= doc
PORTVERSION= 2.2.3
CATEGORIES= dns
-MASTER_SITES= ${MASTER_SITE_LOCAL} \
+MASTER_SITES= LOCAL/sanpei \
ftp://ftp.shub-internet.org/pub/shub/brad/dns/
-MASTER_SITE_SUBDIR= sanpei
MAINTAINER= sanpei@FreeBSD.org
COMMENT= Diagnose unhealthy DNS domains
diff --git a/dns/inadyn/Makefile b/dns/inadyn/Makefile
index 533b898..1073f5c 100644
--- a/dns/inadyn/Makefile
+++ b/dns/inadyn/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 1.96.2
PORTREVISION= 3
CATEGORIES= dns
MASTER_SITES= http://www.inatech.eu/inadyn/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= dhn
+ LOCAL/dhn
DISTNAME= ${PORTNAME}.v${PORTVERSION}
MAINTAINER= samm@os2.kiev.ua
diff --git a/dns/ipcheck/Makefile b/dns/ipcheck/Makefile
index 094adfe..84f78f0 100644
--- a/dns/ipcheck/Makefile
+++ b/dns/ipcheck/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 0.240
PORTEPOCH= 1
CATEGORIES= dns python
MASTER_SITES= http://ipcheck.sourceforge.net/releases/
-MASTER_SITE_SUBDIR= lioux
DISTNAME= ${PORTNAME}.${PORTVERSION:S/^0.//}
EXTRACT_SUFX=
EXTRACT_ONLY=
diff --git a/dns/nsping/Makefile b/dns/nsping/Makefile
index 1079a14..59ff2cc 100644
--- a/dns/nsping/Makefile
+++ b/dns/nsping/Makefile
@@ -5,8 +5,7 @@ PORTNAME= nsping
PORTVERSION= 0.8
PORTREVISION= 2
CATEGORIES= dns
-MASTER_SITES= LOCAL
-MASTER_SITE_SUBDIR= roam
+MASTER_SITES= LOCAL/roam
DISTFILES= nsping.tar.gz
MAINTAINER= ports@FreeBSD.org
diff --git a/dns/py-adns/Makefile b/dns/py-adns/Makefile
index b5d7ce1..1bc9654 100644
--- a/dns/py-adns/Makefile
+++ b/dns/py-adns/Makefile
@@ -5,7 +5,7 @@ PORTNAME= adns
PORTVERSION= 1.2.1
PORTREVISION= 14
CATEGORIES= dns python
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= adns-python-${PORTVERSION}
diff --git a/dns/samba-nsupdate/Makefile b/dns/samba-nsupdate/Makefile
index e456961..d2edf95 100644
--- a/dns/samba-nsupdate/Makefile
+++ b/dns/samba-nsupdate/Makefile
@@ -4,8 +4,7 @@ PORTNAME= nsupdate
PORTVERSION= 9.8.6
PORTREVISION= 1
CATEGORIES= dns net ipv6
-MASTER_SITES= ${MASTER_SITE_ISC}
-MASTER_SITE_SUBDIR= bind9/${ISCVERSION}
+MASTER_SITES= ISC/bind9/${ISCVERSION}
PKGNAMEPREFIX= samba-
DISTNAME= bind-${ISCVERSION}
diff --git a/dns/updatedd/Makefile b/dns/updatedd/Makefile
index 26cbab8..f43bf0e 100644
--- a/dns/updatedd/Makefile
+++ b/dns/updatedd/Makefile
@@ -5,8 +5,7 @@ PORTNAME= updatedd
PORTVERSION= 2.6
PORTREVISION= 1
CATEGORIES= dns
-MASTER_SITES= ${MASTER_SITE_SAVANNAH}
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= SAVANNAH
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= geniusj@ods.org
diff --git a/editors/abiword-docs/Makefile b/editors/abiword-docs/Makefile
index d6b2580..e410a6e 100644
--- a/editors/abiword-docs/Makefile
+++ b/editors/abiword-docs/Makefile
@@ -5,8 +5,7 @@
PORTNAME= abiword-docs
PORTVERSION= 2.8.6
CATEGORIES= editors
-MASTER_SITES= http://www.abisource.com/downloads/%SUBDIR%/${PORTVERSION}/source/
-MASTER_SITE_SUBDIR= abiword
+MASTER_SITES= http://www.abisource.com/downloads/abiword/${PORTVERSION}/source/
DIST_SUBDIR= AbiWord
MAINTAINER= gnome@FreeBSD.org
diff --git a/editors/abiword/Makefile b/editors/abiword/Makefile
index d7f4ffe..3a021d4 100644
--- a/editors/abiword/Makefile
+++ b/editors/abiword/Makefile
@@ -6,8 +6,7 @@ PORTNAME= abiword
PORTVERSION= 2.8.6
PORTREVISION= 10
CATEGORIES= editors
-MASTER_SITES= http://www.abisource.com/downloads/%SUBDIR%/${PORTVERSION}/source/
-MASTER_SITE_SUBDIR= abiword
+MASTER_SITES= http://www.abisource.com/downloads/abiword/${PORTVERSION}/source/
DIST_SUBDIR= AbiWord
MAINTAINER= gnome@FreeBSD.org
diff --git a/editors/beav/Makefile b/editors/beav/Makefile
index c5dceca..e4a82a1 100644
--- a/editors/beav/Makefile
+++ b/editors/beav/Makefile
@@ -5,7 +5,7 @@ PORTNAME= beav
PORTVERSION= 1.40.18
PORTREVISION= 3
CATEGORIES= editors
-MASTER_SITES= ${MASTER_SITE_DEBIAN_POOL}
+MASTER_SITES= DEBIAN_POOL
DISTNAME= ${PORTNAME}_${PORTVERSION:R}.orig
PATCH_SITES= ${MASTER_SITES}
diff --git a/editors/calligra-l10n/files/bsd.l10n.mk b/editors/calligra-l10n/files/bsd.l10n.mk
index c65cd75..a49aed2 100644
--- a/editors/calligra-l10n/files/bsd.l10n.mk
+++ b/editors/calligra-l10n/files/bsd.l10n.mk
@@ -1,6 +1,5 @@
.if defined(CALLIGRA_L10N)
-MASTER_SITES?= ${MASTER_SITE_KDE}
-MASTER_SITE_SUBDIR?= ${CALLIGRA_BRANCH}/calligra-${PORTVERSION}/calligra-l10n/
+MASTER_SITES?= KDE/${CALLIGRA_BRANCH}/calligra-${PORTVERSION}/calligra-l10n
PKGNAMEPREFIX= ${CALLIGRA_L10N:S/@/_/}-
DISTNAME= ${PORTNAME}-${CALLIGRA_L10N}-${PORTVERSION}
DIST_SUBDIR= KDE/calligra-l10n
diff --git a/editors/calligra/Makefile b/editors/calligra/Makefile
index bd05c62..6e82b3b 100644
--- a/editors/calligra/Makefile
+++ b/editors/calligra/Makefile
@@ -4,8 +4,7 @@ PORTNAME= calligra
PORTVERSION= ${CALLIGRA_VERSION}
PORTREVISION= 15
CATEGORIES= editors kde
-MASTER_SITES= ${MASTER_SITE_KDE}
-MASTER_SITE_SUBDIR= ${CALLIGRA_BRANCH}/${PORTNAME}-${PORTVERSION}/
+MASTER_SITES= KDE/${CALLIGRA_BRANCH}/${PORTNAME}-${PORTVERSION}
DIST_SUBDIR= KDE
MAINTAINER= kde@FreeBSD.org
diff --git a/editors/emacs/Makefile b/editors/emacs/Makefile
index 5f81dbb..b7b2af5 100644
--- a/editors/emacs/Makefile
+++ b/editors/emacs/Makefile
@@ -5,8 +5,7 @@ PORTNAME= emacs
PORTVERSION= ${EMACS_VER}
PORTEPOCH= 3
CATEGORIES= editors ipv6
-MASTER_SITES= ${MASTER_SITE_GNU}
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= GNU
PKGNAMESUFFIX?= 24
PATCH_SITE_SUBDIR+= ashish
@@ -86,7 +85,7 @@ OPTIONS_SUB= SOURCES
CANNA_CONFIGURE_ON= --with-canna \
--with-canna-includes=${LOCALBASE}/include \
--with-canna-libraries=${LOCALBASE}/lib
-CANNA_PATCH_SITES= http://distfiles.pirateparty.in/%SUBDIR%/ ${MASTER_SITE_LOCAL}
+CANNA_PATCH_SITES= http://distfiles.pirateparty.in/%SUBDIR%/ LOCAL
CANNA_PATCHFILES= emacs24.4canna-20141030.diff.gz
CANNA_LIB_DEPENDS= libcanna.so:${PORTSDIR}/japanese/canna-lib
diff --git a/editors/gobby/Makefile b/editors/gobby/Makefile
index 802867b..619364d 100644
--- a/editors/gobby/Makefile
+++ b/editors/gobby/Makefile
@@ -5,7 +5,7 @@ PORTVERSION= 0.4.13
PORTREVISION= 2
CATEGORIES= editors
MASTER_SITES= http://releases.0x539.de/gobby/ \
- LOCAL/${MAINTAINER:C/([^@]*)@.*/\1/}
+ LOCAL/sbz
MAINTAINER= sbz@FreeBSD.org
COMMENT= Free collaborative editor
diff --git a/editors/jove/Makefile b/editors/jove/Makefile
index b1b69b0..d72566c 100644
--- a/editors/jove/Makefile
+++ b/editors/jove/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 4.16
PORTREVISION= 1
CATEGORIES= editors
MASTER_SITES= ftp://ftp.cs.toronto.edu/pub/moraes/jove/ \
- ${MASTER_SITE_LOCAL:S/$/:local/}
-MASTER_SITE_SUBDIR= simon/:local
+ LOCAL/simon
MAINTAINER= ports@FreeBSD.org
COMMENT= Jonathan's Own Version of Emacs
diff --git a/editors/lazarus/Makefile b/editors/lazarus/Makefile
index 8a57428..68f91dc 100644
--- a/editors/lazarus/Makefile
+++ b/editors/lazarus/Makefile
@@ -7,7 +7,7 @@ DISTVERSIONSUFFIX= -0
PORTREVISION?= 0
CATEGORIES= editors devel
MASTER_SITES= SF/${PORTNAME}/Lazarus%20Zip%20_%20GZip/Lazarus%20${PORTVERSION} \
- ${MASTER_SITE_LOCAL:S|$|acm/freepascal/|}
+ LOCAL/acm/freepascal
DIST_SUBDIR= freepascal
MAINTAINER?= freebsd-fpc@FreeBSD.org
diff --git a/editors/leafpad/Makefile b/editors/leafpad/Makefile
index 06c5c03..5841aba 100644
--- a/editors/leafpad/Makefile
+++ b/editors/leafpad/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 0.8.18.1
PORTREVISION= 1
CATEGORIES= editors
MASTER_SITES= SAVANNAH
-MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= jgh@FreeBSD.org
COMMENT= GTK+ based simple text editor
diff --git a/editors/nano-devel/Makefile b/editors/nano-devel/Makefile
index 23a5fde..cb22ce6 100644
--- a/editors/nano-devel/Makefile
+++ b/editors/nano-devel/Makefile
@@ -4,7 +4,7 @@ PORTNAME= nano
PORTVERSION= 2.3.6
CATEGORIES= editors
MASTER_SITES= http://www.nano-editor.org/dist/v${PORTVERSION:R}/ \
- ${MASTER_SITE_GNU}
+ GNU
PKGNAMESUFFIX= -devel
diff --git a/editors/nedit/Makefile b/editors/nedit/Makefile
index 801c509..70e4504 100644
--- a/editors/nedit/Makefile
+++ b/editors/nedit/Makefile
@@ -6,9 +6,8 @@ PORTVERSION= 5.6
PORTREVISION= 1
CATEGORIES= editors
MASTER_SITES= http://people.freebsd.org/~deischen/distfiles/ \
- ${MASTER_SITE_SOURCEFORGE} \
+ SF/${PORTNAME}/${PORTNAME}-source \
ftp://ftp.nluug.nl/pub/editors/NEdit/contrib/misc/
-MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTNAME}-source
DISTFILES= nedit-5.6a-src.tar.gz nedit.app-defaults
EXTRACT_ONLY= nedit-5.6a-src.tar.gz
diff --git a/editors/psgml/Makefile b/editors/psgml/Makefile
index 73517e2..97b5b8a 100644
--- a/editors/psgml/Makefile
+++ b/editors/psgml/Makefile
@@ -8,8 +8,7 @@ CATEGORIES= editors elisp
MASTER_SITES= SF/${PORTNAME}/ALPHA%20${PORTNAME}/${PORTVERSION}
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
-PATCH_SITES= ${MASTER_SITE_LOCAL}
-PATCH_SITE_SUBDIR= hrs
+PATCH_SITES= LOCAL/hrs
PATCHFILES= psgml-symbol-conflict-050503.diff.gz
MAINTAINER= hrs@FreeBSD.org
diff --git a/editors/spe/Makefile b/editors/spe/Makefile
index c9a25e4..67bba79 100644
--- a/editors/spe/Makefile
+++ b/editors/spe/Makefile
@@ -5,8 +5,7 @@ PORTNAME= SPE
PORTVERSION= 0.8.4.h
PORTREVISION= 8
CATEGORIES= editors devel python
-MASTER_SITES= ${MASTER_SITE_BERLIOS}
-MASTER_SITE_SUBDIR= python
+MASTER_SITES= SF/python
DISTNAME= ${PORTNAME:tl}-${PORTVERSION}-wx2.6.1.0
MAINTAINER= nivit@FreeBSD.org
diff --git a/editors/sted/Makefile b/editors/sted/Makefile
index 6682823..406e8e6 100644
--- a/editors/sted/Makefile
+++ b/editors/sted/Makefile
@@ -4,8 +4,7 @@
PORTNAME= sted
PORTVERSION= 0.2.2
CATEGORIES= editors
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= gabor
+MASTER_SITES= LOCAL/gabor
MAINTAINER= ports@FreeBSD.org
COMMENT= Simple/Small/Stupid Text Editor
diff --git a/editors/tamago/Makefile b/editors/tamago/Makefile
index 79f2078..890c5cf 100644
--- a/editors/tamago/Makefile
+++ b/editors/tamago/Makefile
@@ -5,13 +5,11 @@ PORTNAME= tamago
PORTVERSION= 4.0.6.0.20041122.19
PORTREVISION= 13
CATEGORIES= editors elisp
-MASTER_SITES= ${MASTER_SITE_DEBIAN}
-MASTER_SITE_SUBDIR= pool/main/e/egg
+MASTER_SITES= DEBIAN/pool/main/e/egg
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
DISTNAME= egg_4.0.6+0.20041122cvs.orig
-PATCH_SITES= ${MASTER_SITE_DEBIAN:S,%SUBDIR%,pool/main/e/egg,} \
- ${MASTER_SITE_LOCAL:S,%SUBDIR%,nork,}
+PATCH_SITES= DEBIAN/pool/main/e/egg LOCAL/nork
PATCHFILES= egg_4.0.6+0.20041122cvs-19.diff.gz
PATCH_DIST_STRIP= -p1
diff --git a/editors/thoteditor/Makefile b/editors/thoteditor/Makefile
index 23a3aca..258c2f4 100644
--- a/editors/thoteditor/Makefile
+++ b/editors/thoteditor/Makefile
@@ -7,7 +7,6 @@ PORTREVISION= 3
CATEGORIES= editors www
MASTER_SITES= ftp://ftp.inrialpes.fr/pub/opera/sources/thot/ \
ftp://ftp.ruhr-uni-bochum.de/local/jk.collection/thot/
-MASTER_SITE_SUBDIR= apps/editors/X/thot
DISTNAME= ${PORTNAME}-src-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
diff --git a/editors/uzap/Makefile b/editors/uzap/Makefile
index 26c1ded..f7d2438 100644
--- a/editors/uzap/Makefile
+++ b/editors/uzap/Makefile
@@ -4,8 +4,7 @@
PORTNAME= uzap
PORTVERSION= 1.0
CATEGORIES= editors
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= joerg
+MASTER_SITES= LOCAL/joerg
DISTNAME= ${PORTNAME}
MAINTAINER= joerg@FreeBSD.org
diff --git a/editors/yasnippet/Makefile b/editors/yasnippet/Makefile
index 44541e4..9122cbb 100644
--- a/editors/yasnippet/Makefile
+++ b/editors/yasnippet/Makefile
@@ -4,7 +4,7 @@ PORTNAME= yasnippet
PORTVERSION= 0.6.1c
PORTREVISION= 10
CATEGORIES= editors
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
yasnippet-doc-${PORTVERSION}${EXTRACT_SUFX}
diff --git a/emulators/bsvc/Makefile b/emulators/bsvc/Makefile
index 02aa068..ab991a7 100644
--- a/emulators/bsvc/Makefile
+++ b/emulators/bsvc/Makefile
@@ -5,8 +5,7 @@ PORTNAME= bsvc
PORTVERSION= 2.1
PORTREVISION= 3
CATEGORIES= emulators tk
-MASTER_SITES= ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR= system/emulators
+MASTER_SITES= SUNSITE/system/emulators
DISTFILES= ${DISTNAME}-src${EXTRACT_SUFX}
MAINTAINER= ports@FreeBSD.org
diff --git a/emulators/cpmemu/Makefile b/emulators/cpmemu/Makefile
index e8ae892..648a14b 100644
--- a/emulators/cpmemu/Makefile
+++ b/emulators/cpmemu/Makefile
@@ -4,12 +4,10 @@
PORTNAME= cpmemu
PORTVERSION= 0.2.1.1
CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR= system/emulators
+MASTER_SITES= SUNSITE/system/emulators
DISTNAME= cpm-0.2.1
-PATCH_SITES= ${MASTER_SITE_SUNSITE}
-PATCH_SITE_SUBDIR= system/emulators
+PATCH_SITES= SUNSITE/system/emulators
PATCHFILES= cpm-0.2.1-glibc-rjm.patch.gz
PATCH_DIST_STRIP= -p1
diff --git a/emulators/cpmtools/Makefile b/emulators/cpmtools/Makefile
index 42e9cc7..50e4c6a 100644
--- a/emulators/cpmtools/Makefile
+++ b/emulators/cpmtools/Makefile
@@ -4,8 +4,7 @@
PORTNAME= cpmtools
PORTVERSION= 1.1
CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= joerg
+MASTER_SITES= LOCAL/joerg
DISTNAME= cpm-${PORTVERSION}
MAINTAINER= joerg@FreeBSD.org
diff --git a/emulators/darcnes/Makefile b/emulators/darcnes/Makefile
index 5b9f4b7..c26e3d2 100644
--- a/emulators/darcnes/Makefile
+++ b/emulators/darcnes/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 9b0401
PORTREVISION= 6
CATEGORIES= emulators
MASTER_SITES= http://www.dridus.com/~nyef/darcnes/download/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= grembo
+ LOCAL/grembo
DISTNAME= dn${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
diff --git a/emulators/dboxfe/Makefile b/emulators/dboxfe/Makefile
index 30b5c9c..ed5a0a6a 100644
--- a/emulators/dboxfe/Makefile
+++ b/emulators/dboxfe/Makefile
@@ -4,8 +4,7 @@ PORTNAME= dboxfe
PORTVERSION= 0.1.3
PORTREVISION= 6
CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_BERLIOS}
-MASTER_SITE_SUBDIR=${PORTNAME}
+MASTER_SITES= SF/${PORTNAME}
MAINTAINER= makc@FreeBSD.org
COMMENT= Qt4 based configuration manager for DOSBox
diff --git a/emulators/dtcyber/Makefile b/emulators/dtcyber/Makefile
index 1a51425..9b79dc6 100644
--- a/emulators/dtcyber/Makefile
+++ b/emulators/dtcyber/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 2.0b1
PORTREVISION= 2
CATEGORIES= emulators
MASTER_SITES= http://members.iinet.net.au/~tom-hunter/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= trasz
+ LOCAL/trasz
DISTNAME= dtcyber20b1
MAINTAINER= ports@FreeBSD.org
diff --git a/emulators/dynagen/Makefile b/emulators/dynagen/Makefile
index be1f6ff..835859e 100644
--- a/emulators/dynagen/Makefile
+++ b/emulators/dynagen/Makefile
@@ -5,8 +5,7 @@ PORTNAME= dynagen
PORTVERSION= 0.11.0
PORTREVISION= 3
CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= dyna-gen/${PORTNAME}%20source%20_%20Linux/${PORTNAME}%20${PORTVERSION}
+MASTER_SITES= SF/dyna-gen/${PORTNAME}%20source%20_%20Linux/${PORTNAME}%20${PORTVERSION}
MAINTAINER= pavelivolkov@gmail.com
COMMENT= Text-based front end for Dynamips development version
diff --git a/emulators/hatari/Makefile b/emulators/hatari/Makefile
index 421fb83..bbeb64e 100644
--- a/emulators/hatari/Makefile
+++ b/emulators/hatari/Makefile
@@ -5,8 +5,7 @@ PORTNAME= hatari
PORTVERSION= 1.8.0
PORTREVISION= 3
CATEGORIES= emulators
-MASTER_SITES= http://download.tuxfamily.org/hatari/%SUBDIR%/
-MASTER_SITE_SUBDIR= ${PORTVERSION}
+MASTER_SITES= http://download.tuxfamily.org/hatari/${PORTVERSION}/
MAINTAINER= ports@FreeBSD.org
COMMENT= Atari ST emulator
diff --git a/emulators/mtools/Makefile b/emulators/mtools/Makefile
index 8407d70..1eb785d 100644
--- a/emulators/mtools/Makefile
+++ b/emulators/mtools/Makefile
@@ -5,8 +5,7 @@ PORTNAME= mtools
PORTVERSION= 4.0.10
PORTREVISION= 4
CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_GNU}
-MASTER_SITE_SUBDIR= mtools
+MASTER_SITES= GNU
MAINTAINER= skreuzer@FreeBSD.org
COMMENT= Collection of tools for manipulating MS-DOS files
diff --git a/emulators/mupen64plus-core/Makefile b/emulators/mupen64plus-core/Makefile
index ac7c18f..7a3c3d6 100644
--- a/emulators/mupen64plus-core/Makefile
+++ b/emulators/mupen64plus-core/Makefile
@@ -5,9 +5,9 @@ PORTNAME= mupen64plus
PORTVERSION?= 2.0
PORTREVISION?= 4
CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} \
- ${MASTER_SITE_LOCAL:S,$,acm/${PORTNAME}/,} \
- ${MASTER_SITE_GOOGLE_CODE}:plugin \
+MASTER_SITES= GOOGLE_CODE \
+ LOCAL/acm/${PORTNAME} \
+ GOOGLE_CODE:plugin \
http://cdn.bitbucket.org/wahrhaft/${PORTNAME}${PKGNAMESUFFIX}/downloads/:plugin
PKGNAMESUFFIX?= -core
DIST_SUBDIR= ${PORTNAME}
diff --git a/emulators/pcemu/Makefile b/emulators/pcemu/Makefile
index 5af4fd1..a04a9b8 100644
--- a/emulators/pcemu/Makefile
+++ b/emulators/pcemu/Makefile
@@ -5,8 +5,7 @@ PORTNAME= pcemu
PORTVERSION= 1.01b
PORTREVISION= 4
CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= joerg
+MASTER_SITES= LOCAL/joerg
DISTNAME= pcemu1.01alpha
MAINTAINER= joerg@FreeBSD.org
diff --git a/emulators/qemu/Makefile b/emulators/qemu/Makefile
index c2e96a2..4d2856d 100644
--- a/emulators/qemu/Makefile
+++ b/emulators/qemu/Makefile
@@ -5,9 +5,8 @@ PORTNAME= qemu
PORTVERSION= 0.11.1
PORTREVISION= 18
CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_SAVANNAH} \
+MASTER_SITES= SAVANNAH \
http://bellard.org/qemu/
-MASTER_SITE_SUBDIR= qemu
DIST_SUBDIR= qemu
MAINTAINER= nox@FreeBSD.org
diff --git a/emulators/raine/Makefile b/emulators/raine/Makefile
index 3c9706c..dfde0be 100644
--- a/emulators/raine/Makefile
+++ b/emulators/raine/Makefile
@@ -5,7 +5,7 @@ PORTNAME= raine
PORTVERSION= 0.51.9
PORTREVISION= 3
CATEGORIES= emulators games
-MASTER_SITES= GENTOO/distfiles
+MASTER_SITES= GENTOO
DISTNAME= ${PORTNAME}s-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
diff --git a/emulators/uae/Makefile b/emulators/uae/Makefile
index a6298d1..2b5a7c0 100644
--- a/emulators/uae/Makefile
+++ b/emulators/uae/Makefile
@@ -5,8 +5,7 @@ PORTNAME= uae
PORTVERSION= 0.8.29
PORTREVISION= 2
CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= grembo
+MASTER_SITES= LOCAL/grembo
MAINTAINER= simond@irrelevant.org
COMMENT= Commodore Amiga emulator
diff --git a/emulators/virtio-kmod/Makefile b/emulators/virtio-kmod/Makefile
index d416986..15c2355 100644
--- a/emulators/virtio-kmod/Makefile
+++ b/emulators/virtio-kmod/Makefile
@@ -3,8 +3,7 @@
PORTNAME= virtio
PORTVERSION= 0.${SVN_REV}
CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= kuriyama
+MASTER_SITES= LOCAL/kuriyama
PKGNAMESUFFIX= -kmod-${OSBRANCH}
DISTFILES= ${FILE_8} ${FILE_9}
diff --git a/emulators/vmsbackup/Makefile b/emulators/vmsbackup/Makefile
index a625f1d..8144332 100644
--- a/emulators/vmsbackup/Makefile
+++ b/emulators/vmsbackup/Makefile
@@ -6,7 +6,7 @@ PORTVERSION= 4.1.1
CATEGORIES= emulators sysutils
MASTER_SITES= http://dl.droso.net/FreeBSD/distfiles/ \
http://freebsd.t-hosting.hu/vmsbackup/ \
- ${MASTER_SITE_LOCAL:S/$/erwin\//}
+ LOCAL/erwin
DISTNAME= VMSBACKUP4-1-1
EXTRACT_SUFX= .ZIP
diff --git a/emulators/wxmupen64plus/Makefile b/emulators/wxmupen64plus/Makefile
index 223b778..d52b809 100644
--- a/emulators/wxmupen64plus/Makefile
+++ b/emulators/wxmupen64plus/Makefile
@@ -5,8 +5,8 @@ PORTNAME= wxmupen64plus
PORTVERSION= 0.3
PORTREVISION= 3
CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} \
- ${MASTER_SITE_LOCAL:S,$,acm/${PORTNAME}/,} \
+MASTER_SITES= GOOGLE_CODE \
+ LOCAL/acm/${PORTNAME} \
http://cdn.bitbucket.org/auria/wxmupen64plus/downloads/
DIST_SUBDIR= ${PORTNAME:S/wx//}
diff --git a/finance/skrooge/Makefile b/finance/skrooge/Makefile
index b22dc8c..04b9615 100644
--- a/finance/skrooge/Makefile
+++ b/finance/skrooge/Makefile
@@ -3,8 +3,7 @@
PORTNAME= skrooge
PORTVERSION= 1.10.0
CATEGORIES= finance kde
-MASTER_SITES= ${MASTER_SITE_KDE}
-MASTER_SITE_SUBDIR= stable/${PORTNAME}
+MASTER_SITES= KDE/stable/${PORTNAME}
MAINTAINER= kde@FreeBSD.org
COMMENT= KDE4 personal finance manager
diff --git a/french/aster/bsd.aster.mk b/french/aster/bsd.aster.mk
index fbbde54..0204b9c 100644
--- a/french/aster/bsd.aster.mk
+++ b/french/aster/bsd.aster.mk
@@ -6,8 +6,7 @@
DISTVERSIONPREFIX= full-src-
DISTVERSIONSUFFIX= .noarch
MASTER_SITES= http://www.code-aster.org/FICHIERS/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= thierry
+ LOCAL/thierry
DISTNAME= aster-${DISTVERSIONPREFIX}${ASTER_DISTVERSION}${DISTVERSIONSUFFIX}
DISTINFO_FILE= ${.CURDIR}/../../french/aster/distinfo
diff --git a/french/tvdownloader/Makefile b/french/tvdownloader/Makefile
index 4c83ad9..de1d023 100644
--- a/french/tvdownloader/Makefile
+++ b/french/tvdownloader/Makefile
@@ -5,8 +5,7 @@ PORTNAME= tvdownloader
PORTVERSION= 0.7.2
PORTREVISION= 5
CATEGORIES= french multimedia
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
-MASTER_SITE_SUBDIR=
+MASTER_SITES= GOOGLE_CODE
MAINTAINER= thierry@FreeBSD.org
COMMENT= Download podcasts and videos from French websites
diff --git a/ftp/atftp/Makefile b/ftp/atftp/Makefile
index d2a0582..541f168 100644
--- a/ftp/atftp/Makefile
+++ b/ftp/atftp/Makefile
@@ -4,8 +4,7 @@ PORTNAME= atftp
PORTVERSION= 0.7
PORTREVISION= 3
CATEGORIES= ftp
-MASTER_SITES= ${MASTER_SITE_DEBIAN}
-MASTER_SITE_SUBDIR= pool/main/a/${PORTNAME}
+MASTER_SITES= DEBIAN/pool/main/a/${PORTNAME}
DISTNAME= ${PORTNAME}_${PORTVERSION}.dfsg.orig
MAINTAINER= kevlo@FreeBSD.org
diff --git a/ftp/ftpsesame/Makefile b/ftp/ftpsesame/Makefile
index 3fec9a1..35543c6 100644
--- a/ftp/ftpsesame/Makefile
+++ b/ftp/ftpsesame/Makefile
@@ -5,8 +5,7 @@ PORTNAME= ftpsesame
PORTVERSION= 0.95
CATEGORIES= ftp
MASTER_SITES= http://www.sentia.org/downloads/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= sem
+ LOCAL/sem
MAINTAINER= sem@FreeBSD.org
COMMENT= Helper for pf firewall to pass FTP protocol
diff --git a/ftp/gnustep-ftp/Makefile b/ftp/gnustep-ftp/Makefile
index 75481e1..ca52414 100644
--- a/ftp/gnustep-ftp/Makefile
+++ b/ftp/gnustep-ftp/Makefile
@@ -4,8 +4,7 @@ PORTNAME= ftp
PORTVERSION= 0.4
PORTREVISION= 2
CATEGORIES= ftp gnustep
-MASTER_SITES= ${MASTER_SITE_SAVANNAH}
-MASTER_SITE_SUBDIR= gap
+MASTER_SITES= SAVANNAH/gap
PKGNAMEPREFIX= gnustep-
DISTNAME= FTP-${PORTVERSION}
diff --git a/ftp/mirror/Makefile b/ftp/mirror/Makefile
index 5a396577..98efbee 100644
--- a/ftp/mirror/Makefile
+++ b/ftp/mirror/Makefile
@@ -7,7 +7,7 @@ PORTREVISION= 2
CATEGORIES= ftp
MASTER_SITES= ftp://sunsite.ualberta.ca/pub/Mirror/mirror/ \
http://komquats.com/distfiles/ \
- ${MASTER_SITE_LOCAL}/cy/
+ LOCAL/cy
PATCH_SITES= ${MASTER_SITES}
PATCHFILES= ftp.pl_wupatch
diff --git a/ftp/tftp-hpa/Makefile b/ftp/tftp-hpa/Makefile
index fd1d10f..f97ab10 100644
--- a/ftp/tftp-hpa/Makefile
+++ b/ftp/tftp-hpa/Makefile
@@ -3,8 +3,7 @@
PORTNAME= tftp-hpa
PORTVERSION= 5.2
CATEGORIES= ftp
-MASTER_SITES= ${MASTER_SITE_KERNEL_ORG}
-MASTER_SITE_SUBDIR= software/network/tftp/tftp-hpa
+MASTER_SITES= KERNEL_ORG/software/network/tftp/tftp-hpa
MAINTAINER= brooks@FreeBSD.org
COMMENT= Advanced tftp server
diff --git a/ftp/vsftpd/Makefile b/ftp/vsftpd/Makefile
index bf7db04..b0886d3 100644
--- a/ftp/vsftpd/Makefile
+++ b/ftp/vsftpd/Makefile
@@ -5,8 +5,7 @@ PORTNAME= vsftpd
PORTVERSION= 3.0.2
CATEGORIES= ftp ipv6
MASTER_SITES= https://security.appspot.com/downloads/ \
- ${MASTER_SITE_GENTOO}
-MASTER_SITE_SUBDIR= distfiles
+ GENTOO
PKGNAMESUFFIX?= ${SSL_SUFFIX}${PKGNAMESUFFIX2}
MAINTAINER= dinoex@FreeBSD.org
diff --git a/games/abuse_sdl/Makefile b/games/abuse_sdl/Makefile
index ec4f973..7c12422 100644
--- a/games/abuse_sdl/Makefile
+++ b/games/abuse_sdl/Makefile
@@ -5,7 +5,7 @@ PORTNAME= abuse_sdl
PORTVERSION= 0.8
PORTREVISION= 5
CATEGORIES= games
-MASTER_SITES= GENTOO/distfiles \
+MASTER_SITES= GENTOO \
http://abuse.zoy.org/raw-attachment/wiki/download/
DISTNAME= abuse-${DISTVERSION}
diff --git a/games/an/Makefile b/games/an/Makefile
index f4ac104..06cb8fc 100644
--- a/games/an/Makefile
+++ b/games/an/Makefile
@@ -5,7 +5,7 @@ PORTNAME= an
PORTVERSION= 0.95
PORTREVISION= 1
CATEGORIES= games
-MASTER_SITES= ${MASTER_SITE_DEBIAN_POOL}
+MASTER_SITES= DEBIAN_POOL
DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
MAINTAINER= ports@FreeBSD.org
diff --git a/games/bugsx/Makefile b/games/bugsx/Makefile
index 0e0afc0..c92a221 100644
--- a/games/bugsx/Makefile
+++ b/games/bugsx/Makefile
@@ -5,8 +5,7 @@ PORTNAME= bugsx
PORTVERSION= 1.08
PORTREVISION= 2
CATEGORIES= games
-MASTER_SITES= ${MASTER_SITE_XCONTRIB}
-MASTER_SITE_SUBDIR= applications
+MASTER_SITES= XCONTRIB/applications
DISTNAME= bugsx108
MAINTAINER= ports@FreeBSD.org
diff --git a/games/cardpics/Makefile b/games/cardpics/Makefile
index 8c8bb75..8fc6d1f 100644
--- a/games/cardpics/Makefile
+++ b/games/cardpics/Makefile
@@ -4,8 +4,7 @@
PORTNAME= cardpics
PORTVERSION= 0.4
CATEGORIES= games devel
-MASTER_SITES= ${MASTER_SITE_SAVANNAH}
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= SAVANNAH
MAINTAINER= thierry@FreeBSD.org
COMMENT= Free cards for your free card games!
diff --git a/games/crafty-open-enormous/Makefile b/games/crafty-open-enormous/Makefile
index 03bd914..4a9845f 100644
--- a/games/crafty-open-enormous/Makefile
+++ b/games/crafty-open-enormous/Makefile
@@ -5,8 +5,7 @@ PORTNAME= crafty-open-enormous
PORTVERSION= 20070924
PORTREVISION= 1
CATEGORIES= games
-MASTER_SITES= http://www.cis.uab.edu/hyatt/crafty/pgn/ \
- ${MASTER_SITE_LOCAL}
+MASTER_SITES= http://www.cis.uab.edu/hyatt/crafty/pgn/
DISTFILES= enormous.zip
EXTRACT_ONLY= ${DISTFILES}
diff --git a/games/crafty-open-large/Makefile b/games/crafty-open-large/Makefile
index 63b7082..cf66141 100644
--- a/games/crafty-open-large/Makefile
+++ b/games/crafty-open-large/Makefile
@@ -5,8 +5,7 @@ PORTNAME= crafty-open-large
PORTVERSION= 20070909
PORTREVISION= 2
CATEGORIES= games
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= dd/crafty
+MASTER_SITES= LOCAL/dd/crafty
DISTFILES= large1.zip large2.zip large3.zip large4.zip
MAINTAINER= ports@FreeBSD.org
diff --git a/games/crafty-open-medium/Makefile b/games/crafty-open-medium/Makefile
index c450aca..bc4b61a 100644
--- a/games/crafty-open-medium/Makefile
+++ b/games/crafty-open-medium/Makefile
@@ -5,8 +5,7 @@ PORTNAME= crafty-open-medium
PORTVERSION= 20070909
PORTREVISION= 2
CATEGORIES= games
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= dd/crafty
+MASTER_SITES= LOCAL/dd/crafty
DISTNAME= medium
MAINTAINER= ports@FreeBSD.org
diff --git a/games/dmjava/Makefile b/games/dmjava/Makefile
index 7f2ebd4..3d39c19 100644
--- a/games/dmjava/Makefile
+++ b/games/dmjava/Makefile
@@ -5,9 +5,8 @@ PORTNAME= dmjava
PORTVERSION= 1.05
PORTREVISION= 2
CATEGORIES= games
-MASTER_SITES= ${MASTER_SITE_LOCAL} \
+MASTER_SITES= LOCAL/oliver \
http://chaos.zpc.cz/files/
-MASTER_SITE_SUBDIR= oliver
DISTNAME= dmj${PORTVERSION}
MAINTAINER= oliver@FreeBSD.org
diff --git a/games/doom-freedoom/Makefile b/games/doom-freedoom/Makefile
index e3eed18..b2b2054 100644
--- a/games/doom-freedoom/Makefile
+++ b/games/doom-freedoom/Makefile
@@ -4,8 +4,7 @@
PORTNAME= freedoom
PORTVERSION= 0.7
CATEGORIES= games
-MASTER_SITES= ${MASTER_SITE_SAVANNAH}
-MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTNAME}-iwad
+MASTER_SITES= SAVANNAH/${PORTNAME}/${PORTNAME}-iwad
PKGNAMEPREFIX= ${DMPKGNAMEPREFIX}
DISTNAME= ${PORTNAME}-iwad-${PORTVERSION}
diff --git a/games/doom/Makefile b/games/doom/Makefile
index b6df241..6dccf7e 100644
--- a/games/doom/Makefile
+++ b/games/doom/Makefile
@@ -5,7 +5,7 @@ PORTNAME= doom
PORTVERSION= 1.10
PORTREVISION= 5
CATEGORIES= games
-MASTER_SITES= ${MASTER_SITE_IDSOFTWARE:S|$|source/|}
+MASTER_SITES= IDSOFTWARE/source
DISTNAME= doomsrc
MAINTAINER= ports@FreeBSD.org
diff --git a/games/ensemblist/Makefile b/games/ensemblist/Makefile
index d84b56e..6b86d4f 100644
--- a/games/ensemblist/Makefile
+++ b/games/ensemblist/Makefile
@@ -5,8 +5,7 @@ PORTNAME= ensemblist
PORTVERSION= 040126
PORTREVISION= 10
CATEGORIES= games
-MASTER_SITES= ${MASTER_SITE_SAVANNAH}
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= SAVANNAH
MAINTAINER= ports@FreeBSD.org
COMMENT= Assemble given shapes from primitives
diff --git a/games/evq3/Makefile b/games/evq3/Makefile
index 58ed7c4..7e218d7 100644
--- a/games/evq3/Makefile
+++ b/games/evq3/Makefile
@@ -5,7 +5,7 @@ PORTNAME= evq3
PORTVERSION= 1.3.20080810
PORTREVISION= 11
CATEGORIES= games
-MASTER_SITES= ${MASTER_SITE_LOCAL:S|$|alepulver/|}
+MASTER_SITES= LOCAL/alepulver
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
pak-evq3.pk3 \
pak-5evq3.pk3
diff --git a/games/flying/Makefile b/games/flying/Makefile
index bd455b0..2a0d2db 100644
--- a/games/flying/Makefile
+++ b/games/flying/Makefile
@@ -5,8 +5,7 @@ PORTNAME= flying
PORTVERSION= 6.20
PORTREVISION= 3
CATEGORIES= games
-MASTER_SITES= ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR= games/arcade
+MASTER_SITES= SUNSITE/games/arcade
MAINTAINER= ports@FreeBSD.org
COMMENT= Pool/snooker/billiards/carrom/etc game
diff --git a/games/fortunate/Makefile b/games/fortunate/Makefile
index 15162ea..8de6344 100644
--- a/games/fortunate/Makefile
+++ b/games/fortunate/Makefile
@@ -4,7 +4,7 @@ PORTNAME= fortunate
PORTVERSION= 3.1
PORTREVISION= 4
CATEGORIES= games gnustep
-MASTER_SITES= ${MASTER_SITE_GNUSTEP_CH}
+MASTER_SITES= GNUSTEP_CH
MAINTAINER= ports@FreeBSD.org
COMMENT= Graphical front-end to the command-line BSD fortune
diff --git a/games/freeciv-sounds/Makefile b/games/freeciv-sounds/Makefile
index c2e399e..d94a8ec 100644
--- a/games/freeciv-sounds/Makefile
+++ b/games/freeciv-sounds/Makefile
@@ -4,7 +4,7 @@
PORTNAME= freeciv
PORTVERSION= 3
CATEGORIES= games
-MASTER_SITES= GENTOO/distfiles \
+MASTER_SITES= GENTOO \
ftp://ftp.freeciv.org/freeciv/contrib/audio/soundsets/
PKGNAMESUFFIX= -sounds
DISTNAME= stdsounds${DISTVERSION}
diff --git a/games/freedink-data/Makefile b/games/freedink-data/Makefile
index 71e21a4..fb04355 100644
--- a/games/freedink-data/Makefile
+++ b/games/freedink-data/Makefile
@@ -4,8 +4,7 @@
PORTNAME= freedink-data
PORTVERSION= 1.08.${PORTVER}
CATEGORIES= games
-MASTER_SITES= GNU
-MASTER_SITE_SUBDIR= freedink
+MASTER_SITES= GNU/freedink
MAINTAINER= shurd@FreeBSD.org
COMMENT= Game data for games/freedink (Dink Smallwood)
diff --git a/games/freedink-dfarc/Makefile b/games/freedink-dfarc/Makefile
index dbae532..b06d1e9 100644
--- a/games/freedink-dfarc/Makefile
+++ b/games/freedink-dfarc/Makefile
@@ -4,8 +4,7 @@
PORTNAME= freedink-dfarc
PORTVERSION= 3.12
CATEGORIES= games
-MASTER_SITES= GNU
-MASTER_SITE_SUBDIR= freedink
+MASTER_SITES= GNU/freedink
DISTNAME= dfarc-${PORTVERSION}
MAINTAINER= shurd@FreeBSD.org
diff --git a/games/gnugo/Makefile b/games/gnugo/Makefile
index 8fc242e..53ab9b3 100644
--- a/games/gnugo/Makefile
+++ b/games/gnugo/Makefile
@@ -4,8 +4,7 @@
PORTNAME= gnugo
PORTVERSION= 3.8
CATEGORIES= games
-MASTER_SITES= ${MASTER_SITE_GNU}
-MASTER_SITE_SUBDIR= gnugo
+MASTER_SITES= GNU
MAINTAINER= spcoltri@omcl.org
COMMENT= The game of Go
diff --git a/games/gnushogi/Makefile.common b/games/gnushogi/Makefile.common
index 13278ff..c1cde15 100644
--- a/games/gnushogi/Makefile.common
+++ b/games/gnushogi/Makefile.common
@@ -4,9 +4,8 @@
GNUSHOGI_PORTNAME= gnushogi
GNUSHOGI_PORTVERSION= 1.4.0
-GNUSHOGI_MASTER_SITES= ${MASTER_SITE_GNU}
+GNUSHOGI_MASTER_SITES= GNU/${GNUSHOGI_PORTNAME}
GNUSHOGI_DISTNAME= ${GNUSHOGI_PORTNAME}-${GNUSHOGI_PORTVERSION}
-GNUSHOGI_MASTER_SITE_SUBDIR= ${GNUSHOGI_PORTNAME}
USES= tar:bzip2
DISTINFO_FILE= ${.CURDIR}/../../games/gnushogi/distinfo
diff --git a/games/gtypist/Makefile b/games/gtypist/Makefile
index 3261e2b..248003d 100644
--- a/games/gtypist/Makefile
+++ b/games/gtypist/Makefile
@@ -3,8 +3,7 @@
PORTNAME= gtypist
PORTVERSION= 2.9.5
CATEGORIES= games
-MASTER_SITES= ${MASTER_SITE_GNU}
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= GNU
MAINTAINER= naddy@FreeBSD.org
COMMENT= Interactive typing tutor
diff --git a/games/ifm/Makefile b/games/ifm/Makefile
index 61450df..e54e533 100644
--- a/games/ifm/Makefile
+++ b/games/ifm/Makefile
@@ -4,8 +4,7 @@
PORTNAME= ifm
PORTVERSION= 5.4
CATEGORIES= games tk
-MASTER_SITES= http://www.ifarchive.org/%SUBDIR%/
-MASTER_SITE_SUBDIR= if-archive/mapping-tools
+MASTER_SITES= http://www.ifarchive.org/if-archive/mapping-tools/
MAINTAINER= akosela@andykosela.com
COMMENT= Interactive Fiction mapper and walkthrough generator
diff --git a/games/ishido/Makefile b/games/ishido/Makefile
index ee446d2..3094283 100644
--- a/games/ishido/Makefile
+++ b/games/ishido/Makefile
@@ -5,8 +5,7 @@ PORTNAME= ishido
PORTVERSION= 1.1
PORTREVISION= 2
CATEGORIES= games
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= obrien
+MASTER_SITES= LOCAL/obrien
MAINTAINER= ports@FreeBSD.org
COMMENT= Tile placement game
diff --git a/games/katawa-shoujo/Makefile b/games/katawa-shoujo/Makefile
index 4a267f1..acb89c3 100644
--- a/games/katawa-shoujo/Makefile
+++ b/games/katawa-shoujo/Makefile
@@ -5,7 +5,7 @@ PORTVERSION= 1.3
DISTVERSIONSUFFIX=-[linux-x86][FCF758CC]
CATEGORIES= games
MASTER_SITES= http://dl.katawa-shoujo.com/gold_${PORTVERSION}/:game \
- GENTOO/distfiles:icon
+ GENTOO:icon
DISTFILES= [4ls]_${PORTNAME:S|-|_|}_${PORTVERSION}${DISTVERSIONSUFFIX}${EXTRACT_SUFX}:game \
${PORTNAME}-48.png:icon \
${PORTNAME}-256.png:icon
diff --git a/games/libggz/bsd.ggz.mk b/games/libggz/bsd.ggz.mk
index d4d94d58..3ef94ff 100644
--- a/games/libggz/bsd.ggz.mk
+++ b/games/libggz/bsd.ggz.mk
@@ -5,9 +5,8 @@
GGZ_VERSION= 0.0.14.1
MASTER_SITES= \
- http://mirrors.dotsrc.org/ggzgamingzone/ggz/%SUBDIR%/ \
- http://ftp.ggzgamingzone.org/pub/ggz/%SUBDIR%/
-MASTER_SITE_SUBDIR= ${PORTVERSION}
+ http://mirrors.dotsrc.org/ggzgamingzone/ggz/${PORTVERSION}/ \
+ http://ftp.ggzgamingzone.org/pub/ggz/${PORTVERSION}/
DIST_SUBDIR= ggz
# components section
diff --git a/games/libmaitretarot/Makefile b/games/libmaitretarot/Makefile
index 33fbe6d..a9d7327 100644
--- a/games/libmaitretarot/Makefile
+++ b/games/libmaitretarot/Makefile
@@ -5,8 +5,7 @@ PORTNAME= libmaitretarot
PORTVERSION= 0.1.98
PORTREVISION= 7
CATEGORIES= games
-MASTER_SITES= ${MASTER_SITE_SAVANNAH}
-MASTER_SITE_SUBDIR= maitretarot
+MASTER_SITES= SAVANNAH/maitretarot
MAINTAINER= thierry@FreeBSD.org
COMMENT= Core library of MaitreTarot, a Tarot card game
diff --git a/games/libmt_client/Makefile b/games/libmt_client/Makefile
index 89b3d90..d945aa5 100644
--- a/games/libmt_client/Makefile
+++ b/games/libmt_client/Makefile
@@ -5,8 +5,7 @@ PORTNAME= libmt_client
PORTVERSION= 0.1.98
PORTREVISION= 7
CATEGORIES= games
-MASTER_SITES= ${MASTER_SITE_SAVANNAH}
-MASTER_SITE_SUBDIR= maitretarot
+MASTER_SITES= SAVANNAH/maitretarot
MAINTAINER= thierry@FreeBSD.org
COMMENT= Client-side library of MaitreTarot, a Tarot card game
diff --git a/games/linux-doom3/Makefile b/games/linux-doom3/Makefile
index 51de889..4f538f8 100644
--- a/games/linux-doom3/Makefile
+++ b/games/linux-doom3/Makefile
@@ -5,8 +5,7 @@ PORTNAME= doom3
PORTVERSION= 1.3.1.1304
PORTEPOCH= 1
CATEGORIES= games linux
-MASTER_SITES= ${MASTER_SITE_IDSOFTWARE}
-MASTER_SITE_SUBDIR= doom3/linux
+MASTER_SITES= IDSOFTWARE/doom3/linux
PKGNAMEPREFIX= linux-
DISTNAME= ${PORTNAME}-linux-${PORTVERSION}.x86
EXTRACT_SUFX= .run
@@ -29,7 +28,7 @@ SUB_FILES= doom3 doom3-ded pkg-message pkg-deinstall
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNO_CDKEY}
-MASTER_SITE_SUBDIR= doom3/linux/old
+MASTER_SITES= IDSOFTWARE/doom3/linux/old
PORTVERSION= 1.1.1286
PORTEPOCH= 0
PLIST_SUB+= NEW="@comment "
diff --git a/games/linux-enemyterritory-shrub/Makefile b/games/linux-enemyterritory-shrub/Makefile
index 48e2231..8a4acb7 100644
--- a/games/linux-enemyterritory-shrub/Makefile
+++ b/games/linux-enemyterritory-shrub/Makefile
@@ -5,8 +5,7 @@ PORTNAME= shrub
PORTVERSION= 1.2
PORTREVISION= 1
CATEGORIES= games linux
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= alepulver
+MASTER_SITES= LOCAL/alepulver
PKGNAMEPREFIX= linux-enemyterritory-
DISTNAME= 1.2-test13-l
diff --git a/games/linux-enemyterritory/Makefile b/games/linux-enemyterritory/Makefile
index a5a0f5c..6425073 100644
--- a/games/linux-enemyterritory/Makefile
+++ b/games/linux-enemyterritory/Makefile
@@ -5,8 +5,8 @@ PORTNAME= enemyterritory
PORTVERSION= 2.60b
PORTREVISION= 3
CATEGORIES= games linux
-MASTER_SITES= ${MASTER_SITE_IDSOFTWARE:S|$|et/:patch|} \
- ${MASTER_SITE_IDSOFTWARE:S|$|et/linux/:full|}
+MASTER_SITES= IDSOFTWARE/et/:patch \
+ IDSOFTWARE/et/linux/:full
PKGNAMEPREFIX= linux-
DISTNAME= et-linux-2.60b.x86
DISTFILES= et-linux-2.60.x86.run:full ET-2.60b.zip:patch
diff --git a/games/linux-etqw-demo-server/Makefile b/games/linux-etqw-demo-server/Makefile
index 1f3d1c7..b9c8da4 100644
--- a/games/linux-etqw-demo-server/Makefile
+++ b/games/linux-etqw-demo-server/Makefile
@@ -4,7 +4,7 @@
PORTNAME= etqw
PORTVERSION= 2.0.r1
CATEGORIES= games linux
-MASTER_SITES= ${MASTER_SITE_IDSOFTWARE:S|$|etqw/|}
+MASTER_SITES= IDSOFTWARE/etqw
PKGNAMEPREFIX= linux-
PKGNAMESUFFIX= -demo-server
DISTNAME= ETQW-demo2-server-full.r1.x86
diff --git a/games/linux-etqw-server/Makefile b/games/linux-etqw-server/Makefile
index fe8fe49..ebd2eb7b 100644
--- a/games/linux-etqw-server/Makefile
+++ b/games/linux-etqw-server/Makefile
@@ -7,7 +7,7 @@ CATEGORIES= games linux
MASTER_SITES= http://ftp.4players.de/pub/hosted/wolfenstein/users/etqw/server/ \
ftp://ftp0.uk.multiplay.co.uk/pub/games/fps/enemyterritory_quakewars/server/linux/ \
ftp://ftp0.nl.multiplay.co.uk/pub/games/fps/enemyterritory_quakewars/server/linux/ \
- ${MASTER_SITE_IDSOFTWARE:S|$|etqw/|}
+ IDSOFTWARE/etqw
PKGNAMEPREFIX= linux-
PKGNAMESUFFIX= -server
DISTNAME= ETQW${PKGNAMESUFFIX}-1.5-full.x86
diff --git a/games/linux-quake3-demo/Makefile b/games/linux-quake3-demo/Makefile
index ca75854..6409105 100644
--- a/games/linux-quake3-demo/Makefile
+++ b/games/linux-quake3-demo/Makefile
@@ -5,7 +5,7 @@ PORTNAME= quake3
DISTVERSION= 1.11-6
PORTREVISION= 5
CATEGORIES= games
-MASTER_SITES= GENTOO/distfiles
+MASTER_SITES= GENTOO
PKGNAMEPREFIX= linux-
PKGNAMESUFFIX= -demo
DISTNAME= linuxq3ademo-${DISTVERSION}.x86
diff --git a/games/linux-quake3/Makefile b/games/linux-quake3/Makefile
index d5b2867..5563c6b 100644
--- a/games/linux-quake3/Makefile
+++ b/games/linux-quake3/Makefile
@@ -4,8 +4,8 @@
PORTNAME= quake3
PORTVERSION= 1.32c
CATEGORIES= games linux
-MASTER_SITES= ${MASTER_SITE_IDSOFTWARE:S|$|quake3/linux/:data|} \
- ${MASTER_SITE_IDSOFTWARE:S|$|quake3/:patch|}
+MASTER_SITES= IDSOFTWARE/quake3/linux/:data \
+ IDSOFTWARE/quake3/:patch
PKGNAMEPREFIX= linux-
DISTFILES= ${Q3DATAFILE}:data \
${Q3PATCHFILE}:patch
diff --git a/games/linux-quake4-demo/Makefile b/games/linux-quake4-demo/Makefile
index c32c76b..78185c8 100644
--- a/games/linux-quake4-demo/Makefile
+++ b/games/linux-quake4-demo/Makefile
@@ -5,7 +5,7 @@ PORTNAME= quake4
PORTVERSION= 1.0
PORTREVISION= 1
CATEGORIES= games linux
-MASTER_SITES= IDSOFTWARE/${PORTNAME}/demo GENTOO/distfiles
+MASTER_SITES= IDSOFTWARE/${PORTNAME}/demo GENTOO
PKGNAMEPREFIX= linux-
PKGNAMESUFFIX= -demo
DISTNAME= ${PORTNAME}-${PKGNAMEPREFIX}${PORTVERSION}${PKGNAMESUFFIX}.x86
diff --git a/games/linux-quake4/Makefile b/games/linux-quake4/Makefile
index 8229e70..c9fd306 100644
--- a/games/linux-quake4/Makefile
+++ b/games/linux-quake4/Makefile
@@ -6,8 +6,8 @@ PORTVERSION= 1.4.2
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= games linux
-MASTER_SITES= ${MASTER_SITE_IDSOFTWARE:S|$|quake4/linux/|} \
- ${MASTER_SITE_GENTOO:S|$|distfiles/|}
+MASTER_SITES= IDSOFTWARE/quake4/linux/ \
+ GENTOO
PKGNAMEPREFIX= linux-
DISTNAME= ${PORTNAME}-${PKGNAMEPREFIX}${PORTVERSION}.x86
EXTRACT_SUFX= .run
diff --git a/games/linux-rtcw/Makefile b/games/linux-rtcw/Makefile
index 55fe0a0..ffcfd24e 100644
--- a/games/linux-rtcw/Makefile
+++ b/games/linux-rtcw/Makefile
@@ -5,8 +5,7 @@ PORTNAME= rtcw
DISTVERSION= 1.41b
PORTREVISION= 2
CATEGORIES= games linux
-MASTER_SITES= ${MASTER_SITE_IDSOFTWARE}
-MASTER_SITE_SUBDIR= wolf/linux
+MASTER_SITES= IDSOFTWARE/wolf/linux
PKGNAMEPREFIX= linux-
DISTNAME= wolf-linux-${DISTVERSION}.x86
EXTRACT_SUFX= .run
diff --git a/games/linux-ut2003-demo/Makefile b/games/linux-ut2003-demo/Makefile
index 6b15126..a0ef2d2 100644
--- a/games/linux-ut2003-demo/Makefile
+++ b/games/linux-ut2003-demo/Makefile
@@ -4,7 +4,7 @@
PORTNAME= ut2003-demo
PORTVERSION= 2206
CATEGORIES= games linux
-MASTER_SITES= GENTOO/distfiles
+MASTER_SITES= GENTOO
PKGNAMEPREFIX= linux-
DISTNAME= ut2003demo-lnx-${PORTVERSION}
EXTRACT_SUFX= .sh.bin
diff --git a/games/liquidwar/Makefile b/games/liquidwar/Makefile
index ae23876..5b78303 100644
--- a/games/liquidwar/Makefile
+++ b/games/liquidwar/Makefile
@@ -6,9 +6,8 @@ PORTVERSION= 5.6.4
PORTREVISION= 4
CATEGORIES= games
MASTER_SITES= http://liquidwar.sunsite.dk/archive/ \
- ${MASTER_SITE_SAVANNAH} \
+ SAVANNAH \
http://ufoot.hd.free.fr/pub/archive/
-MASTER_SITE_SUBDIR= liquidwar
MAINTAINER= edwin@mavetju.org
COMMENT= You control an army of liquid and have to try and eat your opponents
diff --git a/games/maitretarot/Makefile b/games/maitretarot/Makefile
index 00258e6..acefe99 100644
--- a/games/maitretarot/Makefile
+++ b/games/maitretarot/Makefile
@@ -5,8 +5,7 @@ PORTNAME= maitretarot
PORTVERSION= 0.1.98
PORTREVISION= 4
CATEGORIES= games
-MASTER_SITES= ${MASTER_SITE_SAVANNAH}
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= SAVANNAH
MAINTAINER= thierry@FreeBSD.org
COMMENT= Server side of MaitreTarot, a Tarot card game
diff --git a/games/mt_dolphin_ia/Makefile b/games/mt_dolphin_ia/Makefile
index a7f2784..b91c192 100644
--- a/games/mt_dolphin_ia/Makefile
+++ b/games/mt_dolphin_ia/Makefile
@@ -5,8 +5,7 @@ PORTNAME= mt_dolphin_ia
PORTVERSION= 0.1.98
PORTREVISION= 4
CATEGORIES= games
-MASTER_SITES= ${MASTER_SITE_SAVANNAH}
-MASTER_SITE_SUBDIR= maitretarot
+MASTER_SITES= SAVANNAH/maitretarot
MAINTAINER= thierry@FreeBSD.org
COMMENT= Basic AI for MaitreTarot, a Tarot card game
diff --git a/games/mt_gtk_client/Makefile b/games/mt_gtk_client/Makefile
index dbed8349..50df3fc 100644
--- a/games/mt_gtk_client/Makefile
+++ b/games/mt_gtk_client/Makefile
@@ -5,8 +5,7 @@ PORTNAME= mt_gtk_client
PORTVERSION= 0.1.98
PORTREVISION= 11
CATEGORIES= games
-MASTER_SITES= ${MASTER_SITE_SAVANNAH}
-MASTER_SITE_SUBDIR= maitretarot
+MASTER_SITES= SAVANNAH/maitretarot
MAINTAINER= thierry@FreeBSD.org
COMMENT= GTK+ client for MaitreTarot, a Tarot card game
diff --git a/games/nehquake/Makefile b/games/nehquake/Makefile
index 79e1e32..fc78298 100644
--- a/games/nehquake/Makefile
+++ b/games/nehquake/Makefile
@@ -5,8 +5,7 @@ PORTNAME= nehquake
PORTVERSION= 1.0
PORTREVISION= 7
CATEGORIES= games
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= alepulver
+MASTER_SITES= LOCAL/alepulver
DISTNAME= NehQuake-bjp-bin-src.linux
MAINTAINER= ports@FreeBSD.org
diff --git a/games/nethack32/Makefile b/games/nethack32/Makefile
index eb69d33..3c817b2 100644
--- a/games/nethack32/Makefile
+++ b/games/nethack32/Makefile
@@ -8,7 +8,7 @@ CATEGORIES= games
MASTER_SITES= SF/${TRUEPORTNAME}/${TRUEPORTNAME}/3.2.2
DISTNAME= nethack-322
-PATCH_SITES= ${MASTER_SITE_SOURCEFORGE:C/%SUBDIR%/${TRUEPORTNAME}\/${TRUEPORTNAME}\/${PORTVERSION}/}
+PATCH_SITES= SOURCEFORGE/${TRUEPORTNAME}/${TRUEPORTNAME}/${PORTVERSION}
PATCHFILES= nh-3.2.2-3.2.3.diff
MAINTAINER= glewis@FreeBSD.org
diff --git a/games/nethack34/Makefile b/games/nethack34/Makefile
index 4b8121f..e5f25f2 100644
--- a/games/nethack34/Makefile
+++ b/games/nethack34/Makefile
@@ -53,13 +53,13 @@ CFLAGS+= -DMENU_COLOR_REGEX_POSIX
.if defined(WITH_STATUSCOLORS)
PATCHFILES+= nh343-statuscolors.fixed.patch
PATCH_SITES+= http://jdc.koitsu.org/nethack/ \
- ${MASTER_SITE_LOCAL:S|%SUBDIR%|wxs|}
+ LOCAL/wxs
PATCH_DIST_STRIP= -p1
.endif
.if defined(WITH_HPMON)
PATCHFILES+= hpmon.diff
PATCH_SITES+= http://www.netsonic.fi/~walker/nh/ \
- ${MASTER_SITE_LOCAL:S|%SUBDIR%|wxs|}
+ LOCAL/wxs
PATCH_DIST_STRIP= -p1
CFLAGS+= -DHPMON
.endif
diff --git a/games/oldrunner/Makefile b/games/oldrunner/Makefile
index 897294c..9849dc1 100644
--- a/games/oldrunner/Makefile
+++ b/games/oldrunner/Makefile
@@ -4,8 +4,7 @@
PORTNAME= oldrunner
PORTVERSION= 20120131
CATEGORIES= games
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= culot
+MASTER_SITES= LOCAL/culot
MAINTAINER= culot@FreeBSD.org
COMMENT= Textmode remake of Broderbund's LodeRunner
diff --git a/games/oonsoo/Makefile b/games/oonsoo/Makefile
index 662a522..6811c1a 100644
--- a/games/oonsoo/Makefile
+++ b/games/oonsoo/Makefile
@@ -5,9 +5,8 @@ PORTNAME= oonsoo
PORTVERSION= 1.2
PORTREVISION= 3
CATEGORIES= games
-MASTER_SITES= ${MASTER_SITE_SUNSITE} \
+MASTER_SITES= SUNSITE/games/solitaires \
http://www4.ncsu.edu/~bwmott/www/oonsoo/distributions/
-MASTER_SITE_SUBDIR= games/solitaires
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
diff --git a/games/p5-Acme-GuessNumber/Makefile b/games/p5-Acme-GuessNumber/Makefile
index f34ab80..0e65398 100644
--- a/games/p5-Acme-GuessNumber/Makefile
+++ b/games/p5-Acme-GuessNumber/Makefile
@@ -5,8 +5,7 @@ PORTNAME= Acme-GuessNumber
PORTVERSION= 0.04
PORTREVISION= 1
CATEGORIES= games perl5
-MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Locale/IMACAT
+MASTER_SITES= CPAN/Locale/IMACAT
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
diff --git a/games/pycadia/Makefile b/games/pycadia/Makefile
index ca247f9..d006c3c 100644
--- a/games/pycadia/Makefile
+++ b/games/pycadia/Makefile
@@ -5,7 +5,7 @@ PORTNAME= pycadia
PORTVERSION= 0.5.1
PORTREVISION= 6
CATEGORIES= games python
-MASTER_SITES= GENTOO/distfiles \
+MASTER_SITES= GENTOO \
SF/nemysisfreebsdp/games/
DIST_SUBDIR= python
diff --git a/games/quake-data/Makefile b/games/quake-data/Makefile
index 31f1c08..7867d8f 100644
--- a/games/quake-data/Makefile
+++ b/games/quake-data/Makefile
@@ -38,7 +38,7 @@ PLIST_FILES+= %%DATADIR%%/id1/pak1.pak
.endif
.if ${PORT_OPTIONS:MQW_DATA} || ${PORT_OPTIONS:MQW_SKINS}
-MASTER_SITES+= ${MASTER_SITE_IDSOFTWARE:S|$|quakeworld/unix/:qw|}
+MASTER_SITES+= IDSOFTWARE/quakeworld/unix/:qw
DISTFILES+= ${PROGFILE}:qw
EXTRACT_ONLY+= ${PROGFILE}
COMMENT:= ${COMMENT:S,Quake,& and &World,}
@@ -48,7 +48,7 @@ PLIST_SUB+= QUAKEWORLD="@comment "
.endif
.if ${PORT_OPTIONS:MQW_SKINS}
-MASTER_SITES+= ${MASTER_SITE_IDSOFTWARE:S|$|quakeworld/skins/:skins|}
+MASTER_SITES+= IDSOFTWARE/quakeworld/skins/:skins
DISTFILES+= ${SKINFILES:S/$/:skins/}
PLIST_SUB+= QUAKEWORLD_SKINS=""
COMMENT+= and skins
diff --git a/games/quake-source/Makefile b/games/quake-source/Makefile
index ce553a8..fa5c9d9 100644
--- a/games/quake-source/Makefile
+++ b/games/quake-source/Makefile
@@ -26,7 +26,7 @@ QUAKEWORLD_DESC= Install QuakeWorld game source
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MQUAKEWORLD}
-MASTER_SITES+= ${MASTER_SITE_IDSOFTWARE:S|$|quakeworld/unix/:qw|}
+MASTER_SITES+= IDSOFTWARE/quakeworld/unix/:qw
DISTFILES+= qwsv-2.30-glibc-i386-unknown-linux2.0${EXTRACT_SUFX}:qw
COMMENT:= ${COMMENT:S/Quake/& and QuakeWorld/}
PLIST_SUB+= QUAKEWORLD=""
diff --git a/games/quake2-source/Makefile b/games/quake2-source/Makefile
index ec91bc9..037fb91 100644
--- a/games/quake2-source/Makefile
+++ b/games/quake2-source/Makefile
@@ -6,7 +6,7 @@ PORTVERSION= 3.21
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= http://offload1.icculus.org/quake2/files/:icc \
- ${MASTER_SITE_IDSOFTWARE:S|$|quake2/source/:id|}
+ IDSOFTWARE/quake2/source/:id
PKGNAMEPREFIX= quake2-
DISTNAME= quake2-r0.16.2
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:icc
diff --git a/games/quake3/Makefile b/games/quake3/Makefile
index c216938..cc95ade 100644
--- a/games/quake3/Makefile
+++ b/games/quake3/Makefile
@@ -8,7 +8,7 @@ CATEGORIES= games
MASTER_SITES= ftp://mancubus.net/pub/idgames/idstuff/source/ \
http://ftp.mancubus.net/pub/idgames/idstuff/source/ \
http://www.gamers.org/pub/idgames/idstuff/source/ \
- ${MASTER_SITE_IDSOFTWARE:S|$|source/|}
+ IDSOFTWARE/source/
DISTNAME= ${PORTNAME}-${REALVERSION}-source
MAINTAINER= shirshegsm@gmail.com
diff --git a/games/scummvm/Makefile b/games/scummvm/Makefile
index 2eb63bf..1cf8464 100644
--- a/games/scummvm/Makefile
+++ b/games/scummvm/Makefile
@@ -6,7 +6,6 @@ DISTVERSION= 1.7.0
PORTREVISION= 3
CATEGORIES= games emulators
MASTER_SITES= SF
-MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTNAME}/${DISTVERSION}
MAINTAINER= lme@FreeBSD.org
COMMENT= Interpreter for several adventure games
diff --git a/games/senken/Makefile b/games/senken/Makefile
index ccaf3f6..8f18cc0 100644
--- a/games/senken/Makefile
+++ b/games/senken/Makefile
@@ -5,7 +5,7 @@ PORTNAME= senken
PORTVERSION= 0.3.0
PORTREVISION= 15
CATEGORIES= games
-MASTER_SITES= GENTOO/distfiles
+MASTER_SITES= GENTOO
MAINTAINER= ports@FreeBSD.org
COMMENT= City simulation game
diff --git a/games/sokoban/Makefile b/games/sokoban/Makefile
index 7df317b..d697408 100644
--- a/games/sokoban/Makefile
+++ b/games/sokoban/Makefile
@@ -5,8 +5,7 @@ PORTNAME= sokoban
PORTVERSION= 1.0
PORTREVISION= 2
CATEGORIES= games
-MASTER_SITES= ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR= games/strategy
+MASTER_SITES= SUNSITE/games/strategy
DISTNAME= ${PORTNAME}-src
MAINTAINER= lifanov@mail.lifanov.com
diff --git a/games/supertux-devel/Makefile b/games/supertux-devel/Makefile
index 4f2ffda..f912f36 100644
--- a/games/supertux-devel/Makefile
+++ b/games/supertux-devel/Makefile
@@ -4,7 +4,7 @@ PORTNAME= supertux
PORTVERSION= 0.3.4
PORTREVISION= 2
CATEGORIES= games
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
PKGNAMESUFFIX= -devel
MAINTAINER= makc@FreeBSD.org
diff --git a/games/supertux/Makefile b/games/supertux/Makefile
index 06f0233..84d04cb 100644
--- a/games/supertux/Makefile
+++ b/games/supertux/Makefile
@@ -5,7 +5,7 @@ PORTNAME= supertux
PORTVERSION= 0.1.3
PORTREVISION= 12
CATEGORIES= games
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
MAINTAINER= makc@FreeBSD.org
COMMENT= Side-scroller game similar to Super Mario Brothers
diff --git a/games/timeseal/Makefile b/games/timeseal/Makefile
index 441b924..02509db 100644
--- a/games/timeseal/Makefile
+++ b/games/timeseal/Makefile
@@ -4,8 +4,7 @@
PORTNAME= timeseal
PORTVERSION= 1.0
CATEGORIES= games
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= jylefort
+MASTER_SITES= LOCAL/jylefort
DISTFILES= timeseal.BSD386-1.0-i386
EXTRACT_ONLY=
diff --git a/games/tractorgen/Makefile b/games/tractorgen/Makefile
index 2750b06..8e76501 100644
--- a/games/tractorgen/Makefile
+++ b/games/tractorgen/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 0.31.7
PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= http://www.vergenet.net/~conrad/software/tractorgen/dl/
-MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= robin@15augustus.nl
COMMENT= Generates ASCII tractors
diff --git a/games/tycho/Makefile b/games/tycho/Makefile
index 7b41357..fe2ea4a 100644
--- a/games/tycho/Makefile
+++ b/games/tycho/Makefile
@@ -4,8 +4,7 @@
PORTNAME= tycho
PORTVERSION= 0.1
CATEGORIES= games
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= alepulver
+MASTER_SITES= LOCAL/alepulver
DISTNAME= redcoder
MAINTAINER= ports@FreeBSD.org
diff --git a/games/wmquake/Makefile b/games/wmquake/Makefile
index da44fd8..ba304ca 100644
--- a/games/wmquake/Makefile
+++ b/games/wmquake/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 1.1
PORTREVISION= 4
CATEGORIES= games
MASTER_SITES= http://www.ne.jp/asahi/linux/timecop/software/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= uqs
+ LOCAL/uqs
MAINTAINER= ports@FreeBSD.org
COMMENT= Id Software's Quake I in a 64x64 WM dockapp window
diff --git a/games/wolfpack/Makefile b/games/wolfpack/Makefile
index 002b7fa..a6d7ec5 100644
--- a/games/wolfpack/Makefile
+++ b/games/wolfpack/Makefile
@@ -5,8 +5,7 @@ PORTNAME= wolfpack
PORTVERSION= 4.3.32
PORTREVISION= 1
CATEGORIES= games
-MASTER_SITES= SF
-MASTER_SITE_SUBDIR= empserver/${DISTNAME}
+MASTER_SITES= SF/empserver/${DISTNAME}
DISTNAME= empire-${PORTVERSION}
MAINTAINER= johans@FreeBSD.org
diff --git a/games/worldofpadman/Makefile b/games/worldofpadman/Makefile
index 3c108f8..89b954a 100644
--- a/games/worldofpadman/Makefile
+++ b/games/worldofpadman/Makefile
@@ -6,7 +6,7 @@ PORTVERSION= 1.2.20080621
PORTREVISION= 12
CATEGORIES= games
MASTER_SITES= ftp://ftp.snt.utwente.nl/pub/games/worldofpadman/linux/:full,update \
- ${MASTER_SITE_LOCAL:S|$|alepulver/:source|}
+ LOCAL/alepulver/:source
DISTFILES= worldofpadman.run:full \
wop_patch_1_2.run:update \
${SRC_FILE}.tar.bz2:source
diff --git a/games/xbat/Makefile b/games/xbat/Makefile
index a43e0da..f26ce82 100644
--- a/games/xbat/Makefile
+++ b/games/xbat/Makefile
@@ -5,8 +5,7 @@ PORTNAME= xbat
PORTVERSION= 1.11
PORTREVISION= 2
CATEGORIES= games
-MASTER_SITES= LOCAL
-MASTER_SITE_SUBDIR= hrs
+MASTER_SITES= LOCAL/hrs
DISTNAME= xev111
MAINTAINER= turutani@scphys.kyoto-u.ac.jp
diff --git a/games/xbattle/Makefile b/games/xbattle/Makefile
index ce7df87..591982d 100644
--- a/games/xbattle/Makefile
+++ b/games/xbattle/Makefile
@@ -5,7 +5,7 @@ PORTNAME= xbattle
PORTVERSION= 5.4.1
PORTREVISION= 4
CATEGORIES= games
-MASTER_SITES= GENTOO/distfiles \
+MASTER_SITES= GENTOO \
SF/nemysisfreebsdp/${CATEGORIES}/${PORTNAME}/:icons
DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \
${PORTNAME}_icons${EXTRACT_SUFX}:icons
diff --git a/games/xblackjack/Makefile b/games/xblackjack/Makefile
index 3339d92..e9ef53f 100644
--- a/games/xblackjack/Makefile
+++ b/games/xblackjack/Makefile
@@ -5,8 +5,7 @@ PORTNAME= xblackjack
PORTVERSION= 2.2
PORTREVISION= 3
CATEGORIES= games
-MASTER_SITES= XCONTRIB
-MASTER_SITE_SUBDIR= games
+MASTER_SITES= XCONTRIB/games
MAINTAINER= ports@FreeBSD.org
COMMENT= X11/Motif blackjack game
diff --git a/games/xboing/Makefile b/games/xboing/Makefile
index cbdb4eb..9b32ff5 100644
--- a/games/xboing/Makefile
+++ b/games/xboing/Makefile
@@ -5,8 +5,7 @@ PORTNAME= xboing
PORTVERSION= 2.4
PORTREVISION= 5
CATEGORIES= games
-MASTER_SITES= ${MASTER_SITE_XCONTRIB}
-MASTER_SITE_SUBDIR= games
+MASTER_SITES= XCONTRIB/games
DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
diff --git a/games/xbubble/Makefile b/games/xbubble/Makefile
index 8f9bdeb..ae79f2b 100644
--- a/games/xbubble/Makefile
+++ b/games/xbubble/Makefile
@@ -5,7 +5,7 @@ PORTNAME= xbubble
PORTVERSION= 0.5.8
PORTREVISION= 7
CATEGORIES= games
-MASTER_SITES= GENTOO/distfiles
+MASTER_SITES= GENTOO
MAINTAINER= ports@FreeBSD.org
COMMENT= Puzzle Bobble clone for Unix/X11 platforms
diff --git a/games/xcubes/Makefile b/games/xcubes/Makefile
index e4678a2..e6ac777 100644
--- a/games/xcubes/Makefile
+++ b/games/xcubes/Makefile
@@ -5,8 +5,7 @@ PORTNAME= xcubes
PORTVERSION= 5.5.2
PORTREVISION= 2
CATEGORIES= games
-MASTER_SITES= ${MASTER_SITE_XCONTRIB}
-MASTER_SITE_SUBDIR= games/xpuzzles
+MASTER_SITES= XCONTRIB/games/xpuzzles
MAINTAINER= ports@FreeBSD.org
COMMENT= Cube puzzle for X11
diff --git a/games/xdemineur/Makefile b/games/xdemineur/Makefile
index adb7339..23ab699 100644
--- a/games/xdemineur/Makefile
+++ b/games/xdemineur/Makefile
@@ -5,9 +5,8 @@ PORTNAME= xdemineur
PORTVERSION= 2.1.1
PORTREVISION= 1
CATEGORIES= games
-MASTER_SITES= ${MASTER_SITE_XCONTRIB} \
+MASTER_SITES= XCONTRIB/games \
http://www.babafou.eu.org/xdemineur/
-MASTER_SITE_SUBDIR= games
MAINTAINER= ports@FreeBSD.org
COMMENT= Another minesweeper game for the X Window System
diff --git a/games/xdino/Makefile b/games/xdino/Makefile
index 64c313b..3ff551e 100644
--- a/games/xdino/Makefile
+++ b/games/xdino/Makefile
@@ -5,8 +5,7 @@ PORTNAME= xdino
PORTVERSION= 5.5.2
PORTREVISION= 2
CATEGORIES= games
-MASTER_SITES= ${MASTER_SITE_XCONTRIB}
-MASTER_SITE_SUBDIR= games/xpuzzles
+MASTER_SITES= XCONTRIB/games/xpuzzles
MAINTAINER= ports@FreeBSD.org
COMMENT= Dino puzzle game for X11
diff --git a/games/xhexagons/Makefile b/games/xhexagons/Makefile
index 7fbe7c5..ec5b887 100644
--- a/games/xhexagons/Makefile
+++ b/games/xhexagons/Makefile
@@ -5,8 +5,7 @@ PORTNAME= xhexagons
PORTVERSION= 5.5.2
PORTREVISION= 2
CATEGORIES= games
-MASTER_SITES= ${MASTER_SITE_XCONTRIB}
-MASTER_SITE_SUBDIR= games/xpuzzles
+MASTER_SITES= XCONTRIB/games/xpuzzles
MAINTAINER= ports@FreeBSD.org
COMMENT= Hexagons puzzle (similar to Fifteen Puzzle) for X Window System
diff --git a/games/xisola/Makefile b/games/xisola/Makefile
index c6285cf..d159ecc 100644
--- a/games/xisola/Makefile
+++ b/games/xisola/Makefile
@@ -5,8 +5,7 @@ PORTNAME= xisola
PORTVERSION= 1.0
PORTREVISION= 2
CATEGORIES= games
-MASTER_SITES= ${MASTER_SITE_XCONTRIB}
-MASTER_SITE_SUBDIR= games
+MASTER_SITES= XCONTRIB/games
MAINTAINER= ports@FreeBSD.org
COMMENT= Simple board game for X Window System
diff --git a/games/xjig/Makefile b/games/xjig/Makefile
index 739f8f8..dac0ec6 100644
--- a/games/xjig/Makefile
+++ b/games/xjig/Makefile
@@ -5,8 +5,7 @@ PORTNAME= xjig
PORTVERSION= 2.4
PORTREVISION= 2
CATEGORIES= games
-MASTER_SITES= ${MASTER_SITE_XCONTRIB}
-MASTER_SITE_SUBDIR= games
+MASTER_SITES= XCONTRIB/games
MAINTAINER= ports@FreeBSD.org
COMMENT= Jigsaw puzzle game for X11
diff --git a/games/xjump/Makefile b/games/xjump/Makefile
index b0dca2d..d37b41f 100644
--- a/games/xjump/Makefile
+++ b/games/xjump/Makefile
@@ -5,7 +5,7 @@ PORTNAME= xjump
PORTVERSION= 2.7.5
PORTREVISION= 3
CATEGORIES= games
-MASTER_SITES= ${MASTER_SITE_DEBIAN_POOL}
+MASTER_SITES= DEBIAN_POOL
DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
MAINTAINER= ports@FreeBSD.org
diff --git a/games/xkoules/Makefile b/games/xkoules/Makefile
index 34ec6ee..8877079 100644
--- a/games/xkoules/Makefile
+++ b/games/xkoules/Makefile
@@ -6,7 +6,7 @@ PORTVERSION= 1.4
PORTREVISION= 4
CATEGORIES= games
MASTER_SITES= http://www.ucw.cz/~hubicka/koules/packages/ \
- GENTOO/distfiles \
+ GENTOO \
SF/nemysisfreebsdp/${CATEGORIES}/${PORTNAME}/:icons
DISTFILES= ${PORTNAME:S/x//}${PORTVERSION}-src${EXTRACT_SUFX} \
${PORTNAME:S/x//}.png:icons
diff --git a/games/xlaby/Makefile b/games/xlaby/Makefile
index 3ede391..343b2ca 100644
--- a/games/xlaby/Makefile
+++ b/games/xlaby/Makefile
@@ -5,9 +5,8 @@ PORTNAME= xlaby
PORTVERSION= 2.0.1
PORTREVISION= 3
CATEGORIES= games
-MASTER_SITES= ${MASTER_SITE_SUNSITE} \
+MASTER_SITES= SUNSITE/games/strategy \
ftp://quatramaran.ens.fr/pub/madore/xlaby/
-MASTER_SITE_SUBDIR= games/strategy
MAINTAINER= ports@FreeBSD.org
COMMENT= Daemonic X Labyrinth played directly with the mouse pointer
diff --git a/games/xmball/Makefile b/games/xmball/Makefile
index 39ff0c5..4093c4a 100644
--- a/games/xmball/Makefile
+++ b/games/xmball/Makefile
@@ -5,8 +5,7 @@ PORTNAME= xmball
PORTVERSION= 5.5.2
PORTREVISION= 2
CATEGORIES= games
-MASTER_SITES= ${MASTER_SITE_XCONTRIB}
-MASTER_SITE_SUBDIR= games/xpuzzles
+MASTER_SITES= XCONTRIB/games/xpuzzles
MAINTAINER= ports@FreeBSD.org
COMMENT= Masterball puzzle for X Window System
diff --git a/games/xmille/Makefile b/games/xmille/Makefile
index 4cff8ab..2e59e05 100644
--- a/games/xmille/Makefile
+++ b/games/xmille/Makefile
@@ -5,8 +5,7 @@ PORTNAME= xmille
PORTVERSION= 2.0
PORTREVISION= 4
CATEGORIES= games
-MASTER_SITES= XCONTRIB
-MASTER_SITE_SUBDIR= games
+MASTER_SITES= XCONTRIB/games
DISTNAME= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
diff --git a/games/xmines/Makefile b/games/xmines/Makefile
index 0b1bcf10..471794d 100644
--- a/games/xmines/Makefile
+++ b/games/xmines/Makefile
@@ -5,8 +5,7 @@ PORTNAME= xmines
PORTVERSION= 1.0
PORTREVISION= 2
CATEGORIES= games
-MASTER_SITES= SUNSITE
-MASTER_SITE_SUBDIR= games/strategy
+MASTER_SITES= SUNSITE/games/strategy
DISTNAME= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
diff --git a/games/xmlink/Makefile b/games/xmlink/Makefile
index 696ec9a..4131d63 100644
--- a/games/xmlink/Makefile
+++ b/games/xmlink/Makefile
@@ -5,8 +5,7 @@ PORTNAME= xmlink
PORTVERSION= 5.5.2
PORTREVISION= 2
CATEGORIES= games
-MASTER_SITES= ${MASTER_SITE_XCONTRIB}
-MASTER_SITE_SUBDIR= games/xpuzzles
+MASTER_SITES= XCONTRIB/games/xpuzzles
MAINTAINER= ports@FreeBSD.org
COMMENT= Missing Link puzzle for X Window System
diff --git a/games/xneko/Makefile b/games/xneko/Makefile
index ed3f887..04832c9 100644
--- a/games/xneko/Makefile
+++ b/games/xneko/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 1.0
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= games
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR=dinoex
+MASTER_SITES= LOCAL/dinoex
DISTNAME= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
diff --git a/games/xoct/Makefile b/games/xoct/Makefile
index aa4e4c5..4383136 100644
--- a/games/xoct/Makefile
+++ b/games/xoct/Makefile
@@ -5,8 +5,7 @@ PORTNAME= xoct
PORTVERSION= 5.5.2
PORTREVISION= 2
CATEGORIES= games
-MASTER_SITES= ${MASTER_SITE_XCONTRIB}
-MASTER_SITE_SUBDIR= games/xpuzzles
+MASTER_SITES= XCONTRIB/games/xpuzzles
MAINTAINER= ports@FreeBSD.org
COMMENT= Oct puzzle for X Window System
diff --git a/games/xoids/Makefile b/games/xoids/Makefile
index 2c8e1dc..8fd94af 100644
--- a/games/xoids/Makefile
+++ b/games/xoids/Makefile
@@ -5,8 +5,7 @@ PORTNAME= xoids
PORTVERSION= 1.5
PORTREVISION= 1
CATEGORIES= games
-MASTER_SITES= ${MASTER_SITE_XCONTRIB}
-MASTER_SITE_SUBDIR= games
+MASTER_SITES= XCONTRIB/games
MAINTAINER= ports@FreeBSD.org
COMMENT= X Window Asteroids style game with full color pixmaps
diff --git a/games/xoj/Makefile b/games/xoj/Makefile
index c075022..1f466f8 100644
--- a/games/xoj/Makefile
+++ b/games/xoj/Makefile
@@ -5,8 +5,7 @@ PORTNAME= xoj
PORTVERSION= 1.0
PORTREVISION= 2
CATEGORIES= games
-MASTER_SITES= ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR= X11/demos
+MASTER_SITES= SUNSITE/X11/demos
MAINTAINER= ports@FreeBSD.org
COMMENT= O. J. Simpson Simulator root window demo
diff --git a/games/xosmulti/Makefile b/games/xosmulti/Makefile
index 428edd5..1edb386 100644
--- a/games/xosmulti/Makefile
+++ b/games/xosmulti/Makefile
@@ -5,8 +5,7 @@ PORTNAME= xosmulti
PORTVERSION= 1.00
PORTREVISION= 2
CATEGORIES= games
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= flathill
+MASTER_SITES= LOCAL/flathill
DISTNAME= ${PORTNAME}_${PORTVERSION}_tar
EXTRACT_SUFX= .gz
diff --git a/games/xpanex/Makefile b/games/xpanex/Makefile
index c553c8f..da8d5d8 100644
--- a/games/xpanex/Makefile
+++ b/games/xpanex/Makefile
@@ -5,8 +5,7 @@ PORTNAME= xpanex
PORTVERSION= 5.5.2
PORTREVISION= 2
CATEGORIES= games
-MASTER_SITES= ${MASTER_SITE_XCONTRIB}
-MASTER_SITE_SUBDIR= games/xpuzzles
+MASTER_SITES= XCONTRIB/games/xpuzzles
MAINTAINER= ports@FreeBSD.org
COMMENT= Panex puzzle for X Window System
diff --git a/games/xpipeman/Makefile b/games/xpipeman/Makefile
index a1062c9..b9e6cb0 100644
--- a/games/xpipeman/Makefile
+++ b/games/xpipeman/Makefile
@@ -5,8 +5,7 @@ PORTNAME= xpipeman
PORTVERSION= 1.0
PORTREVISION= 3
CATEGORIES= games
-MASTER_SITES= SUNSITE
-MASTER_SITE_SUBDIR= games/strategy
+MASTER_SITES= SUNSITE/games/strategy
DISTNAME= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
diff --git a/games/xpyraminx/Makefile b/games/xpyraminx/Makefile
index 7f8a3da..e41d11e 100644
--- a/games/xpyraminx/Makefile
+++ b/games/xpyraminx/Makefile
@@ -5,8 +5,7 @@ PORTNAME= xpyraminx
PORTVERSION= 5.5.2
PORTREVISION= 2
CATEGORIES= games
-MASTER_SITES= ${MASTER_SITE_XCONTRIB}
-MASTER_SITE_SUBDIR= games/xpuzzles
+MASTER_SITES= XCONTRIB/games/xpuzzles
MAINTAINER= ports@FreeBSD.org
COMMENT= Pyraminx puzzle for X Window System
diff --git a/games/xrubik/Makefile b/games/xrubik/Makefile
index d6da8b8..3bb5fa5 100644
--- a/games/xrubik/Makefile
+++ b/games/xrubik/Makefile
@@ -5,8 +5,7 @@ PORTNAME= xrubik
PORTVERSION= 5.5.2
PORTREVISION= 1
CATEGORIES= games
-MASTER_SITES= ${MASTER_SITE_XCONTRIB}
-MASTER_SITE_SUBDIR= games/xpuzzles
+MASTER_SITES= XCONTRIB/games/xpuzzles
MAINTAINER= ports@FreeBSD.org
COMMENT= X-based rubik's cube(tm)
diff --git a/games/xshisen/Makefile b/games/xshisen/Makefile
index d0b6053..ca8aefa 100644
--- a/games/xshisen/Makefile
+++ b/games/xshisen/Makefile
@@ -5,8 +5,7 @@ PORTNAME= xshisen
PORTVERSION= 1.51
PORTREVISION= 4
CATEGORIES= games
-MASTER_SITES= LOCAL
-MASTER_SITE_SUBDIR= hrs
+MASTER_SITES= LOCAL/hrs
MAINTAINER= turutani@scphys.kyoto-u.ac.jp
COMMENT= Shisen-sho puzzle game for X11
diff --git a/games/xshogi/Makefile b/games/xshogi/Makefile
index c680a97..aa1a1d4 100644
--- a/games/xshogi/Makefile
+++ b/games/xshogi/Makefile
@@ -4,8 +4,7 @@
PORTNAME= xshogi
PORTVERSION= 1.4.2
CATEGORIES= games
-MASTER_SITES= GNU
-MASTER_SITE_SUBDIR= gnushogi
+MASTER_SITES= GNU/gnushogi
MAINTAINER= johans@FreeBSD.org
COMMENT= Japanese chess-like game for X Window System
diff --git a/games/xskewb/Makefile b/games/xskewb/Makefile
index 32c2a50..700fb74 100644
--- a/games/xskewb/Makefile
+++ b/games/xskewb/Makefile
@@ -5,8 +5,7 @@ PORTNAME= xskewb
PORTVERSION= 5.5.2
PORTREVISION= 2
CATEGORIES= games
-MASTER_SITES= ${MASTER_SITE_XCONTRIB}
-MASTER_SITE_SUBDIR= games/xpuzzles
+MASTER_SITES= XCONTRIB/games/xpuzzles
MAINTAINER= ports@FreeBSD.org
COMMENT= Skewb puzzle (similar to Rubik's Cube) for X Window
diff --git a/games/xtic/Makefile b/games/xtic/Makefile
index e9cb756..33101d6 100644
--- a/games/xtic/Makefile
+++ b/games/xtic/Makefile
@@ -5,8 +5,7 @@ PORTNAME= xtic
PORTVERSION= 1.12
PORTREVISION= 2
CATEGORIES= games
-MASTER_SITES= ${MASTER_SITE_XCONTRIB}
-MASTER_SITE_SUBDIR= games
+MASTER_SITES= XCONTRIB/games
DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
diff --git a/games/xtriangles/Makefile b/games/xtriangles/Makefile
index db0ba2b..3bd32cb 100644
--- a/games/xtriangles/Makefile
+++ b/games/xtriangles/Makefile
@@ -5,8 +5,7 @@ PORTNAME= xtriangles
PORTVERSION= 5.5.2
PORTREVISION= 2
CATEGORIES= games
-MASTER_SITES= ${MASTER_SITE_XCONTRIB}
-MASTER_SITE_SUBDIR= games/xpuzzles
+MASTER_SITES= XCONTRIB/games/xpuzzles
MAINTAINER= ports@FreeBSD.org
COMMENT= Triangles puzzle
diff --git a/games/xtruco/Makefile b/games/xtruco/Makefile
index aaca49e..ce19ba4 100644
--- a/games/xtruco/Makefile
+++ b/games/xtruco/Makefile
@@ -5,8 +5,7 @@ PORTNAME= xtruco
PORTVERSION= 1.0
PORTREVISION= 2
CATEGORIES= games
-MASTER_SITES= ${MASTER_SITE_XCONTRIB}
-MASTER_SITE_SUBDIR= games
+MASTER_SITES= XCONTRIB/games
DISTNAME= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
diff --git a/german/alt-aspell/Makefile b/german/alt-aspell/Makefile
index 26ca704..bf1b01e 100644
--- a/german/alt-aspell/Makefile
+++ b/german/alt-aspell/Makefile
@@ -6,8 +6,7 @@ DISTVERSION= 6-de-alt-2.1-1
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= german textproc
-MASTER_SITES= GNU
-MASTER_SITE_SUBDIR= aspell/dict/de-alt
+MASTER_SITES= GNU/aspell/dict/de-alt
MAINTAINER= office@FreeBSD.org
COMMENT= Aspell German Old Spelling (Deutsch - alte Rechtschreibung) dictionary
diff --git a/german/bugzilla44/Makefile b/german/bugzilla44/Makefile
index d81edf3..9d95b94 100644
--- a/german/bugzilla44/Makefile
+++ b/german/bugzilla44/Makefile
@@ -4,8 +4,7 @@ PORTNAME= bugzilla
PORTVERSION= 4.4.6
PORTREVISION= 2
CATEGORIES= german
-MASTER_SITES= SF
-MASTER_SITE_SUBDIR=bugzilla-de/${PORTVERSION:R}/${PORTVERSION}
+MASTER_SITES= SF/bugzilla-de/${PORTVERSION:R}/${PORTVERSION}
DISTNAME= germzilla-${PORTVERSION}-1.utf-8
MAINTAINER= bz-ports@FreeBSD.org
diff --git a/graphics/4va/Makefile b/graphics/4va/Makefile
index bb6e9e5..53a5608 100644
--- a/graphics/4va/Makefile
+++ b/graphics/4va/Makefile
@@ -5,14 +5,13 @@ PORTNAME= 4va
PORTVERSION= 1.21
PORTREVISION= 2
CATEGORIES= graphics
-MASTER_SITES= ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR= apps/graphics/hacks/X
-EXTRACT_SUFX= .tgz
+MASTER_SITES= SUNSITE/apps/graphics/hacks/X
MAINTAINER= ports@FreeBSD.org
COMMENT= Four-Dimensional graphics tumbler for X11
USE_XORG= x11
+USES= tar:tgz
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
CLIBS="-lm -lX11 -L${LOCALBASE}/lib"
diff --git a/graphics/GraphicsMagick/Makefile b/graphics/GraphicsMagick/Makefile
index f02434f..ccea1e3 100644
--- a/graphics/GraphicsMagick/Makefile
+++ b/graphics/GraphicsMagick/Makefile
@@ -8,7 +8,6 @@ PORTEPOCH= 1
CATEGORIES= graphics
MASTER_SITES= SF \
ftp://ftp.graphicsmagick.org/pub/GraphicsMagick/1.3/
-MASTER_SITE_SUBDIR= ${PORTNAME:tl}/${PORTNAME:tl}/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Fast image processing tools based on ImageMagick
diff --git a/graphics/Hermes/Makefile b/graphics/Hermes/Makefile
index 2cd24bd..490ade6 100644
--- a/graphics/Hermes/Makefile
+++ b/graphics/Hermes/Makefile
@@ -6,7 +6,7 @@ PORTVERSION= 1.3.3
PORTREVISION= 5
CATEGORIES= graphics
MASTER_SITES= ftp://ftp.su.se/pub/lunar/source-archive/ \
- GENTOO/distfiles
+ GENTOO
MAINTAINER= ports@FreeBSD.org
COMMENT= Fast pixel formats conversion library
diff --git a/graphics/SciPlot/Makefile b/graphics/SciPlot/Makefile
index aa37692..4c1f6fd 100644
--- a/graphics/SciPlot/Makefile
+++ b/graphics/SciPlot/Makefile
@@ -5,8 +5,7 @@ PORTNAME= SciPlot
PORTVERSION= 1.36
PORTREVISION= 4
CATEGORIES= graphics math
-MASTER_SITES= ${MASTER_SITE_XCONTRIB}
-MASTER_SITE_SUBDIR= widgets
+MASTER_SITES= XCONTRIB/widgets
MAINTAINER= thierry@FreeBSD.org
COMMENT= Full-featured Xt widget to display 2D data in a graph
diff --git a/graphics/acidwarp/Makefile b/graphics/acidwarp/Makefile
index 26a3085..0c8dec9 100644
--- a/graphics/acidwarp/Makefile
+++ b/graphics/acidwarp/Makefile
@@ -4,8 +4,7 @@
PORTNAME= acidwarp
PORTVERSION= 1.0
CATEGORIES= graphics
-MASTER_SITES= ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR= apps/graphics/hacks/svgalib
+MASTER_SITES= SUNSITE/apps/graphics/hacks/svgalib
MAINTAINER= swills@FreeBSD.org
COMMENT= SVGAlib demo which displays trippy mathematical images in cycling colors
diff --git a/graphics/barcode/Makefile b/graphics/barcode/Makefile
index e0d5848..a1f86cd 100644
--- a/graphics/barcode/Makefile
+++ b/graphics/barcode/Makefile
@@ -4,8 +4,7 @@
PORTNAME= barcode
PORTVERSION= 0.98
CATEGORIES= graphics
-MASTER_SITES= ${MASTER_SITE_GNU}
-MASTER_SITE_SUBDIR= barcode
+MASTER_SITES= GNU
MAINTAINER= jev@ecad.org
COMMENT= A barcode generation library along with a command line frontend
diff --git a/graphics/cal3d-devel/Makefile b/graphics/cal3d-devel/Makefile
index 4439b13..e5829eb 100644
--- a/graphics/cal3d-devel/Makefile
+++ b/graphics/cal3d-devel/Makefile
@@ -5,8 +5,7 @@ PORTNAME= cal3d
PORTVERSION= 20060720
PORTREVISION= 4
CATEGORIES= graphics devel
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= acm/${PORTNAME}
+MASTER_SITES= LOCAL/acm/${PORTNAME}
PKGNAMESUFFIX= -devel
DIST_SUBDIR= ${PORTNAME}
diff --git a/graphics/cegui/Makefile b/graphics/cegui/Makefile
index e20713f..6b14e58 100644
--- a/graphics/cegui/Makefile
+++ b/graphics/cegui/Makefile
@@ -4,8 +4,7 @@
PORTNAME= cegui
PORTVERSION= 0.8.4
CATEGORIES= graphics devel
-MASTER_SITES= SF
-MASTER_SITE_SUBDIR= crayzedsgui/CEGUI%20Mk-2/0.8
+MASTER_SITES= SF/crayzedsgui/CEGUI%20Mk-2/0.8
MAINTAINER= oliver@FreeBSD.org
COMMENT= Library providing windowing and widgets for graphics APIs
diff --git a/graphics/dc20pack/Makefile b/graphics/dc20pack/Makefile
index fe04ea9..018f0d4 100644
--- a/graphics/dc20pack/Makefile
+++ b/graphics/dc20pack/Makefile
@@ -4,8 +4,7 @@
PORTNAME= dc20pack
PORTVERSION= 1.0
CATEGORIES= graphics
-MASTER_SITES= ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR= apps/graphics/capture
+MASTER_SITES= SUNSITE/apps/graphics/capture
MAINTAINER= maurice@castro.aus.net
COMMENT= Digital camera control and download tool for Kodak DC20/25 camera
diff --git a/graphics/dmtx-utils/Makefile b/graphics/dmtx-utils/Makefile
index 9f32d0f..d4b2b92 100644
--- a/graphics/dmtx-utils/Makefile
+++ b/graphics/dmtx-utils/Makefile
@@ -5,8 +5,7 @@ PORTNAME= dmtx-utils
PORTVERSION= 0.7.4
PORTREVISION= 1
CATEGORIES= graphics
-MASTER_SITES= SF
-MASTER_SITE_SUBDIR=libdmtx/libdmtx/${PORTVERSION}
+MASTER_SITES= SF/libdmtx/libdmtx/${PORTVERSION}
MAINTAINER= johans@FreeBSD.org
COMMENT= Software for reading and writing Data Matrix barcodes
diff --git a/graphics/driconf/Makefile b/graphics/driconf/Makefile
index d1ec3dc..537aac1 100644
--- a/graphics/driconf/Makefile
+++ b/graphics/driconf/Makefile
@@ -5,8 +5,7 @@ PORTNAME= driconf
PORTVERSION= 0.9.1
PORTREVISION= 10
CATEGORIES= graphics
-MASTER_SITES= ${MASTER_SITE_DEBIAN}
-MASTER_SITE_SUBDIR= pool/main/d/${PORTNAME}
+MASTER_SITES= DEBIAN
DISTFILES= ${PORTNAME}_${PORTVERSION}.orig.tar.gz
MAINTAINER= lichray@gmail.com
diff --git a/graphics/flasm/Makefile b/graphics/flasm/Makefile
index 9f98c85..de3299d 100644
--- a/graphics/flasm/Makefile
+++ b/graphics/flasm/Makefile
@@ -3,9 +3,8 @@
PORTNAME= flasm
PORTVERSION= 1.62
CATEGORIES= graphics
-MASTER_SITES= ${MASTER_SITE_LOCAL} \
+MASTER_SITES= LOCAL/kuriyama \
http://www.nowrap.de/download/
-MASTER_SITE_SUBDIR= kuriyama
DISTNAME= flasm16src
MAINTAINER= kuriyama@FreeBSD.org
diff --git a/graphics/g2/Makefile b/graphics/g2/Makefile
index de9e7bc..9c2e30b 100644
--- a/graphics/g2/Makefile
+++ b/graphics/g2/Makefile
@@ -5,8 +5,7 @@ PORTNAME= g2
PORTVERSION= 0.40
PORTREVISION= 9
CATEGORIES= graphics
-MASTER_SITES= ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR= libs/graphics
+MASTER_SITES= SUNSITE/libs/graphics
MAINTAINER= ports@FreeBSD.org
COMMENT= Easy to use, portable, and powerful 2D graphics library
diff --git a/graphics/gdk-pixbuf/Makefile b/graphics/gdk-pixbuf/Makefile
index 4a538f0..5cbb272 100644
--- a/graphics/gdk-pixbuf/Makefile
+++ b/graphics/gdk-pixbuf/Makefile
@@ -6,7 +6,7 @@ PORTNAME= gdk-pixbuf
PORTVERSION= 0.22.0
PORTREVISION= 17
CATEGORIES= graphics
-MASTER_SITES= GNOME/sources/gdk-pixbuf/0.22
+MASTER_SITES= GNOME
DISTNAME= gdk-pixbuf-${PORTVERSION}
DIST_SUBDIR= gnome
diff --git a/graphics/gimp-app/Makefile b/graphics/gimp-app/Makefile
index d7ab985..f3c98d2 100644
--- a/graphics/gimp-app/Makefile
+++ b/graphics/gimp-app/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 2.8.14
PORTREVISION?= 2
PORTEPOCH?= 1
CATEGORIES?= graphics gnome
-MASTER_SITES= GIMP
-MASTER_SITE_SUBDIR= gimp/v${PORTVERSION:R}
+MASTER_SITES= GIMP/gimp/v${PORTVERSION:R}
DISTNAME= gimp-${PORTVERSION}
MAINTAINER= gnome@FreeBSD.org
diff --git a/graphics/gpaint/Makefile b/graphics/gpaint/Makefile
index 7956035..17ea6ae 100644
--- a/graphics/gpaint/Makefile
+++ b/graphics/gpaint/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 0.3.3
DISTVERSIONPREFIX= 2-
PORTREVISION= 5
CATEGORIES= graphics gnome
-MASTER_SITES= ${MASTER_SITE_GNU_ALPHA}
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= GNU_ALPHA
MAINTAINER= ports@FreeBSD.org
COMMENT= Small-scale painting program for GNOME
diff --git a/graphics/graphos/Makefile b/graphics/graphos/Makefile
index be41bc0..a7b305f 100644
--- a/graphics/graphos/Makefile
+++ b/graphics/graphos/Makefile
@@ -4,8 +4,7 @@ PORTNAME= graphos
PORTVERSION= 0.5
PORTREVISION= 2
CATEGORIES= graphics gnustep
-MASTER_SITES= ${MASTER_SITE_SAVANNAH}
-MASTER_SITE_SUBDIR= gap
+MASTER_SITES= SAVANNAH/gap
DISTNAME= Graphos-${PORTVERSION}
MAINTAINER= theraven@FreeBSD.org
diff --git a/graphics/gtk-update-icon-cache/Makefile b/graphics/gtk-update-icon-cache/Makefile
index eaaa5dd..2987357 100644
--- a/graphics/gtk-update-icon-cache/Makefile
+++ b/graphics/gtk-update-icon-cache/Makefile
@@ -4,8 +4,7 @@
PORTNAME= gtk-update-icon-cache
PORTVERSION= 2.24.27
CATEGORIES= graphics
-MASTER_SITES= GNOME
-MASTER_SITE_SUBDIR= sources/gtk+/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
+MASTER_SITES= GNOME/sources/gtk+/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
DISTNAME= gtk+-${PORTVERSION}
DIST_SUBDIR= gnome2
diff --git a/graphics/imlib2/Makefile b/graphics/imlib2/Makefile
index 5341504..d20ba1c 100644
--- a/graphics/imlib2/Makefile
+++ b/graphics/imlib2/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 1.4.6
PORTREVISION= 6
PORTEPOCH= 2
CATEGORIES= graphics enlightenment
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= enlightenment/imlib2-src/${PORTVERSION}
+MASTER_SITES= SF/enlightenment/imlib2-src/${PORTVERSION}
MAINTAINER= bf@FreeBSD.org
COMMENT= The next generation graphics library for Enlightenment
diff --git a/graphics/imlib2_loaders/Makefile b/graphics/imlib2_loaders/Makefile
index f997af0..8ba327f 100644
--- a/graphics/imlib2_loaders/Makefile
+++ b/graphics/imlib2_loaders/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 1.4.6
PORTREVISION= 1
PORTEPOCH= 2
CATEGORIES= graphics enlightenment
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= enlightenment/imlib2-src/${PORTVERSION}
+MASTER_SITES= SF/enlightenment/imlib2-src/${PORTVERSION}
MAINTAINER= bf@FreeBSD.org
COMMENT= Extra image loader plugins for Imlib 2
diff --git a/graphics/jasper/Makefile b/graphics/jasper/Makefile
index 8a783c8..d49b586 100644
--- a/graphics/jasper/Makefile
+++ b/graphics/jasper/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 1.900.1
PORTREVISION= 14
CATEGORIES= graphics
MASTER_SITES= http://www.ece.uvic.ca/~mdadams/jasper/software/ \
- ${MASTER_SITE_IMAGEMAGICK}
-MASTER_SITE_SUBDIR= ImageMagick/delegates
+ ftp://ftp.imagemagick.org/pub/ImageMagick/delegates/
MAINTAINER= dinoex@FreeBSD.org
COMMENT= Implementation of the codec specified in the JPEG-2000 standard
@@ -23,9 +22,6 @@ LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --enable-shared --enable-static
USE_LDCONFIG= yes
-MASTER_SITE_IMAGEMAGICK= \
- ftp://ftp.imagemagick.org/pub/%SUBDIR%/
-
OPTIONS_DEFINE= OPENGL UUID DOCS
UUID_DESC= UUID support (required by GDAL)
diff --git a/graphics/jpgtn/Makefile b/graphics/jpgtn/Makefile
index 491f640..c6af00e 100644
--- a/graphics/jpgtn/Makefile
+++ b/graphics/jpgtn/Makefile
@@ -5,8 +5,7 @@ PORTNAME= jpgtn
PORTVERSION= 2.06
PORTREVISION= 2
CATEGORIES= graphics
-MASTER_SITES= ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR= apps/graphics/misc
+MASTER_SITES= SUNSITE/apps/graphics/misc
MAINTAINER= ports@FreeBSD.org
COMMENT= Creates thumbnails of JPEG images
diff --git a/graphics/liblug/Makefile b/graphics/liblug/Makefile
index 99285ac..3378cf2 100644
--- a/graphics/liblug/Makefile
+++ b/graphics/liblug/Makefile
@@ -5,8 +5,7 @@ PORTNAME= liblug
PORTVERSION= 1.0.6
PORTREVISION= 5
CATEGORIES= graphics
-MASTER_SITES= ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR= libs/graphics
+MASTER_SITES= SUNSITE/libs/graphics
MAINTAINER= ports@FreeBSD.org
COMMENT= Multi-format graphics manipulation library
diff --git a/graphics/linplasma/Makefile b/graphics/linplasma/Makefile
index cd07660..eb87ea3 100644
--- a/graphics/linplasma/Makefile
+++ b/graphics/linplasma/Makefile
@@ -5,8 +5,7 @@ PORTNAME= linplasma
PORTVERSION= 1.0
PORTREVISION= 1
CATEGORIES= graphics
-MASTER_SITES= ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR= apps/graphics/hacks/svgalib
+MASTER_SITES= SUNSITE/apps/graphics/hacks/svgalib
MAINTAINER= ports@FreeBSD.org
COMMENT= Sinus plasma, an SVGAlib demo
diff --git a/graphics/netpbm/Makefile b/graphics/netpbm/Makefile
index 4572d7a..4f2d3d1 100644
--- a/graphics/netpbm/Makefile
+++ b/graphics/netpbm/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 10.35.94
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= SF/netpbm/super_stable/${PORTVERSION} \
- ${MASTER_SITE_LOCAL:S/$/:man/}
-MASTER_SITE_SUBDIR= dinoex/:man
+ LOCAL/dinoex/:man
MAINTAINER= dinoex@FreeBSD.org
COMMENT= Toolkit for conversion of images between different formats
diff --git a/graphics/ocrad/Makefile b/graphics/ocrad/Makefile
index c7d0c43..29af8ff 100644
--- a/graphics/ocrad/Makefile
+++ b/graphics/ocrad/Makefile
@@ -5,7 +5,6 @@ PORTNAME= ocrad
PORTVERSION= 0.22
CATEGORIES= graphics
MASTER_SITES= GNU
-MASTER_SITE_SUBDIR= ${PORTNAME}
EXTRACT_SUFX= .tar.lz
MAINTAINER= lippe@FreeBSD.org
diff --git a/graphics/ocropus/Makefile b/graphics/ocropus/Makefile
index 5726eb7..e51e4c9 100644
--- a/graphics/ocropus/Makefile
+++ b/graphics/ocropus/Makefile
@@ -5,7 +5,7 @@ PORTNAME= ocropus
PORTVERSION= 0.4
PORTREVISION= 14
CATEGORIES= graphics
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
MAINTAINER= hiroto.kagotani@gmail.com
COMMENT= The OCRopus(tm) open source document analysis and OCR system
diff --git a/graphics/opengl-man/Makefile b/graphics/opengl-man/Makefile
index 5193fa4..99b21c8 100644
--- a/graphics/opengl-man/Makefile
+++ b/graphics/opengl-man/Makefile
@@ -5,8 +5,7 @@ PORTNAME= opengl-man
PORTVERSION= 657.2
CATEGORIES= graphics
MASTER_SITES= http://www2.cons.org/freebsd-distfiles/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= cracauer
+ LOCAL/cracauer
DISTNAME= opengl-man-657-plusmissing
MAINTAINER= ports@FreeBSD.org
diff --git a/graphics/opennurbs/Makefile b/graphics/opennurbs/Makefile
index 9886552..c43d282 100644
--- a/graphics/opennurbs/Makefile
+++ b/graphics/opennurbs/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 20121024
PORTREVISION= 3
CATEGORIES= graphics
MASTER_SITES= http://files.na.mcneel.com/opennurbs/5.0/2012-10-24/
-MASTER_SITE_SUBDIR= ${PORTNAME}_${PORTVERSION}
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= fernando.apesteguia@gmail.com
diff --git a/graphics/p5-Color-Calc/Makefile b/graphics/p5-Color-Calc/Makefile
index 929cb50..f1fa266 100644
--- a/graphics/p5-Color-Calc/Makefile
+++ b/graphics/p5-Color-Calc/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 1.074
PORTREVISION= 1
CATEGORIES= graphics perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Color
PKGNAMEPREFIX= p5-
MAINTAINER= vanilla@FreeBSD.org
diff --git a/graphics/p5-Color-Palette/Makefile b/graphics/p5-Color-Palette/Makefile
index 8c7c2b9..c66b348 100644
--- a/graphics/p5-Color-Palette/Makefile
+++ b/graphics/p5-Color-Palette/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 0.100002
PORTREVISION= 1
CATEGORIES= graphics perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Color
PKGNAMEPREFIX= p5-
MAINTAINER= tobez@FreeBSD.org
diff --git a/graphics/p5-Color-Scheme/Makefile b/graphics/p5-Color-Scheme/Makefile
index 23ee20a..5419205 100644
--- a/graphics/p5-Color-Scheme/Makefile
+++ b/graphics/p5-Color-Scheme/Makefile
@@ -5,7 +5,6 @@ PORTVERSION= 1.05
PORTREVISION= 1
CATEGORIES= graphics perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Color
PKGNAMEPREFIX= p5-
MAINTAINER= tobez@FreeBSD.org
diff --git a/graphics/p5-Image-PBMlib/Makefile b/graphics/p5-Image-PBMlib/Makefile
index 874482d..cbaf468 100644
--- a/graphics/p5-Image-PBMlib/Makefile
+++ b/graphics/p5-Image-PBMlib/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 2.00
PORTREVISION= 1
CATEGORIES= graphics perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Image
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
diff --git a/graphics/p5-SpringGraph/Makefile b/graphics/p5-SpringGraph/Makefile
index 8dbbf0c..b0acb87 100644
--- a/graphics/p5-SpringGraph/Makefile
+++ b/graphics/p5-SpringGraph/Makefile
@@ -5,8 +5,7 @@ PORTNAME= SpringGraph
PORTVERSION= 0.05
PORTREVISION= 8
CATEGORIES= graphics perl5
-MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= GraphViz/TEEJAY
+MASTER_SITES= CPAN/GraphViz/TEEJAY
PKGNAMEPREFIX= p5-
MAINTAINER= bofh@FreeBSD.org
diff --git a/graphics/p5-URI-GoogleChart/Makefile b/graphics/p5-URI-GoogleChart/Makefile
index 8f0024e..63a20fe 100644
--- a/graphics/p5-URI-GoogleChart/Makefile
+++ b/graphics/p5-URI-GoogleChart/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 1.02
PORTREVISION= 1
CATEGORIES= graphics www perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= URI
PKGNAMEPREFIX= p5-
MAINTAINER= tobez@FreeBSD.org
diff --git a/graphics/pear-IO_SWF/Makefile b/graphics/pear-IO_SWF/Makefile
index 4c76223..a8a476f 100644
--- a/graphics/pear-IO_SWF/Makefile
+++ b/graphics/pear-IO_SWF/Makefile
@@ -5,8 +5,7 @@ PORTNAME= IO_SWF
PORTVERSION= 2.2.6
CATEGORIES= graphics www pear
MASTER_SITES= http://openpear.org/get/ \
- LOCAL
-MASTER_SITE_SUBDIR= tota/${PKGNAMEPREFIX}${PORTNAME}
+ LOCAL/tota/${PKGNAMEPREFIX}${PORTNAME}
PKGNAMEPREFIX= pear-
MAINTAINER= yoya@awm.jp
diff --git a/graphics/pecl-qrencode/Makefile b/graphics/pecl-qrencode/Makefile
index c49f467..f480c05 100644
--- a/graphics/pecl-qrencode/Makefile
+++ b/graphics/pecl-qrencode/Makefile
@@ -4,8 +4,7 @@
PORTNAME= qrencode
PORTVERSION= 0.4
CATEGORIES= graphics pear
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= vanilla
+MASTER_SITES= LOCAL/vanilla
PKGNAMEPREFIX= pecl-
DIST_SUBDIR= PECL
diff --git a/graphics/pfscalibration/Makefile b/graphics/pfscalibration/Makefile
index 51b775f..35e0e9e 100644
--- a/graphics/pfscalibration/Makefile
+++ b/graphics/pfscalibration/Makefile
@@ -4,8 +4,7 @@
PORTNAME= pfscalibration
PORTVERSION= 1.4
CATEGORIES= graphics
-MASTER_SITES= SF
-MASTER_SITE_SUBDIR= pfstools/${PORTNAME}/${PORTVERSION}
+MASTER_SITES= SF/pfstools/${PORTNAME}/${PORTVERSION}
MAINTAINER= ii@any.com.ru
COMMENT= Photometric calibration of cameras and recovery HDR images from the set of LDR exposures
diff --git a/graphics/pfstmo/Makefile b/graphics/pfstmo/Makefile
index 4ec3172..a867c4e 100644
--- a/graphics/pfstmo/Makefile
+++ b/graphics/pfstmo/Makefile
@@ -5,8 +5,7 @@ PORTNAME= pfstmo
PORTVERSION= 1.5
PORTREVISION= 2
CATEGORIES= graphics
-MASTER_SITES= SF
-MASTER_SITE_SUBDIR= pfstools/${PORTNAME}/${PORTVERSION}
+MASTER_SITES= SF/pfstools/${PORTNAME}/${PORTVERSION}
MAINTAINER= ii@any.com.ru
COMMENT= Tone mapping operators
diff --git a/graphics/php5-swfed/Makefile b/graphics/php5-swfed/Makefile
index feacc19..09c19e2 100644
--- a/graphics/php5-swfed/Makefile
+++ b/graphics/php5-swfed/Makefile
@@ -5,8 +5,7 @@ PORTNAME= swfed
PORTVERSION= 0.62
PORTREVISION= 3
CATEGORIES= graphics www
-MASTER_SITES= SFJP
-MASTER_SITE_SUBDIR= ${PORTNAME}/60548
+MASTER_SITES= SFJP/${PORTNAME}/60548
PKGNAMEPREFIX= php5-
MAINTAINER= yoya@awm.jp
diff --git a/graphics/pixelize/Makefile b/graphics/pixelize/Makefile
index 8ff1d60..10b5c5e 100644
--- a/graphics/pixelize/Makefile
+++ b/graphics/pixelize/Makefile
@@ -8,7 +8,6 @@ CATEGORIES= graphics
MASTER_SITES= ftp://lashwhip.com/pub/ \
http://www.c-s.li/ports/ \
http://lashwhip.com/pixelize/
-MASTER_SITE_SUBDIR= apps/graphics/misc
MAINTAINER= cs@FreeBSD.org
COMMENT= Use many scaled down images to try to duplicate another image
diff --git a/graphics/prison/Makefile b/graphics/prison/Makefile
index 7cd1b11..c1da7e9 100644
--- a/graphics/prison/Makefile
+++ b/graphics/prison/Makefile
@@ -5,8 +5,7 @@ PORTNAME= prison
PORTVERSION= 1.0
PORTREVISION= 1
CATEGORIES= graphics kde
-MASTER_SITES= ${MASTER_SITE_KDE}
-MASTER_SITE_SUBDIR= stable/${PORTNAME}/${PORTVERSION}/src
+MASTER_SITES= KDE/stable/${PORTNAME}/${PORTVERSION}/src
MAINTAINER= fluffy@FreeBSD.org
COMMENT= Barcode library for KDE
diff --git a/graphics/py-gchartwrapper/Makefile b/graphics/py-gchartwrapper/Makefile
index c0048fe..8f180af 100644
--- a/graphics/py-gchartwrapper/Makefile
+++ b/graphics/py-gchartwrapper/Makefile
@@ -5,7 +5,7 @@ PORTNAME= GChartWrapper
PORTVERSION= 0.9
PORTREVISION= 3
CATEGORIES= graphics python
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= nivit@FreeBSD.org
diff --git a/graphics/py-glewpy/Makefile b/graphics/py-glewpy/Makefile
index 112f218..3fc4f4a 100644
--- a/graphics/py-glewpy/Makefile
+++ b/graphics/py-glewpy/Makefile
@@ -10,7 +10,7 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DIST_SUBDIR= python
PATCH_SITES= http://mirror.amdmi3.ru/distfiles/ \
- ${MASTER_SITE_LOCAL:S|%SUBDIR%|amdmi3|}
+ LOCAL/amdmi3
PATCHFILES= glewpy-${PORTVERSION}-generatedsources.diff.bz2
MAINTAINER= acm@FreeBSD.org
diff --git a/graphics/py-openexr/Makefile b/graphics/py-openexr/Makefile
index f34852f..e627432 100644
--- a/graphics/py-openexr/Makefile
+++ b/graphics/py-openexr/Makefile
@@ -17,7 +17,6 @@ LIB_DEPENDS= libIlmImf.so:${PORTSDIR}/graphics/OpenEXR
USES= python
USE_PYTHON= distutils autoplist
-MASTER_SITE_SUBDIR=source/O/OpenEXR
post-extract:
${REINPLACE_CMD} -e 's#/usr/local#${LOCALBASE}#g' ${WRKSRC}/setup.py
diff --git a/graphics/scr2png/Makefile b/graphics/scr2png/Makefile
index a015790..418a338 100644
--- a/graphics/scr2png/Makefile
+++ b/graphics/scr2png/Makefile
@@ -5,8 +5,7 @@ PORTNAME= scr2png
PORTVERSION= 1.2
PORTREVISION= 6
CATEGORIES= graphics
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= nik
+MASTER_SITES= LOCAL/nik
MAINTAINER= ports@FreeBSD.org
COMMENT= Converts the output of "vidcontrol -p" to PNG
diff --git a/graphics/sdl2_gfx/Makefile b/graphics/sdl2_gfx/Makefile
index e27e968..9be086d 100644
--- a/graphics/sdl2_gfx/Makefile
+++ b/graphics/sdl2_gfx/Makefile
@@ -5,8 +5,7 @@ PORTNAME= sdl2_gfx
PORTVERSION= 1.0.1
PORTREVISION= 4
CATEGORIES= graphics
-MASTER_SITES= http://www.ferzkopp.net/Software/%SUBDIR%/
-MASTER_SITE_SUBDIR= SDL2_gfx
+MASTER_SITES= http://www.ferzkopp.net/Software/SDL2_gfx/
DISTNAME= SDL2_gfx-${PORTVERSION}
MAINTAINER= mva@FreeBSD.org
diff --git a/graphics/sdl_gfx/Makefile b/graphics/sdl_gfx/Makefile
index b360c69..0278d65 100644
--- a/graphics/sdl_gfx/Makefile
+++ b/graphics/sdl_gfx/Makefile
@@ -5,8 +5,7 @@ PORTNAME= sdl_gfx
PORTVERSION= 2.0.25
PORTREVISION= 3
CATEGORIES= graphics
-MASTER_SITES= http://www.ferzkopp.net/Software/%SUBDIR%/
-MASTER_SITE_SUBDIR= SDL_gfx-${PORTVERSION:R}
+MASTER_SITES= http://www.ferzkopp.net/Software/SDL_gfx-${PORTVERSION:R}/
DISTNAME= SDL_gfx-${PORTVERSION}
MAINTAINER= mva@FreeBSD.org
diff --git a/graphics/seam-carving-gui/Makefile b/graphics/seam-carving-gui/Makefile
index e55096b..cf6eec8 100644
--- a/graphics/seam-carving-gui/Makefile
+++ b/graphics/seam-carving-gui/Makefile
@@ -5,7 +5,7 @@ PORTNAME= seam-carving-gui
PORTVERSION= 1.11
PORTREVISION= 2
CATEGORIES= graphics
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
DISTNAME= SeamCarvingGui-Src-${PORTVERSION}
MAINTAINER= buganini@gmail.com
diff --git a/graphics/seejpeg/Makefile b/graphics/seejpeg/Makefile
index eb0efd0..54af290 100644
--- a/graphics/seejpeg/Makefile
+++ b/graphics/seejpeg/Makefile
@@ -5,8 +5,7 @@ PORTNAME= seejpeg
PORTVERSION= 1.10
PORTREVISION= 4
CATEGORIES= graphics
-MASTER_SITES= ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR= apps/graphics/viewers/svga
+MASTER_SITES= SUNSITE/apps/graphics/viewers/svga
MAINTAINER= ports@FreeBSD.org
COMMENT= Console graphics viewer using the svga console graphics library
diff --git a/graphics/separate/Makefile b/graphics/separate/Makefile
index d28f124..f300aa3 100644
--- a/graphics/separate/Makefile
+++ b/graphics/separate/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 0.5.8
PORTREVISION= 4
PORTEPOCH= 1
CATEGORIES= graphics
-MASTER_SITES= SFJP
-MASTER_SITE_SUBDIR= separate-plus/47873
+MASTER_SITES= SFJP/separate-plus/47873
DISTNAME= ${PORTNAME}+-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
diff --git a/graphics/svgfig/Makefile b/graphics/svgfig/Makefile
index 09961d5..8f1f861 100644
--- a/graphics/svgfig/Makefile
+++ b/graphics/svgfig/Makefile
@@ -4,17 +4,16 @@ PORTNAME= SVGFig
PORTVERSION= 1.1.6
PORTREVISION= 1
CATEGORIES= graphics python
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= ${PORTNAME:tl}-${PORTVERSION}
-EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Draw mathematical figures in SVG using Python
WRKSRC= ${WRKDIR}/${PORTNAME:tl}
-USES= python
+USES= python tar:tgz
USE_PYTHON= distutils autoplist
post-patch:
diff --git a/graphics/tesseract-data/Makefile b/graphics/tesseract-data/Makefile
index 8d1646f..dd10a1c 100644
--- a/graphics/tesseract-data/Makefile
+++ b/graphics/tesseract-data/Makefile
@@ -5,7 +5,7 @@ PORTNAME= tesseract-data
PORTVERSION= 3.02
PORTREVISION= 2
CATEGORIES= graphics
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
DISTFILES= ${TESSERACT_LANGS_300:O:u:S|$|.traineddata.gz|} \
${TESSERACT_LANGS_301:O:u:S|^|tesseract-ocr-3.01.|:S|$|.tar.gz|} \
${TESSERACT_LANGS_302:O:u:S|^|tesseract-ocr-3.02.|:S|$|.tar.gz|}
diff --git a/graphics/tesseract/Makefile b/graphics/tesseract/Makefile
index 900781e..159f95b 100644
--- a/graphics/tesseract/Makefile
+++ b/graphics/tesseract/Makefile
@@ -5,7 +5,7 @@ PORTNAME= tesseract
PORTVERSION= 3.02.02
PORTREVISION= 3
CATEGORIES= graphics
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
DISTFILES= tesseract-ocr-${PORTVERSION}${EXTRACT_SUFX}
MAINTAINER= bf@FreeBSD.org
diff --git a/graphics/timeless/Makefile b/graphics/timeless/Makefile
index 26a6058..95e06ea 100644
--- a/graphics/timeless/Makefile
+++ b/graphics/timeless/Makefile
@@ -5,8 +5,7 @@ PORTNAME= timeless
PORTVERSION= 1.0
PORTREVISION= 7
CATEGORIES= graphics
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= shaun
+MASTER_SITES= LOCAL/shaun
MAINTAINER= ports@FreeBSD.org
COMMENT= FreeBSD/SDL port of Tran's Timeless Demo with Sound
diff --git a/graphics/wmicons/Makefile b/graphics/wmicons/Makefile
index e0d2da4..a38326a 100644
--- a/graphics/wmicons/Makefile
+++ b/graphics/wmicons/Makefile
@@ -5,11 +5,10 @@ PORTNAME= wmicons
PORTVERSION= 1.0
PORTREVISION= 2
CATEGORIES= graphics windowmaker
-MASTER_SITES= ${MASTER_SITE_LOCAL:S|%SUBDIR%|kiri/wmicons|} \
- ${MASTER_SITE_WINDOWMAKER} \
- ${MASTER_SITE_PORTS_JP} \
+MASTER_SITES= LOCAL/kiri/wmicons \
+ WINDOWMAKER/contrib/old/icons \
+ PORTS_JP \
http://www.itlb.te.noda.tus.ac.jp/~manome/wmaker/archive/
-MASTER_SITE_SUBDIR= . contrib/old/icons
DISTFILES= ${EXTRACT_ONLY} isiconpack4.tgz
EXTRACT_ONLY= DWiconpack1.tar.gz DWiconpack2.tar.gz IconFest-1.2.tgz \
NeXT_XEmacs_tar.gz wm_icons_png.tar.gz wm_icons_tif.tar.gz \
diff --git a/graphics/xbmbrowser/Makefile b/graphics/xbmbrowser/Makefile
index f0800ae..21964a9 100644
--- a/graphics/xbmbrowser/Makefile
+++ b/graphics/xbmbrowser/Makefile
@@ -5,8 +5,7 @@ PORTNAME= xbmbrowser
PORTVERSION= 5.1
PORTREVISION= 3
CATEGORIES= graphics
-MASTER_SITES= XCONTRIB
-MASTER_SITE_SUBDIR= utilities
+MASTER_SITES= XCONTRIB/utilities
DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
diff --git a/graphics/xfpovray/Makefile b/graphics/xfpovray/Makefile
index 3548717..4384e8a 100644
--- a/graphics/xfpovray/Makefile
+++ b/graphics/xfpovray/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 1.3.1
PORTREVISION= 13
CATEGORIES= graphics
MASTER_SITES= http://www.batse.msfc.nasa.gov/~mallozzi/home/software/xforms/src/ \
- ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR= apps/graphics/rays/pov
+ SUNSITE/apps/graphics/rays/pov
MAINTAINER= ports@FreeBSD.org
COMMENT= Graphical interface to POV-Ray
diff --git a/graphics/xli/Makefile b/graphics/xli/Makefile
index be623eb..bf3026c 100644
--- a/graphics/xli/Makefile
+++ b/graphics/xli/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 1.17.0
PORTREVISION= 16
CATEGORIES= graphics
MASTER_SITES= DEBIAN
-MASTER_SITE_SUBDIR= pool/main/x/${PORTNAME}
DISTNAME= xli_${PORTVERSION}+${XLI_SNAPVER:C/-//g}.orig
MAINTAINER= lichray@gmail.com
diff --git a/graphics/xpdf/Makefile b/graphics/xpdf/Makefile
index f49fc59..7593460 100644
--- a/graphics/xpdf/Makefile
+++ b/graphics/xpdf/Makefile
@@ -6,9 +6,8 @@ PORTREVISION= 4
CATEGORIES= graphics print
MASTER_SITES= http://mirrors.rit.edu/zi/ \
ftp://ftp.foolabs.com/pub/xpdf/ \
- ${MASTER_SITE_TEX_CTAN} \
+ TEX_CTAN/support/xpdf \
http://komquats.com/distfiles/
-MASTER_SITE_SUBDIR= support/xpdf
MAINTAINER= cy@FreeBSD.org
COMMENT= Display PDF files and convert them to other formats
diff --git a/graphics/xwpick/Makefile b/graphics/xwpick/Makefile
index 778f689..c2b3687 100644
--- a/graphics/xwpick/Makefile
+++ b/graphics/xwpick/Makefile
@@ -5,8 +5,7 @@ PORTNAME= xwpick
PORTVERSION= 2.20
PORTREVISION= 2
CATEGORIES= graphics
-MASTER_SITES= ${MASTER_SITE_XCONTRIB}
-MASTER_SITE_SUBDIR=applications
+MASTER_SITES= XCONTRIB/applications
MAINTAINER= ports@FreeBSD.org
COMMENT= Image pick up utility for X Window System
diff --git a/graphics/zphoto/Makefile b/graphics/zphoto/Makefile
index cdb8b2f..c5e55a7 100644
--- a/graphics/zphoto/Makefile
+++ b/graphics/zphoto/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 1.2
PORTREVISION= 14
CATEGORIES= graphics www
MASTER_SITES= http://namazu.org/~satoru/zphoto/
-MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= Zooming photo album generator
diff --git a/hebrew/hspell/Makefile b/hebrew/hspell/Makefile
index a5a9384..0dbc23d2 100644
--- a/hebrew/hspell/Makefile
+++ b/hebrew/hspell/Makefile
@@ -5,8 +5,7 @@ PORTNAME= hspell
PORTVERSION= 1.1
CATEGORIES= hebrew
MASTER_SITES= http://hspell.ivrix.org.il/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= makc
+ LOCAL/makc
MAINTAINER= onatan@gmail.com
COMMENT= Hebrew spellchecker and morphology engine
diff --git a/irc/bitlbee/Makefile b/irc/bitlbee/Makefile
index 0584f20..ee822a4 100644
--- a/irc/bitlbee/Makefile
+++ b/irc/bitlbee/Makefile
@@ -4,8 +4,7 @@ PORTNAME= bitlbee
PORTVERSION= 3.4
CATEGORIES= irc
MASTER_SITES= http://get.bitlbee.org/src/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= brix
+ LOCAL/brix
MAINTAINER= garga@FreeBSD.org
COMMENT= IRC to other chat networks gateway
diff --git a/irc/cwirc/Makefile b/irc/cwirc/Makefile
index 4c0c1ed..dcdbf06 100644
--- a/irc/cwirc/Makefile
+++ b/irc/cwirc/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 2.0.0
PORTREVISION= 5
CATEGORIES= irc comms hamradio
MASTER_SITES= http://users.skynet.be/ppc/cwirc/download/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= db
+ LOCAL/db
MAINTAINER= db@FreeBSD.org
COMMENT= X-Chat Morse plugin
diff --git a/irc/keitairc2/Makefile b/irc/keitairc2/Makefile
index f61b4b0..de426955 100644
--- a/irc/keitairc2/Makefile
+++ b/irc/keitairc2/Makefile
@@ -4,8 +4,7 @@
PORTNAME= keitairc
PORTVERSION= 2.0
CATEGORIES= irc
-MASTER_SITES= SFJP
-MASTER_SITE_SUBDIR= ${PORTNAME}/47485
+MASTER_SITES= SFJP/${PORTNAME}/47485
MAINTAINER= ports@FreeBSD.org
COMMENT= IRC proxy for mobilephone that have a web interface
diff --git a/irc/py-gozerbot/Makefile b/irc/py-gozerbot/Makefile
index e656dd7..d72dc14 100644
--- a/irc/py-gozerbot/Makefile
+++ b/irc/py-gozerbot/Makefile
@@ -6,7 +6,7 @@ PORTVERSION= 0.8.1.1
PORTREVISION= 2
CATEGORIES= irc python
MASTER_SITES= http://gozerbot.org/media/tarball/ \
- ${MASTER_SITE_GOOGLE_CODE}
+ GOOGLE_CODE
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sten@blinkenlights.nl
diff --git a/irc/quirc/Makefile b/irc/quirc/Makefile
index 66e3379..f501993 100644
--- a/irc/quirc/Makefile
+++ b/irc/quirc/Makefile
@@ -5,13 +5,14 @@ PORTNAME= quirc
PORTVERSION= 0.9.84
PORTREVISION= 5
CATEGORIES= irc tk
-MASTER_SITES= ${MASTER_SITE_LOCAL:S/$/:local/}
+MASTER_SITES= LOCAL:local # This ends up being empty.
MAINTAINER= ports@FreeBSD.org
COMMENT= Tcl/Tk IRC client for the X Window System
OPTIONS_DEFINE= DOCS
+BROKEN= Unfetchable
USES= tk
USE_XORG= xt
diff --git a/irc/riece/Makefile b/irc/riece/Makefile
index f095e02..ddb3e88 100644
--- a/irc/riece/Makefile
+++ b/irc/riece/Makefile
@@ -7,7 +7,6 @@ PORTREVISION= 3
PORTEPOCH= 1
CATEGORIES= irc elisp
MASTER_SITES= SAVANNAH
-MASTER_SITE_SUBDIR= ${PORTNAME}
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
MAINTAINER= yasu@utahime.org
diff --git a/irc/simpleirc/Makefile b/irc/simpleirc/Makefile
index 3c2f282..046393f 100644
--- a/irc/simpleirc/Makefile
+++ b/irc/simpleirc/Makefile
@@ -5,8 +5,7 @@ PORTNAME= simpleirc
PORTVERSION= 1.2
CATEGORIES= irc
MASTER_SITES= http://dl.suckless.org/tools/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= dhn
+ LOCAL/dhn
DISTNAME= sic-${PORTVERSION}
MAINTAINER= dhn@FreeBSD.org
diff --git a/irc/thales/Makefile b/irc/thales/Makefile
index b17de2b..116dd20 100644
--- a/irc/thales/Makefile
+++ b/irc/thales/Makefile
@@ -5,8 +5,7 @@ PORTNAME= thales
PORTVERSION= 1.0
PORTREVISION= 2
CATEGORIES= irc
-MASTER_SITES= ${MASTER_SITE_GNU}
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= GNU
MAINTAINER= ports@FreeBSD.org
COMMENT= GNU Thales -- An IRC to MySQL gateway
diff --git a/irc/weechat-devel/Makefile b/irc/weechat-devel/Makefile
index 274399b..7d42b40 100644
--- a/irc/weechat-devel/Makefile
+++ b/irc/weechat-devel/Makefile
@@ -5,8 +5,7 @@ PORTVERSION= 20140213
PORTREVISION= 5
CATEGORIES= irc
MASTER_SITES= http://perturb.me.uk/distfiles/weechat-devel/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= jase/weechat-devel
+ LOCAL/jase/weechat-devel
PKGNAMESUFFIX= -devel
DISTNAME= weechat-devel-${GITREV}
DISTFILES= ${DISTNAME}.txz
diff --git a/irc/weechat/Makefile b/irc/weechat/Makefile
index 0371cc0..4074e19 100644
--- a/irc/weechat/Makefile
+++ b/irc/weechat/Makefile
@@ -7,8 +7,7 @@ PORTREVISION= 1
CATEGORIES= irc
MASTER_SITES= http://weechat.org/files/src/ \
http://perturb.me.uk/distfiles/weechat/:mandocs \
- ${MASTER_SITE_LOCAL:S/$/:mandocs/}
-MASTER_SITE_SUBDIR= jase/weechat/:mandocs
+ LOCAL/jase/weechat/:mandocs
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= jase@FreeBSD.org
diff --git a/japanese/FreeWnn-lib/Makefile b/japanese/FreeWnn-lib/Makefile
index 4de1976..8b3c3ea 100644
--- a/japanese/FreeWnn-lib/Makefile
+++ b/japanese/FreeWnn-lib/Makefile
@@ -5,10 +5,8 @@ PORTNAME= FreeWnn
PORTVERSION= 1.1.1.a021
PORTREVISION= 13
CATEGORIES?= japanese
-MASTER_SITES= ftp://ftp.freewnn.org/pub/%SUBDIR%/ \
- ${MASTER_SITE_SOURCEFORGE_JP}
-MASTER_SITE_SUBDIR= FreeWnn/alpha \
- freewnn/17724
+MASTER_SITES= ftp://ftp.freewnn.org/pub/FreeWnn/alpha/ \
+ SFJP/freewnn/17724
PKGNAMESUFFIX= -lib
DISTNAME= ${PORTNAME}-1.1.1-a021
diff --git a/japanese/FreeWnn-server/Makefile b/japanese/FreeWnn-server/Makefile
index 6318d4d..548d90b 100644
--- a/japanese/FreeWnn-server/Makefile
+++ b/japanese/FreeWnn-server/Makefile
@@ -5,10 +5,8 @@ PORTNAME= FreeWnn
PORTVERSION= 1.1.1.a021
PORTREVISION= 13
CATEGORIES?= japanese
-MASTER_SITES= ftp://ftp.freewnn.org/pub/%SUBDIR%/ \
- ${MASTER_SITE_SOURCEFORGE_JP}
-MASTER_SITE_SUBDIR= FreeWnn/alpha \
- freewnn/17724
+MASTER_SITES= ftp://ftp.freewnn.org/pub/FreeWnn/alpha/ \
+ SFJP/freewnn/17724
PKGNAMESUFFIX= -server
DISTNAME= ${PORTNAME}-1.1.1-a021
diff --git a/japanese/a2ps/Makefile b/japanese/a2ps/Makefile
index 8bd2085..e53bfa8 100644
--- a/japanese/a2ps/Makefile
+++ b/japanese/a2ps/Makefile
@@ -6,7 +6,7 @@ PORTVERSION= 1.45
PORTREVISION= 5
CATEGORIES= japanese print
MASTER_SITES= ftp://ftp.sra.co.jp/pub/lang/perl/sra-scripts/ \
- ${MASTER_SITE_LOCAL:S|%SUBDIR%|tota/a2ps|}
+ LOCAL/tota/a2ps
DISTNAME= ${PORTNAME}.pl-${PORTVERSION}
EXTRACT_SUFX= # empty
diff --git a/japanese/ajaxzip2-data/Makefile b/japanese/ajaxzip2-data/Makefile
index 5bf5eb6..b035145a 100644
--- a/japanese/ajaxzip2-data/Makefile
+++ b/japanese/ajaxzip2-data/Makefile
@@ -3,8 +3,7 @@
PORTNAME= ajaxzip2
PORTVERSION= 20150430
CATEGORIES= japanese
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= kuriyama
+MASTER_SITES= LOCAL/kuriyama
PKGNAMESUFFIX= -data
DISTFILES= ken_all-${PORTVERSION_K}.zip jigyosyo-${PORTVERSION_J}.zip
diff --git a/japanese/anthy/Makefile b/japanese/anthy/Makefile
index 6558a17..ba33c3e 100644
--- a/japanese/anthy/Makefile
+++ b/japanese/anthy/Makefile
@@ -5,8 +5,7 @@ PORTNAME= anthy
PORTVERSION= 9100h
PORTREVISION= 4
CATEGORIES= japanese
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP}
-MASTER_SITE_SUBDIR= ${PORTNAME}/37536
+MASTER_SITES= SFJP/${PORTNAME}/37536
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
DIST_SUBDIR= anthy
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
diff --git a/japanese/bugzilla44/Makefile b/japanese/bugzilla44/Makefile
index 5fc78c4..c33c84e 100644
--- a/japanese/bugzilla44/Makefile
+++ b/japanese/bugzilla44/Makefile
@@ -4,8 +4,7 @@ PORTNAME= bugzilla
PORTVERSION= 4.4.6
CATEGORIES= japanese
MASTER_SITES= http://bug-ja.org/releases/4.4/ \
- LOCAL
-MASTER_SITE_SUBDIR= tota/bugzilla-ja
+ LOCAL/tota/bugzilla-ja
DISTNAME= Bugzilla-ja-${PORTVERSION}-template
MAINTAINER= bz-ports@FreeBSD.org
diff --git a/japanese/canna-lib/Makefile b/japanese/canna-lib/Makefile
index 03ab700..c0a5c4f 100644
--- a/japanese/canna-lib/Makefile
+++ b/japanese/canna-lib/Makefile
@@ -5,8 +5,7 @@ PORTNAME= canna
PORTVERSION= 3.7p3
PORTREVISION= 9
CATEGORIES= japanese
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP}
-MASTER_SITE_SUBDIR= canna/9565/
+MASTER_SITES= SFJP/canna/9565
PKGNAMESUFFIX= -lib
DISTNAME= Canna${PORTVERSION:S/.//g}
diff --git a/japanese/canna-server/Makefile b/japanese/canna-server/Makefile
index d6c4d18..a83baa5 100644
--- a/japanese/canna-server/Makefile
+++ b/japanese/canna-server/Makefile
@@ -5,8 +5,7 @@ PORTNAME= canna
PORTVERSION= 3.7p3
PORTREVISION= 10
CATEGORIES= japanese
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP}
-MASTER_SITE_SUBDIR= canna/9565/
+MASTER_SITES= SFJP/canna/9565
PKGNAMESUFFIX= -server
DISTNAME= Canna${PORTVERSION:S/.//g}
diff --git a/japanese/dbskkd-cdb/Makefile b/japanese/dbskkd-cdb/Makefile
index 9de42a2..b0f60f5 100644
--- a/japanese/dbskkd-cdb/Makefile
+++ b/japanese/dbskkd-cdb/Makefile
@@ -5,8 +5,7 @@ PORTNAME= dbskkd-cdb
PORTVERSION= 2.00
PORTREVISION= 1
CATEGORIES= japanese
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
-#DISTVERSIONSUFFIX=
+MASTER_SITES= GOOGLE_CODE
MAINTAINER= ports@FreeBSD.org
COMMENT= Yet another dictionary server for SKK
diff --git a/japanese/dvi2tty/Makefile b/japanese/dvi2tty/Makefile
index 4a04ea1..e1f5a83 100644
--- a/japanese/dvi2tty/Makefile
+++ b/japanese/dvi2tty/Makefile
@@ -5,13 +5,11 @@ PORTNAME= dvi2tty
PORTVERSION= 5.0
PORTREVISION= 2
CATEGORIES= japanese print
-MASTER_SITES= LOCAL
-MASTER_SITE_SUBDIR= hrs
+MASTER_SITES= LOCAL/hrs
PKGNAMESUFFIX= -ascii
DISTNAME= dvi2tty${PORTVERSION}
PATCH_SITES= ${MASTER_SITES}
-PATCH_SITE_SUBDIR= ${MASTER_SITE_SUBDIR}
PATCH_DIST_STRIP= -p1
PATCHFILES= dvi2tty-ascii-jtex-patch dvi2tty.c-patch
diff --git a/japanese/esecanna-module-vje25/Makefile b/japanese/esecanna-module-vje25/Makefile
index 591b359..8718a89 100644
--- a/japanese/esecanna-module-vje25/Makefile
+++ b/japanese/esecanna-module-vje25/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 0.14.6
PORTREVISION= 2
CATEGORIES= japanese
MASTER_SITES= http://esecanna.netfort.gr.jp/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= knu
+ LOCAL/knu
DISTNAME= ${PORTNAME}_${PORTVERSION}
DIST_SUBDIR= esecanna
diff --git a/japanese/esecanna-module-vje30/Makefile b/japanese/esecanna-module-vje30/Makefile
index 43a00a7..11b9ea2 100644
--- a/japanese/esecanna-module-vje30/Makefile
+++ b/japanese/esecanna-module-vje30/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 1.0.1
PORTREVISION= 2
CATEGORIES= japanese
MASTER_SITES= http://esecanna.netfort.gr.jp/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= knu
+ LOCAL/knu
DISTNAME= ${PORTNAME}_${PORTVERSION}
DIST_SUBDIR= esecanna
diff --git a/japanese/esecanna-module-wnn6/Makefile b/japanese/esecanna-module-wnn6/Makefile
index 8af409c..45de193 100644
--- a/japanese/esecanna-module-wnn6/Makefile
+++ b/japanese/esecanna-module-wnn6/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 1.0.0
PORTREVISION= 4
CATEGORIES= japanese
MASTER_SITES= http://esecanna.netfort.gr.jp/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= knu
+ LOCAL/knu
DISTNAME= ${PORTNAME}_${PORTVERSION}
DIST_SUBDIR= esecanna
diff --git a/japanese/esecanna/Makefile b/japanese/esecanna/Makefile
index d60fe4c..30a22b3 100644
--- a/japanese/esecanna/Makefile
+++ b/japanese/esecanna/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 1.0.1
PORTREVISION= 6
CATEGORIES= japanese
MASTER_SITES= http://esecanna.netfort.gr.jp/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= knu
+ LOCAL/knu
DISTNAME= ${PORTNAME}_${PORTVERSION}
DIST_SUBDIR= esecanna
diff --git a/japanese/font-migu/Makefile b/japanese/font-migu/Makefile
index c3525e3..82cda56 100644
--- a/japanese/font-migu/Makefile
+++ b/japanese/font-migu/Makefile
@@ -4,8 +4,7 @@ PORTNAME= migu
PORTVERSION= 1.0.20130617
PORTREVISION= 2
CATEGORIES= japanese x11-fonts
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP}
-MASTER_SITE_SUBDIR= mix-mplus-ipa/59022
+MASTER_SITES= SFJP/mix-mplus-ipa/59022
PKGNAMEPREFIX= ja-font-
DISTFILES= ${PORTNAME}-1p-${PORTVERSION:E}${EXTRACT_SUFX} \
${PORTNAME}-1c-${PORTVERSION:E}${EXTRACT_SUFX} \
diff --git a/japanese/font-motoya-al/Makefile b/japanese/font-motoya-al/Makefile
index 3b4e73c..32d9a6c 100644
--- a/japanese/font-motoya-al/Makefile
+++ b/japanese/font-motoya-al/Makefile
@@ -4,8 +4,7 @@ PORTNAME= font-motoya-al
PORTVERSION= 0.0.20100921
PORTREVISION= 3
CATEGORIES= japanese x11-fonts
-MASTER_SITES= LOCAL
-MASTER_SITE_SUBDIR= hrs
+MASTER_SITES= LOCAL/hrs
DISTNAME= motoya-al-fonts-${PORTVERSION:S,^0.0.,,}
MAINTAINER= hrs@FreeBSD.org
diff --git a/japanese/font-mplus-ipa/Makefile b/japanese/font-mplus-ipa/Makefile
index 4be26be..6b4b9e9 100644
--- a/japanese/font-mplus-ipa/Makefile
+++ b/japanese/font-mplus-ipa/Makefile
@@ -4,8 +4,7 @@ PORTNAME= mplus-ipa
PORTVERSION= 1.0.20060520.p1
PORTREVISION= 4
CATEGORIES= japanese x11-fonts
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= hrs
+MASTER_SITES= LOCAL/hrs
PKGNAMEPREFIX= ja-font-
DISTNAME= mixfont-mplus-ipa-TrueType-20060520p1
diff --git a/japanese/font-ume/Makefile b/japanese/font-ume/Makefile
index fdf30f7..ce17b46 100644
--- a/japanese/font-ume/Makefile
+++ b/japanese/font-ume/Makefile
@@ -4,8 +4,7 @@ PORTNAME= ume
PORTVERSION= 0.0.470
PORTREVISION= 1
CATEGORIES= japanese x11-fonts
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP}
-MASTER_SITE_SUBDIR= ${PORTNAME}-font/22212
+MASTER_SITES= SOURCEFORGE_JP/${PORTNAME}-font/22212
PKGNAMEPREFIX= ja-font-
DISTNAME= umefont_${PORTVERSION:E}
diff --git a/japanese/gawk/Makefile b/japanese/gawk/Makefile
index 63ea663..1244d33 100644
--- a/japanese/gawk/Makefile
+++ b/japanese/gawk/Makefile
@@ -5,8 +5,7 @@ PORTNAME= gawk
PORTVERSION= 3.0.6
PORTREVISION= 1
CATEGORIES= japanese lang
-MASTER_SITES= ${MASTER_SITE_GNU}
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= GNU
PATCH_SITES= http://www.hinadori.atnifty.com/~wills/program/
PATCHFILES= ${PORTNAME}mb115.diff.gz
diff --git a/japanese/hns/Makefile b/japanese/hns/Makefile
index 08b5959..b87076d 100644
--- a/japanese/hns/Makefile
+++ b/japanese/hns/Makefile
@@ -4,8 +4,7 @@
PORTNAME= hns
PORTVERSION= 2.19.9
CATEGORIES= japanese www perl5
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP}
-MASTER_SITE_SUBDIR= h14m/22597
+MASTER_SITES= SFJP/h14m/22597
MAINTAINER= ports@FreeBSD.org
COMMENT= Hyper NIKKI System, a CGI system for Electric Diary Interchange
diff --git a/japanese/ibus-anthy/Makefile b/japanese/ibus-anthy/Makefile
index 3703317..4c436b6 100644
--- a/japanese/ibus-anthy/Makefile
+++ b/japanese/ibus-anthy/Makefile
@@ -6,7 +6,7 @@ PORTVERSION= 1.2.7
PORTREVISION= 6
CATEGORIES= japanese
PROJECTHOST= ibus
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
PKGNAMEPREFIX= ja-
MAINTAINER= daichi@FreeBSD.org
diff --git a/japanese/japaneseAFM/Makefile b/japanese/japaneseAFM/Makefile
index 96b74fa..4794752 100644
--- a/japanese/japaneseAFM/Makefile
+++ b/japanese/japaneseAFM/Makefile
@@ -4,8 +4,7 @@
PORTNAME= japaneseAFM
PORTVERSION= 1.0
CATEGORIES= japanese print
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= kiri
+MASTER_SITES= LOCAL/kiri
DISTNAME= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
diff --git a/japanese/jed/Makefile b/japanese/jed/Makefile
index 3eba1b8..c6f4128 100644
--- a/japanese/jed/Makefile
+++ b/japanese/jed/Makefile
@@ -5,9 +5,8 @@ PORTNAME= jed
PORTVERSION= ${VERSION}.j${JP_VERSION}
PORTREVISION= 5
CATEGORIES= japanese editors
-MASTER_SITES= ${MASTER_SITE_LOCAL} \
+MASTER_SITES= LOCAL/knu \
http://www.kondara.org/~g/slang/
-MASTER_SITE_SUBDIR= knu
DISTNAME= ${PORTNAME}-B${VERSION:R}-${VERSION:E}__J${JP_VERSION}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
${PORTNAME}-extralibs-${VERSION}.tar.gz
diff --git a/japanese/jmode/Makefile b/japanese/jmode/Makefile
index 27eee7b..870e858b 100644
--- a/japanese/jmode/Makefile
+++ b/japanese/jmode/Makefile
@@ -5,8 +5,7 @@ PORTNAME= jmode
PORTVERSION= 0.6.7
PORTREVISION= 9
CATEGORIES= japanese
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP}
-MASTER_SITE_SUBDIR= anthy/5467
+MASTER_SITES= SFJP/anthy/5467
MAINTAINER= nobutaka@FreeBSD.org
COMMENT?= XIM server for Anthy input method
diff --git a/japanese/k12/Makefile b/japanese/k12/Makefile
index 45b8048..3d281116 100644
--- a/japanese/k12/Makefile
+++ b/japanese/k12/Makefile
@@ -5,7 +5,7 @@ PORTNAME= kaname12
PORTVERSION= 1.1
PORTREVISION= 5
CATEGORIES= japanese x11-fonts
-MASTER_SITES= ${MASTER_SITE_PORTS_JP}
+MASTER_SITES= PORTS_JP
DISTNAME= kaname_k12_bdf
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
knm_new_linux.tar.gz
diff --git a/japanese/kana-no-quiz/Makefile b/japanese/kana-no-quiz/Makefile
index bf8352a..78eff5a 100644
--- a/japanese/kana-no-quiz/Makefile
+++ b/japanese/kana-no-quiz/Makefile
@@ -5,8 +5,7 @@ PORTNAME= kana-no-quiz
DISTVERSION= 1.9
PORTREVISION= 10
CATEGORIES= japanese
-MASTER_SITES= ${MASTER_SITE_BERLIOS}
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= SF/${PORTNAME}
DISTNAME= ${PORTNAME:S,k,K,}-${DISTVERSION}
MAINTAINER= ports@FreeBSD.org
diff --git a/japanese/kanji18/Makefile b/japanese/kanji18/Makefile
index ae9b9db..ca2be08 100644
--- a/japanese/kanji18/Makefile
+++ b/japanese/kanji18/Makefile
@@ -5,8 +5,7 @@ PORTNAME= kanji
PORTVERSION?= 1.0
PORTREVISION?= 6
CATEGORIES= japanese x11-fonts
-MASTER_SITES= ${MASTER_SITE_PORTS_JP}
-MASTER_SITE_SUBDIR= ${DISTNAME}
+MASTER_SITES= PORTS_JP/${DISTNAME}
PKGNAMESUFFIX?= 18
DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}
DISTFILES?= 573.z 574.z 575.z 576.z 577.z 578.z 579.z 580.z 581.z
diff --git a/japanese/kappa20/Makefile b/japanese/kappa20/Makefile
index c47067f..165c89f 100644
--- a/japanese/kappa20/Makefile
+++ b/japanese/kappa20/Makefile
@@ -5,7 +5,7 @@ PORTNAME= k20fonts
PORTVERSION= 0.396
PORTREVISION= 7
CATEGORIES= japanese x11-fonts
-MASTER_SITES= ${MASTER_SITE_NETBSD:S/$/:kappa20/:S/%SUBDIR%/LOCAL_PORTS/} \
+MASTER_SITES= NETBSD/LOCAL_PORTS:kappa20 \
SFJP/x-tt/8412/:ayu20
DISTNAME= Kappa20-${PORTVERSION}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:kappa20 \
diff --git a/japanese/kasumi/Makefile b/japanese/kasumi/Makefile
index 23146d1..df745f3 100644
--- a/japanese/kasumi/Makefile
+++ b/japanese/kasumi/Makefile
@@ -5,8 +5,7 @@ PORTNAME= kasumi
PORTVERSION= 2.5
PORTREVISION= 6
CATEGORIES= japanese
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP}
-MASTER_SITE_SUBDIR= ${PORTNAME}/41436
+MASTER_SITES= SFJP/${PORTNAME}/41436
MAINTAINER= nobutaka@FreeBSD.org
COMMENT= Dictionary management tool for anthy
diff --git a/japanese/kcc/Makefile b/japanese/kcc/Makefile
index 6e899e5..151769c 100644
--- a/japanese/kcc/Makefile
+++ b/japanese/kcc/Makefile
@@ -5,7 +5,7 @@ PORTNAME= kcc
PORTVERSION= 1.0
PORTREVISION= 1
CATEGORIES= japanese
-MASTER_SITES= ${MASTER_SITE_PORTS_JP}
+MASTER_SITES= PORTS_JP
DISTNAME= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
diff --git a/japanese/kon2-16dot/Makefile b/japanese/kon2-16dot/Makefile
index 4b08e78..9156d7d 100644
--- a/japanese/kon2-16dot/Makefile
+++ b/japanese/kon2-16dot/Makefile
@@ -6,7 +6,7 @@ PORTVERSION= 0.3
PORTREVISION= 7
# '+=' is for slave ports
CATEGORIES+= japanese
-MASTER_SITES= ${MASTER_SITE_PORTS_JP}
+MASTER_SITES= PORTS_JP
PKGNAMESUFFIX= -${KONFONT}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
k14.bdf 7x14rk.bdf \
diff --git a/japanese/kterm/Makefile b/japanese/kterm/Makefile
index 0ded794..450e5a8 100644
--- a/japanese/kterm/Makefile
+++ b/japanese/kterm/Makefile
@@ -4,13 +4,10 @@ PORTNAME= kterm
PORTVERSION= 6.2.0
PORTREVISION= 13
CATEGORIES= japanese x11
-MASTER_SITES= ${MASTER_SITE_PORTS_JP:S/$/:wp_jp/} \
- ${MASTER_SITE_XCONTRIB} \
- ${MASTER_SITE_LOCAL:S/$/:wp_local,pcemu/}
-MASTER_SITE_SUBDIR= applications \
- kterm/:wp_jp \
- shige/kterm/:wp_local \
- hrs/:pcemu
+MASTER_SITES= PORTS_JP/kterm/:wp_jp \
+ XCONTRIB/applications \
+ LOCAL/shige/kterm/:wp_local \
+ LOCAL/hrs/:pcemu
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
README.wallpaper.ja:wp_local,wp_jp \
pcemu1.01alpha.tar.gz:pcemu
@@ -20,10 +17,9 @@ EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
PATCH_SITES= ftp://ftp.sra.co.jp/pub/x11/kterm/:nfs \
http://www.asahi-net.or.jp/~hc3j-tkg/kterm/:wpi \
http://dists.lovepeers.org/distfiles/:termios \
- ${MASTER_SITE_LOCAL:S/$/:color16,termios,utf/}
-PATCH_SITE_SUBDIR= shige/kterm/:color16 \
- nork/:termios \
- hrs/:utf
+ LOCAL/shige/kterm/:color16 \
+ LOCAL/nork/:termios \
+ LOCAL/hrs/:utf
PATCHFILES= ${DISTNAME}.NFS-xauth.patch:nfs \
${DISTNAME}-wpi.patch.gz:wpi \
${DISTNAME}-color16.patch.gz:color16 \
diff --git a/japanese/less/Makefile b/japanese/less/Makefile
index fdfb5b0..c9a5bad 100644
--- a/japanese/less/Makefile
+++ b/japanese/less/Makefile
@@ -12,8 +12,7 @@ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
regex_cs-lwp9k.shar.gz
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
-PATCH_SITES= ${MASTER_SITE_LOCAL}
-PATCH_SITE_SUBDIR= nork
+PATCH_SITES= LOCAL/nork
PATCHFILES= ${DISTNAME}-iso258.patch.gz \
${DISTNAME}-iso258-259.patch.gz \
${DISTNAME}-iso259-260.patch.gz \
diff --git a/japanese/man-doc/Makefile b/japanese/man-doc/Makefile
index f683baa..eea35db 100644
--- a/japanese/man-doc/Makefile
+++ b/japanese/man-doc/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 5.4.20050911
PORTREVISION= 3
CATEGORIES= japanese
.if !defined(WITH_CVS)
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= hrs
+MASTER_SITES= LOCAL/hrs
.else
DISTFILES= # empty
.endif
diff --git a/japanese/marumoji-fonts/Makefile b/japanese/marumoji-fonts/Makefile
index 88ae461..4299ce4 100644
--- a/japanese/marumoji-fonts/Makefile
+++ b/japanese/marumoji-fonts/Makefile
@@ -5,8 +5,7 @@ PORTNAME= marumoji-fonts
PORTVERSION= 1.0
PORTREVISION= 7
CATEGORIES= japanese x11-fonts
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= yoichi
+MASTER_SITES= LOCAL/yoichi
DISTFILES= maru14.bdf.v13.gz maru18.bdf.v10.gz \
m18to16.sed \
7x14maru.bdf.gz 7x14rkmr.bdf.gz \
diff --git a/japanese/migemo/Makefile b/japanese/migemo/Makefile
index 8420fe8..46e1824 100644
--- a/japanese/migemo/Makefile
+++ b/japanese/migemo/Makefile
@@ -7,8 +7,7 @@ PORTREVISION= 9
PORTEPOCH= 1
CATEGORIES= japanese elisp
MASTER_SITES= http://0xcc.net/migemo/ \
- ${MASTER_SITE_LOCAL:S/$/:skkdic/}
-MASTER_SITE_SUBDIR= nobutaka/:skkdic
+ LOCAL/nobutaka/:skkdic
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${SKKDIC_FILE}.bz2:skkdic
DIST_SUBDIR= migemo
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
diff --git a/japanese/mime_pls/Makefile b/japanese/mime_pls/Makefile
index c674b66..0d02927 100644
--- a/japanese/mime_pls/Makefile
+++ b/japanese/mime_pls/Makefile
@@ -5,8 +5,7 @@ PORTNAME= mime_pls
PORTVERSION= 2.02
PORTREVISION= 2
CATEGORIES= japanese perl5 mail
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= nork
+MASTER_SITES= LOCAL/nork
PKGNAMEPREFIX= ja-p5-
DISTNAME= ${PORTNAME}${PORTVERSION:C/\.//}
diff --git a/japanese/mtools/Makefile b/japanese/mtools/Makefile
index e29a554..76ddad3 100644
--- a/japanese/mtools/Makefile
+++ b/japanese/mtools/Makefile
@@ -7,9 +7,7 @@ PORTREVISION= 1
CATEGORIES= japanese emulators
MASTER_SITES= ftp://ftp.tux.org/pub/knaff/mtools/:mtools \
http://mtools.linux.lu/:mtools \
- ${MASTER_SITE_LOCAL:S/$/:local/} \
- ${MASTER_SITE_PORTS_JP:S/$/:jp/}
-MASTER_SITE_SUBDIR= steve/:local ./:jp
+ LOCAL/steve:local PORTS_JP:jp
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:mtools \
${DISTNAME}.PC98.patch.gz:local,jp
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
diff --git a/japanese/namazu/Makefile b/japanese/namazu/Makefile
index 97fd036..f6afb8f 100644
--- a/japanese/namazu/Makefile
+++ b/japanese/namazu/Makefile
@@ -5,8 +5,7 @@ PORTNAME= namazu
PORTVERSION= 1.3.0.11
CATEGORIES= japanese textproc
MASTER_SITES= http://www.namazu.org/stable/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= flathill
+ LOCAL/flathill
MAINTAINER= ports@FreeBSD.org
COMMENT= Search engine software intended for easy use
diff --git a/japanese/newosaka/Makefile b/japanese/newosaka/Makefile
index d6aaf7f..4e85c65 100644
--- a/japanese/newosaka/Makefile
+++ b/japanese/newosaka/Makefile
@@ -4,7 +4,7 @@
PORTNAME= newosaka
PORTVERSION= 1.0
CATEGORIES+= japanese
-MASTER_SITES= ${MASTER_SITE_PORTS_JP}
+MASTER_SITES= PORTS_JP
DISTFILES= new-osaka.tar.gz
MAINTAINER= ports@FreeBSD.org
diff --git a/japanese/nhocr/Makefile b/japanese/nhocr/Makefile
index 93fbe50..af5d5d5 100644
--- a/japanese/nhocr/Makefile
+++ b/japanese/nhocr/Makefile
@@ -4,7 +4,7 @@
PORTNAME= nhocr
PORTVERSION= 0.21
CATEGORIES= japanese graphics
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
MAINTAINER= hiroto.kagotani@gmail.com
COMMENT= OCR engine for Japanese language
diff --git a/japanese/ochusha/Makefile b/japanese/ochusha/Makefile
index 300217e..7d6c007 100644
--- a/japanese/ochusha/Makefile
+++ b/japanese/ochusha/Makefile
@@ -5,8 +5,7 @@ PORTNAME= ochusha
PORTVERSION= 0.5.8.2
PORTREVISION= 13
CATEGORIES= japanese
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP}
-MASTER_SITE_SUBDIR= ochusha/16560
+MASTER_SITES= SFJP/ochusha/16560
MAINTAINER= ports@FreeBSD.org
COMMENT= GUI BBS browser for 2ch.net
diff --git a/japanese/plain2/Makefile b/japanese/plain2/Makefile
index 5456ca7..b3c5043 100644
--- a/japanese/plain2/Makefile
+++ b/japanese/plain2/Makefile
@@ -5,12 +5,10 @@ PORTNAME= plain2
PORTVERSION= 2.54.1
PORTREVISION= 2
CATEGORIES= japanese textproc
-MASTER_SITES= LOCAL
-MASTER_SITE_SUBDIR= hrs
+MASTER_SITES= LOCAL/hrs
DISTNAME= ${PORTNAME}_${PORTVERSION:R}p${PORTVERSION:E}.orig
PATCH_SITES= ${MASTER_SITES}
-PATCH_SITE_SUBDIR= ${MASTER_SITE_SUBDIR}
PATCHFILES= ${PORTNAME}_${PORTVERSION:R}p${PORTVERSION:E}-4.2.diff.gz
PATCH_DIST_STRIP= -p1
diff --git a/japanese/prn/Makefile b/japanese/prn/Makefile
index 2305120..f0b3edc 100644
--- a/japanese/prn/Makefile
+++ b/japanese/prn/Makefile
@@ -5,7 +5,7 @@ PORTNAME= prn
PORTVERSION= 1.0
PORTREVISION= 1
CATEGORIES= japanese print
-MASTER_SITES= ${MASTER_SITE_PORTS_JP}
+MASTER_SITES= PORTS_JP
DISTNAME= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
diff --git a/japanese/rogue_s/Makefile b/japanese/rogue_s/Makefile
index 44458df..e20eaf2 100644
--- a/japanese/rogue_s/Makefile
+++ b/japanese/rogue_s/Makefile
@@ -5,16 +5,12 @@ PORTNAME= rogue_s
PORTVERSION= 1.3a
PORTREVISION= 2
CATEGORIES= japanese games
-MASTER_SITES= ${MASTER_SITE_LOCAL} \
- ${MASTER_SITE_PORTS_JP:S,/%SUBDIR%/,/,}
-MASTER_SITE_SUBDIR= knu
+MASTER_SITES= LOCAL/knu PORTS_JP
DISTFILES= rogue_s.tar.z rogue_s.patch02.z rogue_s.patch03.z \
rogue_s.message.z
EXTRACT_ONLY= rogue_s.tar.z
-PATCH_SITES= ${MASTER_SITE_LOCAL} \
- ${MASTER_SITE_PORTS_JP:S,/%SUBDIR%/,/,}
-PATCH_SITE_SUBDIR= knu
+PATCH_SITES= LOCAL/knu PORTS_JP
PATCHFILES= rogue_s.patch04
MAINTAINER= ports@FreeBSD.org
diff --git a/japanese/ruby-mecab/Makefile b/japanese/ruby-mecab/Makefile
index 906e992..6d5331b 100644
--- a/japanese/ruby-mecab/Makefile
+++ b/japanese/ruby-mecab/Makefile
@@ -5,7 +5,7 @@ PORTNAME= mecab
PORTVERSION= 0.996
PORTREVISION= 1
CATEGORIES= japanese textproc ruby
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
DISTNAME= ${PORTNAME}-ruby-${PORTVERSION}
MAINTAINER= ruby@FreeBSD.org
diff --git a/japanese/ruby-usersguide/Makefile b/japanese/ruby-usersguide/Makefile
index 681a31f..425dc04 100644
--- a/japanese/ruby-usersguide/Makefile
+++ b/japanese/ruby-usersguide/Makefile
@@ -4,8 +4,7 @@
PORTNAME= ruby-usersguide
PORTVERSION= 980206
CATEGORIES= japanese lang ruby
-MASTER_SITES= ${MASTER_SITE_RUBY}
-MASTER_SITE_SUBDIR= doc
+MASTER_SITES= RUBY/doc
DISTNAME= ${SHORTNAME}-${PORTVERSION}
DIST_SUBDIR= ruby
diff --git a/japanese/scim-anthy/Makefile b/japanese/scim-anthy/Makefile
index eb08512..b272152 100644
--- a/japanese/scim-anthy/Makefile
+++ b/japanese/scim-anthy/Makefile
@@ -5,8 +5,7 @@ PORTNAME= scim-anthy
PORTVERSION= 1.2.7
PORTREVISION= 4
CATEGORIES= japanese
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP}
-MASTER_SITE_SUBDIR=scim-imengine/37309
+MASTER_SITES= SFJP/scim-imengine/37309
MAINTAINER= ports@FreeBSD.org
COMMENT= SCIM IMEngine module using Anthy
diff --git a/japanese/scim-canna/Makefile b/japanese/scim-canna/Makefile
index 161cd58..d599be8 100644
--- a/japanese/scim-canna/Makefile
+++ b/japanese/scim-canna/Makefile
@@ -5,8 +5,7 @@ PORTNAME= scim-canna
PORTVERSION= 1.0.0
PORTREVISION= 14
CATEGORIES= japanese
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP}
-MASTER_SITE_SUBDIR= scim-imengine/18849
+MASTER_SITES= SFJP/scim-imengine/18849
MAINTAINER= ports@FreeBSD.org
COMMENT= SCIM IMEngine module using Canna
diff --git a/japanese/scim-skk/Makefile b/japanese/scim-skk/Makefile
index aa92a2a..33b410b 100644
--- a/japanese/scim-skk/Makefile
+++ b/japanese/scim-skk/Makefile
@@ -6,8 +6,7 @@ PORTNAME= scim-skk
PORTVERSION= 0.5.2
PORTREVISION= 11
CATEGORIES= japanese
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP}
-MASTER_SITE_SUBDIR= scim-imengine/18121
+MASTER_SITES= SFJP/scim-imengine/18121
MAINTAINER= ports@FreeBSD.org
COMMENT= SCIM IMEngine module like SKK
diff --git a/japanese/skkserv/Makefile b/japanese/skkserv/Makefile
index 830d0a3..0b9ec7b 100644
--- a/japanese/skkserv/Makefile
+++ b/japanese/skkserv/Makefile
@@ -5,7 +5,7 @@ PORTNAME= skkserv
PORTVERSION= 9.6
PORTREVISION= 6
CATEGORIES= japanese
-MASTER_SITES= ${MASTER_SITE_PORTS_JP}
+MASTER_SITES= PORTS_JP
DISTNAME= skk${PORTVERSION}
MAINTAINER= hrs@FreeBSD.org
diff --git a/japanese/slrn/Makefile b/japanese/slrn/Makefile
index 564d82a..4d7c871 100644
--- a/japanese/slrn/Makefile
+++ b/japanese/slrn/Makefile
@@ -8,7 +8,7 @@ MASTER_SITES= http://dists.lovepeers.org/distfiles/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
${PORTNAME}-doc-j0.9.5.6-0.tar.gz
-PATCH_SITES= ${MASTER_SITE_PORTS_JP} \
+PATCH_SITES= PORTS_JP \
http://dists.lovepeers.org/distfiles/
PATCHFILES= ${PORTNAME}-${PORTVERSION}jp0.pat.gz
PATCH_DIST_STRIP=-p1
diff --git a/japanese/texinfo/Makefile b/japanese/texinfo/Makefile
index 7cb3004..b3239c6 100644
--- a/japanese/texinfo/Makefile
+++ b/japanese/texinfo/Makefile
@@ -5,8 +5,7 @@ PORTNAME= texinfo
PORTVERSION= 4.7
PORTREVISION= 8
CATEGORIES= japanese print
-MASTER_SITES= ${MASTER_SITE_GNU}
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= GNU
PATCH_SITES= ftp://jupiter.fsci.fuk.kindai.ac.jp/pub/ptex/utils/ \
http://www.fsci.fuk.kindai.ac.jp/aftp/pub/ptex/utils/
diff --git a/japanese/zipcodes/Makefile b/japanese/zipcodes/Makefile
index 9c5f1d7..a16eea3 100644
--- a/japanese/zipcodes/Makefile
+++ b/japanese/zipcodes/Makefile
@@ -3,8 +3,7 @@
PORTNAME= zipcodes
PORTVERSION= 20150430
CATEGORIES= japanese
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= kuriyama
+MASTER_SITES= LOCAL/kuriyama
DISTFILES= ken_all-${PORTVERSION_K}.zip jigyosyo-${PORTVERSION_J}.zip
MAINTAINER= kuriyama@FreeBSD.org
diff --git a/java/bootstrap-openjdk/Makefile b/java/bootstrap-openjdk/Makefile
index ad98c30..4eb5ad6 100644
--- a/java/bootstrap-openjdk/Makefile
+++ b/java/bootstrap-openjdk/Makefile
@@ -4,8 +4,7 @@ PORTNAME= ${JDK_NAME}
PORTVERSION= ${DISTVERSION_${ARCH}}
PORTREVISION= 1
CATEGORIES= java devel
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= jkim
+MASTER_SITES= LOCAL/jkim
PKGNAMEPREFIX= bootstrap-
DISTNAME= ${JDK_PORT}-${ARCH}-${PORTVERSION}
diff --git a/java/classpath/Makefile b/java/classpath/Makefile
index b5f04e1..34ebf83 100644
--- a/java/classpath/Makefile
+++ b/java/classpath/Makefile
@@ -5,10 +5,9 @@ PORTNAME= classpath
PORTVERSION= 0.99
PORTREVISION= 1
CATEGORIES= java devel
-MASTER_SITES= ${MASTER_SITE_GNU} \
- ${MASTER_SITE_SAVANNAH}
-MASTER_SITE_SUBDIR= ${PORTNAME:S|$|:src|}
-DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:src
+MASTER_SITES= GNU \
+ SAVANNAH
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= java@FreeBSD.org
@@ -48,8 +47,7 @@ QT4_DESC= Enable Qt AWT peer
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MECJ}
-MASTER_SITES+= ${MASTER_SITE_ECLIPSE:S|$|:ecj|}
-MASTER_SITE_SUBDIR+= R-${ECJ_VERSION}-${ECJ_DROPDATE}/:ecj
+MASTER_SITES+= ECLIPSE/R-${ECJ_VERSION}-${ECJ_DROPDATE}:ecj
DISTFILES+= ${ECJ_JAR}:ecj
ECJ_VERSION= 3.8.1
ECJ_DROPDATE= 201209141540
diff --git a/java/eclipse-cdt/Makefile b/java/eclipse-cdt/Makefile
index 973277b..52e6459 100644
--- a/java/eclipse-cdt/Makefile
+++ b/java/eclipse-cdt/Makefile
@@ -5,8 +5,7 @@ PORTNAME= ${PLUGIN}
PORTVERSION= 6.0.2
PORTREVISION= 3
CATEGORIES= java devel
-MASTER_SITES= ${MASTER_SITE_ECLIPSE}
-MASTER_SITE_SUBDIR=tools/${PLUGIN}/releases/${ECLIPSE_CODENAME}/dist
+MASTER_SITES= ECLIPSE/tools/${PLUGIN}/releases/${ECLIPSE_CODENAME}/dist
PKGNAMEPREFIX= eclipse-
DISTNAME= ${PLUGIN}-master-${PORTVERSION}
diff --git a/java/eclipse-windowbuilder/Makefile b/java/eclipse-windowbuilder/Makefile
index e3f1a6a..0cb553a 100644
--- a/java/eclipse-windowbuilder/Makefile
+++ b/java/eclipse-windowbuilder/Makefile
@@ -6,7 +6,7 @@ PORTVERSION= 1.6.1
PORTREVISION= 1
CATEGORIES= java devel
MASTER_SITES= ${MASTER_SITE_ECLIPSE:S,/eclipse/downloads/drops/,/windowbuilder/WB/release/,} \
- ${MASTER_SITE_LOCAL:S,%SUBDIR%/,ale/:native,}
+ LOCAL/ale:native
MASTER_SITE_SUBDIR= R201309271200
PKGNAMEPREFIX= eclipse-
DISTFILES= WB_v${PORTVERSION}_UpdateSite_for_Eclipse4.3.zip \
diff --git a/java/jakarta-bcel/Makefile b/java/jakarta-bcel/Makefile
index 47812f8..23d307c 100644
--- a/java/jakarta-bcel/Makefile
+++ b/java/jakarta-bcel/Makefile
@@ -4,8 +4,7 @@ PORTNAME= bcel
PORTVERSION= 5.2
PORTREVISION= 2
CATEGORIES= java devel
-MASTER_SITES= ${MASTER_SITE_APACHE_JAKARTA}
-MASTER_SITE_SUBDIR= ${PORTNAME}/binaries
+MASTER_SITES= APACHE_JAKARTA/${PORTNAME}/binaries
PKGNAMEPREFIX= jakarta-
MAINTAINER= java@FreeBSD.org
diff --git a/java/jakarta-commons-httpclient/Makefile b/java/jakarta-commons-httpclient/Makefile
index 9d8bed18..32ee3be 100644
--- a/java/jakarta-commons-httpclient/Makefile
+++ b/java/jakarta-commons-httpclient/Makefile
@@ -5,8 +5,7 @@ PORTNAME= commons-httpclient
DISTVERSION= 3.1
PORTREVISION= 1
CATEGORIES= java www
-MASTER_SITES= ${MASTER_SITE_APACHE}
-MASTER_SITE_SUBDIR= httpcomponents/${PORTNAME}/source
+MASTER_SITES= APACHE/httpcomponents/${PORTNAME}/source
PKGNAMEPREFIX= jakarta-
DISTNAME= ${PORTNAME}-${DISTVERSION}-src
diff --git a/java/jakarta-regexp/Makefile b/java/jakarta-regexp/Makefile
index 77701ac..742eb46 100644
--- a/java/jakarta-regexp/Makefile
+++ b/java/jakarta-regexp/Makefile
@@ -5,8 +5,7 @@ PORTNAME= jakarta-regexp
PORTVERSION= 1.5
PORTREVISION= 3
CATEGORIES= java devel
-MASTER_SITES= ${MASTER_SITE_APACHE_JAKARTA}
-MASTER_SITE_SUBDIR= regexp/binaries
+MASTER_SITES= APACHE_JAKARTA/regexp/binaries
MAINTAINER= ports@FreeBSD.org
COMMENT= Regular expressions for Java
diff --git a/java/java-zoneinfo/Makefile b/java/java-zoneinfo/Makefile
index 71f768d..b5cfde5 100644
--- a/java/java-zoneinfo/Makefile
+++ b/java/java-zoneinfo/Makefile
@@ -4,7 +4,7 @@
PORTNAME= zoneinfo
DISTVERSION= 2015b
CATEGORIES= java misc
-MASTER_SITES= ${MASTER_SITE_LOCAL:S|%SUBDIR%|glewis/javazi|}
+MASTER_SITES= LOCAL/glewis/javazi
PKGNAMEPREFIX= java-
DISTNAME= javazi-${DISTVERSION}
diff --git a/java/openjdk6/Makefile b/java/openjdk6/Makefile
index b0fda78..f5c71b2 100644
--- a/java/openjdk6/Makefile
+++ b/java/openjdk6/Makefile
@@ -6,11 +6,10 @@ PORTVERSION= b34
PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= java devel
-MASTER_SITES= ${MASTER_SITE_APACHE:S,%SUBDIR%/,ant/binaries/:ant,} \
+MASTER_SITES= APACHE/ant/binaries/:ant \
http://download.java.net/openjdk/jtreg/promoted/4.1/b05/:jtreg \
https://java.net/downloads/openjdk6/ \
- LOCAL
-MASTER_SITE_SUBDIR= jkim
+ LOCAL/jkim
DISTNAME= openjdk-6-src-${PORTVERSION}-${OPENJDK_BUILDDATE}
DISTFILES= ${ANTFILE}:ant \
${DISTNAME}${EXTRACT_SUFX}
diff --git a/java/openjdk7/Makefile b/java/openjdk7/Makefile
index 553aa1d..70abe05 100644
--- a/java/openjdk7/Makefile
+++ b/java/openjdk7/Makefile
@@ -12,7 +12,7 @@ MASTER_SITES= http://download.java.net/openjdk/jdk${JDK_MAJOR_VERSION}u${JDK_MIN
http://icedtea.classpath.org/download/drops/:jaxws \
https://java.net/downloads/jax-ws/JDK7/:jaf \
http://icedtea.classpath.org/download/drops/:jaf \
- ${MASTER_SITE_APACHE:S,%SUBDIR%/,ant/binaries/:ant,}
+ APACHE/ant/binaries/:ant
DISTFILES= ${JDK_SRC_DISTFILE}${EXTRACT_SUFX} \
${ANT_DISTFILE}${EXTRACT_SUFX}:ant
EXTRACT_ONLY= ${JDK_SRC_DISTFILE}${EXTRACT_SUFX} \
diff --git a/java/proguard/Makefile b/java/proguard/Makefile
index d33ceef..256c3d0 100644
--- a/java/proguard/Makefile
+++ b/java/proguard/Makefile
@@ -4,8 +4,7 @@
PORTNAME= proguard
PORTVERSION= 5.2.1
CATEGORIES= java devel
-MASTER_SITES= SF
-MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTNAME}/${PORTVERSION:C/.1$//}
+MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION:C/.1$//}
DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= ale@FreeBSD.org
diff --git a/java/rubygem-rjb/Makefile b/java/rubygem-rjb/Makefile
index 6a83f92..237f283 100644
--- a/java/rubygem-rjb/Makefile
+++ b/java/rubygem-rjb/Makefile
@@ -4,7 +4,7 @@
PORTNAME= rjb
PORTVERSION= 1.5.3
CATEGORIES= java ruby
-MASTER_SITES= ${MASTER_SITE_RUBYGEMS}
+MASTER_SITES= RG
MAINTAINER= arved@FreeBSD.org
COMMENT= Call Java Code from Ruby
diff --git a/korean/aleefonts-ttf/Makefile b/korean/aleefonts-ttf/Makefile
index 081a1a7..b9b0542 100644
--- a/korean/aleefonts-ttf/Makefile
+++ b/korean/aleefonts-ttf/Makefile
@@ -5,8 +5,7 @@ PORTNAME= aleefonts
PORTVERSION= 12
PORTREVISION= 1
CATEGORIES= korean x11-fonts
-MASTER_SITES= DEBIAN
-MASTER_SITE_SUBDIR= pool/main/t/ttf-alee
+MASTER_SITES= DEBIAN/pool/main/t/ttf-alee
PKGNAMESUFFIX= -ttf
DISTNAME= ttf-alee_${PORTVERSION}
diff --git a/korean/man-doc/Makefile b/korean/man-doc/Makefile
index 44a9c1b..bf7cb45 100644
--- a/korean/man-doc/Makefile
+++ b/korean/man-doc/Makefile
@@ -5,9 +5,8 @@ PORTNAME= man
PORTVERSION= 021120
PORTREVISION= 3
CATEGORIES= korean
-MASTER_SITES= ${MASTER_SITE_LOCAL} \
+MASTER_SITES= LOCAL/perky \
http://people.freebsd.org/~perky/distfiles/
-MASTER_SITE_SUBDIR= perky
PKGNAMESUFFIX= -doc
DISTNAME= ko-man-doc-${PORTVERSION}
diff --git a/korean/nanumcoding-ttf/Makefile b/korean/nanumcoding-ttf/Makefile
index 5484abe..02a3355 100644
--- a/korean/nanumcoding-ttf/Makefile
+++ b/korean/nanumcoding-ttf/Makefile
@@ -5,8 +5,7 @@ PORTVERSION= 2.0
PORTREVISION= 1
CATEGORIES= korean
MASTER_SITES= http://dev.naver.com/frs/download.php/441/ \
- LOCAL
-MASTER_SITE_SUBDIR= jkim
+ LOCAL/jkim
PKGNAMESUFFIX= -ttf
DISTNAME= NanumGothicCoding-${PORTVERSION}
diff --git a/korean/nanumfonts-otf/Makefile b/korean/nanumfonts-otf/Makefile
index afbd287..3fbf3d1 100644
--- a/korean/nanumfonts-otf/Makefile
+++ b/korean/nanumfonts-otf/Makefile
@@ -5,8 +5,7 @@ PORTVERSION= 3.1
PORTREVISION= 1
CATEGORIES= korean
MASTER_SITES= http://cdn.naver.com/naver/NanumFont/fontfiles/ \
- LOCAL
-MASTER_SITE_SUBDIR= jkim
+ LOCAL/jkim
PKGNAMESUFFIX= -${FONTTYPE}
DISTFILES= NanumFont_${FONTTYPE:tu}_ALL${EXTRACT_SUFX} \
NanumFontSetup_${FONTTYPE:tu}_GOTHICECO${EXTRACT_SUFX} \
diff --git a/lang/basic256/Makefile b/lang/basic256/Makefile
index eb495cd..3dc8b89 100644
--- a/lang/basic256/Makefile
+++ b/lang/basic256/Makefile
@@ -5,8 +5,7 @@ PORTNAME= basic256
PORTVERSION= 1.1.4.0
PORTREVISION= 1
CATEGORIES= lang
-MASTER_SITES= SF
-MASTER_SITE_SUBDIR= kidbasic/${PORTNAME}
+MASTER_SITES= SF/kidbasic/${PORTNAME}
DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
MAINTAINER= fernando.apesteguia@gmail.com
diff --git a/lang/clang-cheri/Makefile b/lang/clang-cheri/Makefile
index 212777a..b85c95d 100644
--- a/lang/clang-cheri/Makefile
+++ b/lang/clang-cheri/Makefile
@@ -3,8 +3,7 @@
PORTNAME= clang-cheri
PORTVERSION= 3.7.d20150512
CATEGORIES= lang devel
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= brooks
+MASTER_SITES= LOCAL/brooks
MAINTAINER= brooks@FreeBSD.org
COMMENT= C, Objective-C, and C++ compiler with CHERI CPU support
diff --git a/lang/clang-devel/Makefile b/lang/clang-devel/Makefile
index 5da6b40..03d8601 100644
--- a/lang/clang-devel/Makefile
+++ b/lang/clang-devel/Makefile
@@ -4,8 +4,7 @@
PORTNAME= clang
PORTVERSION= 3.7.r${SVN_REV}
CATEGORIES= lang devel
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= brooks
+MASTER_SITES= LOCAL/brooks
PKGNAMESUFFIX= -devel
DISTFILES= ${CLANG_SOURCE} \
${LLVM_SOURCE}
diff --git a/lang/emacs-lisp-intro/Makefile b/lang/emacs-lisp-intro/Makefile
index 451b5b7..6296cb3 100644
--- a/lang/emacs-lisp-intro/Makefile
+++ b/lang/emacs-lisp-intro/Makefile
@@ -4,8 +4,7 @@
PORTNAME= emacs-lisp-intro
PORTVERSION= 2.04
CATEGORIES= lang elisp
-MASTER_SITES= ${MASTER_SITE_GNU}
-MASTER_SITE_SUBDIR= emacs
+MASTER_SITES= GNU/emacs
MAINTAINER= amakawa@jp.FreeBSD.org
COMMENT= Introduction to Emacs Lisp programming
diff --git a/lang/erlang/Makefile b/lang/erlang/Makefile
index 97869da..cb31802 100644
--- a/lang/erlang/Makefile
+++ b/lang/erlang/Makefile
@@ -11,7 +11,7 @@ MASTER_SITES= http://www.erlang.org/download/:erlangorg \
http://www.erlang.se/doc/:erlangse \
http://www.erlang.se/publications/:publications \
http://www.sics.se/~joe/thesis/:joe \
- ${MASTER_SITE_LOCAL:S/$/:local/:S,%SUBDIR%/,olgeni/,}
+ LOCAL/olgeni:local
DISTNAME= otp_src_${ERL_RELEASE}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:erlangorg \
${ERLANG_MAN}:erlangorg
diff --git a/lang/gcc-aux/Makefile b/lang/gcc-aux/Makefile
index 7004be0..9fa24c9 100644
--- a/lang/gcc-aux/Makefile
+++ b/lang/gcc-aux/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= ${SNAPSHOT}
PORTREVISION= ${MAIN_PR}
CATEGORIES= lang
MASTER_SITES= http://downloads.dragonlace.net/src/:boot \
- LOCAL/marino:boot ${MASTER_SITE_GCC}
-MASTER_SITE_SUBDIR= ${MS_SUBDIR}
+ LOCAL/marino:boot GCC/${MS_SUBDIR}
DISTFILES= ${IDENTIFICATION}.tar.bz2
MAINTAINER= marino@FreeBSD.org
diff --git a/lang/gcc47-aux/Makefile b/lang/gcc47-aux/Makefile
index a0142b6..89de0c8 100644
--- a/lang/gcc47-aux/Makefile
+++ b/lang/gcc47-aux/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= ${SNAPSHOT}
PORTREVISION= 1
CATEGORIES= lang
MASTER_SITES= http://downloads.dragonlace.net/src/:boot \
- ${MASTER_SITE_GCC}
-MASTER_SITE_SUBDIR= releases/gcc-${GCC_VERSION}
+ GCC/releases/gcc-${GCC_VERSION}
DISTFILES= gcc-${GCC_VERSION}.tar.bz2
MAINTAINER= marino@FreeBSD.org
diff --git a/lang/gcc5-aux/Makefile b/lang/gcc5-aux/Makefile
index 89a6db9..05e545c 100644
--- a/lang/gcc5-aux/Makefile
+++ b/lang/gcc5-aux/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= ${SNAPSHOT}
PORTREVISION= ${MAIN_PR}
CATEGORIES= lang
MASTER_SITES= http://downloads.dragonlace.net/src/:boot \
- LOCAL/marino:boot ${MASTER_SITE_GCC}
-MASTER_SITE_SUBDIR= ${MS_SUBDIR}
+ LOCAL/marino:boot GCC/${MS_SUBDIR}
DISTFILES= ${IDENTIFICATION}.tar.bz2
MAINTAINER= marino@FreeBSD.org
diff --git a/lang/ghc/Makefile b/lang/ghc/Makefile
index 7567170..68c4635 100644
--- a/lang/ghc/Makefile
+++ b/lang/ghc/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 7.8.3
PORTREVISION= 1
CATEGORIES= lang haskell
MASTER_SITES= http://www.haskell.org/ghc/dist/${PORTVERSION}/:source \
- ${MASTER_SITE_LOCAL:S/$/:boot/}
-MASTER_SITE_SUBDIR= pgj/:boot
+ LOCAL/pgj/:boot
DISTFILES= ghc-${PORTVERSION}-src${EXTRACT_SUFX}:source
MAINTAINER= haskell@FreeBSD.org
diff --git a/lang/gnat_util/Makefile b/lang/gnat_util/Makefile
index 892657c..d34be67 100644
--- a/lang/gnat_util/Makefile
+++ b/lang/gnat_util/Makefile
@@ -5,8 +5,7 @@ PORTNAME= gnat_util
PORTVERSION= ${SNAPSHOT}
PORTREVISION= ${UTIL_PR}
CATEGORIES= lang
-MASTER_SITES= ${MASTER_SITE_GCC}
-MASTER_SITE_SUBDIR= ${MS_SUBDIR}
+MASTER_SITES= GCC/${MS_SUBDIR}
DISTNAME= ${IDENTIFICATION}
MAINTAINER= marino@FreeBSD.org
diff --git a/lang/gnatdroid-armv7/Makefile b/lang/gnatdroid-armv7/Makefile
index c2d1457..92453c9 100644
--- a/lang/gnatdroid-armv7/Makefile
+++ b/lang/gnatdroid-armv7/Makefile
@@ -5,8 +5,7 @@ PORTNAME= armv7
PORTVERSION= ${SNAPSHOT}
PORTREVISION= ${ARMV7_PR}
CATEGORIES= lang
-MASTER_SITES= ${MASTER_SITE_GCC}
-MASTER_SITE_SUBDIR= releases/gcc-${GCC_VERSION}
+MASTER_SITES= GCC/releases/gcc-${GCC_VERSION}
PKGNAMEPREFIX= gnatdroid-
DISTFILES= ${IDENTIFICATION}.tar.bz2
diff --git a/lang/gnatdroid-binutils/Makefile b/lang/gnatdroid-binutils/Makefile
index 531d7aa..0b2c804 100644
--- a/lang/gnatdroid-binutils/Makefile
+++ b/lang/gnatdroid-binutils/Makefile
@@ -4,8 +4,7 @@
PORTNAME= binutils
PORTVERSION= 2.25
CATEGORIES= lang
-MASTER_SITES= ${MASTER_SITE_SOURCEWARE}
-MASTER_SITE_SUBDIR= binutils/releases
+MASTER_SITES= SOURCEWARE/binutils/releases
PKGNAMEPREFIX= gnatdroid-
MAINTAINER= marino@FreeBSD.org
diff --git a/lang/guile/Makefile b/lang/guile/Makefile
index 43d4fc5..59831da 100644
--- a/lang/guile/Makefile
+++ b/lang/guile/Makefile
@@ -6,8 +6,7 @@ PORTNAME= guile
PORTVERSION= 1.8.8
PORTREVISION= 2
CATEGORIES= lang scheme
-MASTER_SITES= ${MASTER_SITE_GNU}
-MASTER_SITE_SUBDIR= guile
+MASTER_SITES= GNU
MAINTAINER= bofh@FreeBSD.org
COMMENT= GNU Ubiquitous Intelligent Language for Extension
diff --git a/lang/libstdc++_stldoc_4.2.2/Makefile b/lang/libstdc++_stldoc_4.2.2/Makefile
index bb73b84..10ddb27 100644
--- a/lang/libstdc++_stldoc_4.2.2/Makefile
+++ b/lang/libstdc++_stldoc_4.2.2/Makefile
@@ -5,8 +5,7 @@ PORTNAME= libstdc++_stldoc_4.2.2
PORTVERSION= 20071101
PORTREVISION= 1
CATEGORIES= lang devel
-MASTER_SITES= ${MASTER_SITE_GCC}
-MASTER_SITE_SUBDIR= libstdc++/doxygen
+MASTER_SITES= GCC/libstdc++/doxygen
DISTNAME= libstdc++-html-USERS-4.2.2
MAINTAINER= ports@FreeBSD.org
diff --git a/lang/ocaml/Makefile b/lang/ocaml/Makefile
index bdac81f..315f5b9 100644
--- a/lang/ocaml/Makefile
+++ b/lang/ocaml/Makefile
@@ -7,7 +7,6 @@ PORTVERSION= 4.02.1
CATEGORIES= lang
MASTER_SITES= http://caml.inria.fr/pub/distrib/${DISTNAME:R}/ GENTOO \
http://caml.inria.fr/pub/distrib/${DISTNAME:R}/:docs
-MASTER_SITE_SUBDIR= distfiles
PKGNAMESUFFIX= ${SFX}
MAINTAINER= michipili@gmail.com
diff --git a/lang/p5-v6/Makefile b/lang/p5-v6/Makefile
index d72fea9..448e08f 100644
--- a/lang/p5-v6/Makefile
+++ b/lang/p5-v6/Makefile
@@ -6,7 +6,7 @@ PORTVERSION= 0.017
PORTREVISION= 1
CATEGORIES= lang perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= ../by-authors/id/F/FG/FGLOCK
+MASTER_SITE_SUBDIR= CPAN:FGLOCK
PKGNAMEPREFIX= p5-
DISTNAME= ${PORTNAME}-alpha-${PORTVERSION}
diff --git a/lang/php5/Makefile b/lang/php5/Makefile
index bad2972..613a27a 100644
--- a/lang/php5/Makefile
+++ b/lang/php5/Makefile
@@ -5,8 +5,7 @@ PORTNAME= php5
PORTVERSION= 5.4.40
PORTREVISION?= 0
CATEGORIES?= lang devel www
-MASTER_SITES= ${MASTER_SITE_PHP}
-MASTER_SITE_SUBDIR= distributions
+MASTER_SITES= PHP/distributions
DISTNAME= php-${PORTVERSION}
MAINTAINER= ale@FreeBSD.org
@@ -63,8 +62,7 @@ DESTDIRNAME= INSTALL_ROOT
PATCH_DIST_STRIP= -p1
-PATCH_SITES+= ${MASTER_SITE_LOCAL}
-PATCH_SITE_SUBDIR= ale
+PATCH_SITES+= LOCAL/ale
.if ${PORT_OPTIONS:MMAILHEAD}
PATCHFILES+= php-5.4.x-mail-header.patch:mail
diff --git a/lang/php55/Makefile b/lang/php55/Makefile
index a847afa..bd211e5 100644
--- a/lang/php55/Makefile
+++ b/lang/php55/Makefile
@@ -5,8 +5,7 @@ PORTNAME= php55
PORTVERSION= 5.5.24
PORTREVISION?= 0
CATEGORIES?= lang devel www
-MASTER_SITES= ${MASTER_SITE_PHP}
-MASTER_SITE_SUBDIR= distributions
+MASTER_SITES= PHP/distributions
DISTNAME= php-${PORTVERSION}
MAINTAINER= ale@FreeBSD.org
@@ -63,8 +62,7 @@ DESTDIRNAME= INSTALL_ROOT
PATCH_DIST_STRIP= -p1
-PATCH_SITES+= ${MASTER_SITE_LOCAL}
-PATCH_SITE_SUBDIR= ale
+PATCH_SITES+= LOCAL/ale
.if ${PORT_OPTIONS:MMAILHEAD}
PATCHFILES+= php-5.5.x-mail-header.patch:mail
diff --git a/lang/php56/Makefile b/lang/php56/Makefile
index d718638..5f089af 100644
--- a/lang/php56/Makefile
+++ b/lang/php56/Makefile
@@ -5,8 +5,7 @@ PORTNAME= php56
PORTVERSION= 5.6.8
PORTREVISION?= 0
CATEGORIES?= lang devel www
-MASTER_SITES= ${MASTER_SITE_PHP}
-MASTER_SITE_SUBDIR= distributions
+MASTER_SITES= PHP/distributions
DISTNAME= php-${PORTVERSION}
MAINTAINER= ale@FreeBSD.org
@@ -63,8 +62,7 @@ DESTDIRNAME= INSTALL_ROOT
PATCH_DIST_STRIP= -p1
-PATCH_SITES+= ${MASTER_SITE_LOCAL}
-PATCH_SITE_SUBDIR= ale
+PATCH_SITES+= LOCAL/ale
.if ${PORT_OPTIONS:MMAILHEAD}
PATCHFILES+= php-5.5.x-mail-header.patch:mail
diff --git a/lang/python-doc-html/Makefile b/lang/python-doc-html/Makefile
index 4de64b1..0df734c 100644
--- a/lang/python-doc-html/Makefile
+++ b/lang/python-doc-html/Makefile
@@ -4,9 +4,8 @@
PORTNAME= python-doc-${DOCFORMAT}
PORTVERSION= ${PYTHON_PORTVERSION}
CATEGORIES= lang python
-MASTER_SITES= PYTHON
-MASTER_SITE_SUBDIR= ftp/python/doc/${PORTVERSION} \
- ftp/python/doc/current
+MASTER_SITES= PYTHON/ftp/python/doc/${PORTVERSION} \
+ PYTHON/ftp/python/doc/current
DISTNAME= python-${PORTVERSION}-docs-${DOCFORMAT}
DIST_SUBDIR= python
diff --git a/lang/python-tools/Makefile b/lang/python-tools/Makefile
index 2952f0c..97fb063 100644
--- a/lang/python-tools/Makefile
+++ b/lang/python-tools/Makefile
@@ -3,8 +3,7 @@
PORTNAME= python-tools
PORTVERSION= ${PYTHON_PORTVERSION}
CATEGORIES= lang python devel
-MASTER_SITES= PYTHON
-MASTER_SITE_SUBDIR= ftp/python/${PORTVERSION}
+MASTER_SITES= PYTHON/ftp/python/${PORTVERSION}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= Python-${PORTVERSION}
diff --git a/lang/python27/Makefile b/lang/python27/Makefile
index f9972e7..5d4903c 100644
--- a/lang/python27/Makefile
+++ b/lang/python27/Makefile
@@ -4,8 +4,7 @@ PORTNAME= python27
PORTVERSION= 2.7.9
PORTREVISION= 1
CATEGORIES= lang python ipv6
-MASTER_SITES= PYTHON
-MASTER_SITE_SUBDIR= ftp/python/${PORTVERSION}
+MASTER_SITES= PYTHON/ftp/python/${PORTVERSION}
DISTNAME= Python-${PORTVERSION}
DIST_SUBDIR= python
diff --git a/lang/python32/Makefile b/lang/python32/Makefile
index ef3ceb3..3bbcf08 100644
--- a/lang/python32/Makefile
+++ b/lang/python32/Makefile
@@ -4,8 +4,7 @@ PORTNAME= python32
PORTVERSION= 3.2.5
PORTREVISION= 13
CATEGORIES= lang python ipv6
-MASTER_SITES= PYTHON
-MASTER_SITE_SUBDIR= ftp/python/${PORTVERSION}
+MASTER_SITES= PYTHON/ftp/python/${PORTVERSION}
DISTNAME= Python-${PORTVERSION}
DIST_SUBDIR= python
diff --git a/lang/python33/Makefile b/lang/python33/Makefile
index 45c54ed..1755b4c 100644
--- a/lang/python33/Makefile
+++ b/lang/python33/Makefile
@@ -4,8 +4,7 @@ PORTNAME= python33
PORTVERSION= 3.3.5
PORTREVISION= 6
CATEGORIES= lang python ipv6
-MASTER_SITES= PYTHON
-MASTER_SITE_SUBDIR= ftp/python/${PORTVERSION}
+MASTER_SITES= PYTHON/ftp/python/${PORTVERSION}
DISTNAME= Python-${PORTVERSION}
DIST_SUBDIR= python
diff --git a/lang/python34/Makefile b/lang/python34/Makefile
index c7db4d4..35b9724 100644
--- a/lang/python34/Makefile
+++ b/lang/python34/Makefile
@@ -5,8 +5,7 @@ PORTNAME= python34
PORTVERSION= 3.4.3
PORTREVISION= 1
CATEGORIES= lang python ipv6
-MASTER_SITES= PYTHON
-MASTER_SITE_SUBDIR= ftp/python/${PORTVERSION}
+MASTER_SITES= PYTHON/ftp/python/${PORTVERSION}
DISTNAME= Python-${PORTVERSION}
DIST_SUBDIR= python
diff --git a/lang/ratfor/Makefile b/lang/ratfor/Makefile
index c18226c..0cfd188 100644
--- a/lang/ratfor/Makefile
+++ b/lang/ratfor/Makefile
@@ -5,9 +5,8 @@ PORTNAME= ratfor
PORTVERSION= 1985.06
PORTREVISION= 5
CATEGORIES= lang
-MASTER_SITES= ${MASTER_SITE_LOCAL} \
+MASTER_SITES= LOCAL/obrien \
http://sepwww.stanford.edu/sep/prof/
-MASTER_SITE_SUBDIR= obrien
DISTFILES= ratfor.shar.2 local.ratfor77.shar
MAINTAINER= bofh@FreeBSD.org
diff --git a/lang/rhino/Makefile b/lang/rhino/Makefile
index 00ae267d..a025ff2 100644
--- a/lang/rhino/Makefile
+++ b/lang/rhino/Makefile
@@ -6,8 +6,7 @@ DISTVERSION= 1_7R4
CATEGORIES= lang java
MASTER_SITES= http://cloud.github.com/downloads/mozilla/rhino/:rhino \
LOCAL/nivit/${PORTNAME}/:swingex \
- ${MASTER_SITE_APACHE}:xmlbeans
-MASTER_SITE_SUBDIR= xmlbeans/binaries/:xmlbeans
+ APACHE/xmlbeans/binaries/:xmlbeans
DISTFILES= ${PORTNAME}${DISTVERSION}.zip:rhino \
src.zip:swingex \
xmlbeans-2.5.0.zip:xmlbeans
diff --git a/lang/ruby20/Makefile b/lang/ruby20/Makefile
index 804a60c..fafe9df 100644
--- a/lang/ruby20/Makefile
+++ b/lang/ruby20/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= ${RUBY_PORTVERSION}
PORTREVISION= ${RUBY_PORTREVISION}
PORTEPOCH= ${RUBY_PORTEPOCH}
CATEGORIES= lang ruby ipv6
-MASTER_SITES= ${MASTER_SITE_RUBY}
-MASTER_SITE_SUBDIR= ${MASTER_SITE_SUBDIR_RUBY}
+MASTER_SITES= RUBY/${MASTER_SITE_SUBDIR_RUBY}
DISTNAME= ${RUBY_DISTNAME}
DIST_SUBDIR= ruby
diff --git a/lang/ruby21/Makefile b/lang/ruby21/Makefile
index 11ce9d2..4faab73 100644
--- a/lang/ruby21/Makefile
+++ b/lang/ruby21/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= ${RUBY_PORTVERSION}
PORTREVISION= ${RUBY_PORTREVISION}
PORTEPOCH= ${RUBY_PORTEPOCH}
CATEGORIES= lang ruby ipv6
-MASTER_SITES= ${MASTER_SITE_RUBY}
-MASTER_SITE_SUBDIR= ${MASTER_SITE_SUBDIR_RUBY}
+MASTER_SITES= RUBY/${MASTER_SITE_SUBDIR_RUBY}
DISTNAME= ${RUBY_DISTNAME}
DIST_SUBDIR= ruby
diff --git a/lang/ruby22/Makefile b/lang/ruby22/Makefile
index fe7c841..140f550 100644
--- a/lang/ruby22/Makefile
+++ b/lang/ruby22/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= ${RUBY_PORTVERSION}
PORTREVISION= ${RUBY_PORTREVISION}
PORTEPOCH= ${RUBY_PORTEPOCH}
CATEGORIES= lang ruby ipv6
-MASTER_SITES= ${MASTER_SITE_RUBY}
-MASTER_SITE_SUBDIR= ${MASTER_SITE_SUBDIR_RUBY}
+MASTER_SITES= RUBY/${MASTER_SITE_SUBDIR_RUBY}
DISTNAME= ${RUBY_DISTNAME}
DIST_SUBDIR= ruby
diff --git a/lang/sagittarius-scheme/Makefile b/lang/sagittarius-scheme/Makefile
index b164ca4..63954f6 100644
--- a/lang/sagittarius-scheme/Makefile
+++ b/lang/sagittarius-scheme/Makefile
@@ -4,9 +4,8 @@
PORTNAME= sagittarius
PORTVERSION= 0.6.3
CATEGORIES= lang
-MASTER_SITES= http://distfiles.pirateparty.in/%SUBDIR%/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= ashish
+MASTER_SITES= http://distfiles.pirateparty.in/ashish/ \
+ LOCAL/ashish
PKGNAMESUFFIX= -scheme
MAINTAINER= ashish@FreeBSD.org
diff --git a/lang/siod/Makefile b/lang/siod/Makefile
index 94ee953..33befa1 100644
--- a/lang/siod/Makefile
+++ b/lang/siod/Makefile
@@ -4,8 +4,7 @@
PORTNAME= siod
PORTVERSION= 3.4
CATEGORIES= lang scheme
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= jkoshy
+MASTER_SITES= LOCAL/jkoshy
DISTNAME= siod
EXTRACT_SUFX= .tgz
diff --git a/lang/spidermonkey17/Makefile b/lang/spidermonkey17/Makefile
index 4394ed9..a2a3ce8 100644
--- a/lang/spidermonkey17/Makefile
+++ b/lang/spidermonkey17/Makefile
@@ -5,8 +5,7 @@ PORTNAME= spidermonkey17
DISTVERSION= 1.7.0
PORTREVISION= 1
CATEGORIES= lang
-MASTER_SITES= ${MASTER_SITE_MOZILLA_EXTENDED}
-MASTER_SITE_SUBDIR= js
+MASTER_SITES= MOZILLA_EXTENDED/js
DISTNAME= js-${DISTVERSION}
MAINTAINER= citric@cubicone.tmetic.com
diff --git a/lang/spidermonkey170/Makefile b/lang/spidermonkey170/Makefile
index cf805be..98b3c20 100644
--- a/lang/spidermonkey170/Makefile
+++ b/lang/spidermonkey170/Makefile
@@ -5,8 +5,7 @@ PORTNAME= spidermonkey170
PORTVERSION= 17.0.0
PORTREVISION= 1
CATEGORIES= lang
-MASTER_SITES= ${MASTER_SITE_MOZILLA}
-MASTER_SITE_SUBDIR= js
+MASTER_SITES= MOZILLA/js
DISTNAME= mozjs${PORTVERSION}
MAINTAINER= kwm@FreeBSD.org
diff --git a/lang/spidermonkey185/Makefile b/lang/spidermonkey185/Makefile
index 35d20f5..24983a4 100644
--- a/lang/spidermonkey185/Makefile
+++ b/lang/spidermonkey185/Makefile
@@ -5,8 +5,7 @@ PORTNAME= spidermonkey185
PORTVERSION= 1.8.5
PORTREVISION= 2
CATEGORIES= lang
-MASTER_SITES= ${MASTER_SITE_MOZILLA}
-MASTER_SITE_SUBDIR= js
+MASTER_SITES= MOZILLA/js
DISTNAME= js185-1.0.0
MAINTAINER= koobs@FreeBSD.org
diff --git a/lang/spidermonkey24/Makefile b/lang/spidermonkey24/Makefile
index 1c25f1a..0c26291 100644
--- a/lang/spidermonkey24/Makefile
+++ b/lang/spidermonkey24/Makefile
@@ -5,9 +5,8 @@ PORTNAME= spidermonkey24
PORTVERSION= 24.2.0
PORTREVISION= 1
CATEGORIES= lang
-MASTER_SITES= ${MASTER_SITE_MOZILLA}
+MASTER_SITES= MOZILLA/js
#http://people.mozilla.org/~sstangl/
-MASTER_SITE_SUBDIR= js
DISTNAME= mozjs-${PORTVERSION}
MAINTAINER= kwm@FreeBSD.org
diff --git a/lang/tcl84/Makefile b/lang/tcl84/Makefile
index 2756c46..f62e3c9 100644
--- a/lang/tcl84/Makefile
+++ b/lang/tcl84/Makefile
@@ -6,9 +6,8 @@ PORTVERSION= 8.4.20
PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= lang tcl
-MASTER_SITES= ${MASTER_SITE_TCLTK} \
+MASTER_SITES= TCLTK/tcl8_4 \
SF/tcl/Tcl/${PORTVERSION}
-MASTER_SITE_SUBDIR= tcl8_4
PKGNAMESUFFIX= ${PORTVERSION:R:S/.//}
DISTNAME= ${PORTNAME}${PORTVERSION}-src
diff --git a/lang/tcl85/Makefile b/lang/tcl85/Makefile
index 58f4a2a..ad69b7b 100644
--- a/lang/tcl85/Makefile
+++ b/lang/tcl85/Makefile
@@ -4,9 +4,8 @@
PORTNAME= tcl
PORTVERSION= 8.5.18
CATEGORIES= lang
-MASTER_SITES= ${MASTER_SITE_TCLTK} \
+MASTER_SITES= TCLTK/tcl8_5 \
SF/tcl/Tcl/${PORTVERSION}
-MASTER_SITE_SUBDIR=tcl8_5
PKGNAMESUFFIX= ${PORTVERSION:R:S/.//}
DISTNAME= ${PORTNAME}${PORTVERSION}-src
diff --git a/lang/tcl86/Makefile b/lang/tcl86/Makefile
index 966a405..6697ee7 100644
--- a/lang/tcl86/Makefile
+++ b/lang/tcl86/Makefile
@@ -5,8 +5,7 @@ PORTNAME= tcl
PORTVERSION= 8.6.4
CATEGORIES= lang
MASTER_SITES= SF/tcl/Tcl/${PORTVERSION} \
- ${MASTER_SITE_TCLTK}
-MASTER_SITE_SUBDIR=tcl8_6
+ TCLTK/tcl8_6
PKGNAMESUFFIX= ${PORTVERSION:R:S/.//}
DISTNAME= ${PORTNAME}${PORTVERSION}-src
diff --git a/lang/tinypy/Makefile b/lang/tinypy/Makefile
index 552c5f1..646dc92 100644
--- a/lang/tinypy/Makefile
+++ b/lang/tinypy/Makefile
@@ -5,7 +5,7 @@ PORTNAME= tinypy
PORTVERSION= 1.1
PORTREVISION= 1
CATEGORIES= lang python
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
MAINTAINER= saper@saper.info
COMMENT= Minimalist implementation of python in 64k of code
diff --git a/lang/ypsilon/Makefile b/lang/ypsilon/Makefile
index 6cd9bc3..a5a6e419 100644
--- a/lang/ypsilon/Makefile
+++ b/lang/ypsilon/Makefile
@@ -5,7 +5,7 @@ PORTNAME= ypsilon
PORTVERSION= 0.9.6.3
PORTREVISION= 3
CATEGORIES= lang scheme
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
DISTNAME= ${PORTNAME}-0.9.6.update3
MAINTAINER= vmagerya@gmail.com
diff --git a/mail/antivirus-milter/Makefile b/mail/antivirus-milter/Makefile
index ebd92ba..87da622 100644
--- a/mail/antivirus-milter/Makefile
+++ b/mail/antivirus-milter/Makefile
@@ -4,8 +4,7 @@ PORTNAME= antivirus
PORTVERSION= 3.30
PORTREVISION= 7
CATEGORIES= mail
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= dinoex
+MASTER_SITES= LOCAL/dinoex
MAINTAINER= dinoex@FreeBSD.org
COMMENT= Sendmail milter wich uses McAfee Virus Scan or clamav
diff --git a/mail/bsfilter/Makefile b/mail/bsfilter/Makefile
index 7a53dc1..387c657 100644
--- a/mail/bsfilter/Makefile
+++ b/mail/bsfilter/Makefile
@@ -5,8 +5,7 @@ PORTNAME= bsfilter
PORTVERSION= 1.0.19
PORTREVISION= 1
CATEGORIES= mail ruby
-MASTER_SITES= SFJP
-MASTER_SITE_SUBDIR= bsfilter/59804
+MASTER_SITES= SFJP/bsfilter/59804
MAINTAINER= yasu@utahime.org
COMMENT= Bayesian spam filter written in Ruby
diff --git a/mail/bsmtp/Makefile b/mail/bsmtp/Makefile
index c6bc636..4a52412 100644
--- a/mail/bsmtp/Makefile
+++ b/mail/bsmtp/Makefile
@@ -4,8 +4,7 @@ PORTNAME= bsmtp
PORTVERSION= 1.02
PORTREVISION= 5
CATEGORIES= mail
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= naddy
+MASTER_SITES= LOCAL/naddy
MAINTAINER= naddy@FreeBSD.org
COMMENT= Batch SMTP support for sendmail, incoming and outgoing
diff --git a/mail/c-sig/Makefile b/mail/c-sig/Makefile
index 8b0cb55..607c9f5 100644
--- a/mail/c-sig/Makefile
+++ b/mail/c-sig/Makefile
@@ -5,8 +5,7 @@ PORTNAME= c-sig
PORTVERSION= 3.8
PORTREVISION= 16
CATEGORIES= mail elisp
-MASTER_SITES= LOCAL
-MASTER_SITE_SUBDIR= tota/${PORTNAME}
+MASTER_SITES= LOCAL/tota/${PORTNAME}
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
DISTNAME= ${PORTNAME}.${PORTVERSION}
diff --git a/mail/coolmail/Makefile b/mail/coolmail/Makefile
index ddb1750..2384765 100644
--- a/mail/coolmail/Makefile
+++ b/mail/coolmail/Makefile
@@ -5,9 +5,7 @@ PORTNAME= coolmail
PORTVERSION= 1.3
PORTREVISION= 3
CATEGORIES= mail
-MASTER_SITES= ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR=system/mail/biffs
-EXTRACT_SUFX= .tgz
+MASTER_SITES= SUNSITE/system/mail/biffs
MAINTAINER= udo.schweigert@siemens.com
COMMENT= Xbiff like mail tool with animated 3D graphics
@@ -15,6 +13,7 @@ COMMENT= Xbiff like mail tool with animated 3D graphics
PLIST_FILES= bin/coolmail \
man/man1/coolmail.1.gz
+USES= tar:tgz
USE_XORG= x11 xext xmu xi
PATCH_STRIP= -p1
diff --git a/mail/cucipop/Makefile b/mail/cucipop/Makefile
index 3961e87..ecacd62 100644
--- a/mail/cucipop/Makefile
+++ b/mail/cucipop/Makefile
@@ -13,8 +13,7 @@ MASTER_SITES= ftp://ftp.informatik.rwth-aachen.de/pub/packages/cucipop/ \
http://ftp.riken.go.jp/archives/net/mail/pop/cucipop/ \
http://horms.net/projects/cucipop/download/
-PATCH_SITES= ${MASTER_SITE_RINGSERVER}
-PATCH_SITE_SUBDIR= net/kame/misc
+PATCH_SITES= RINGSERVER/net/kame/misc
PATCHFILES= cucipop-1.31-v6-20010223.diff.gz
PATCH_DIST_STRIP= -p1
diff --git a/mail/cyrus-imapd24/Makefile b/mail/cyrus-imapd24/Makefile
index 5373cf2..97f359f 100644
--- a/mail/cyrus-imapd24/Makefile
+++ b/mail/cyrus-imapd24/Makefile
@@ -109,8 +109,7 @@ GSSAPI_MIT_CONFIGURE_ON= --enable-gssapi="${GSSAPIBASEDIR}" \
.if ${PORT_OPTIONS:MAUTOCREATE} || ${PORT_OPTIONS:MAUTOSIEVE}
PATCH_DIST_STRIP= -p1
-PATCH_SITES+= ${MASTER_SITE_LOCAL}
-PATCH_SITE_SUBDIR= mm
+PATCH_SITES+= LOCAL/mm
.endif
.if ${PORT_OPTIONS:MAUTOCREATE}
diff --git a/mail/dspam/Makefile b/mail/dspam/Makefile
index 11ada16..74c744c 100644
--- a/mail/dspam/Makefile
+++ b/mail/dspam/Makefile
@@ -8,8 +8,7 @@
PORTNAME= dspam
PORTVERSION= 3.10.2
CATEGORIES= mail
-MASTER_SITES= SF
-MASTER_SITE_SUBDIR=${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
+MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= danny@dannywarren.com
COMMENT= Bayesian spam filter
diff --git a/mail/exim-doc-html/Makefile b/mail/exim-doc-html/Makefile
index 4a4122b..b0e2d92 100644
--- a/mail/exim-doc-html/Makefile
+++ b/mail/exim-doc-html/Makefile
@@ -4,8 +4,7 @@
PORTNAME= exim
PORTVERSION= 4.85
CATEGORIES= mail
-MASTER_SITES= ${MASTER_SITE_EXIM:S/$/:exim/}
-MASTER_SITE_SUBDIR= exim4/:exim
+MASTER_SITES= EXIM/exim4/:exim
PKGNAMESUFFIX= -doc-${DOCFORMAT}
DISTNAME= exim-${DISTDOCFORMAT}-${PORTVERSION}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:exim
diff --git a/mail/exim/Makefile b/mail/exim/Makefile
index c74fd91..49d6829 100644
--- a/mail/exim/Makefile
+++ b/mail/exim/Makefile
@@ -5,8 +5,7 @@ PORTNAME= exim
PORTVERSION?= ${EXIM_VERSION}
PORTREVISION?= 1
CATEGORIES= mail ipv6
-MASTER_SITES= ${MASTER_SITE_EXIM:S/$/:exim/}
-MASTER_SITE_SUBDIR= exim4/:exim
+MASTER_SITES= EXIM/exim4/:exim
DISTNAME= ${PORTNAME}-${EXIM_VERSION}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:exim
DIST_SUBDIR= exim
@@ -95,7 +94,6 @@ WITH_OPENSSL_PORT= yes
.if ${PORT_OPTIONS:MSA_EXIM} || defined(FETCH_ALL)
MASTER_SITES+= http://marc.merlins.org/linux/exim/files/:sa_exim \
SF/sa-exim/sa-exim/${SA_EXIM_VERSION}:sa_exim
-MASTER_SITE_SUBDIR+= sa-exim/:sa_exim
DISTFILES+= sa-exim-${SA_EXIM_VERSION}.tar.gz:sa_exim
.endif
diff --git a/mail/exmh2/Makefile b/mail/exmh2/Makefile
index 28c9519..0712ec3 100644
--- a/mail/exmh2/Makefile
+++ b/mail/exmh2/Makefile
@@ -7,9 +7,7 @@ PORTNAME= exmh
PORTVERSION= 2.8.0
PORTREVISION= 1
CATEGORIES+= mail tk
-MASTER_SITES= ${MASTER_SITE_TCLTK} \
- SF
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= TCLTK/${PORTNAME} SF/${PORTNAME}
MAINTAINER?= cy@FreeBSD.org
COMMENT?= X11/TK based mail reader front end to MH
diff --git a/mail/greylite/Makefile b/mail/greylite/Makefile
index 84f54e2..f998b93 100644
--- a/mail/greylite/Makefile
+++ b/mail/greylite/Makefile
@@ -5,8 +5,7 @@ PORTNAME= greylite
PORTVERSION= 2.3
PORTREVISION= 4
CATEGORIES= mail
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= oliver
+MASTER_SITES= LOCAL/oliver
MAINTAINER= oliver@FreeBSD.org
COMMENT= Modified greylisting for qmail and for any other MDA
diff --git a/mail/hbiff/Makefile b/mail/hbiff/Makefile
index 8d8c071..4626ba4 100644
--- a/mail/hbiff/Makefile
+++ b/mail/hbiff/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 1.2
PORTREVISION= 2
CATEGORIES= mail
MASTER_SITES= ftp://nuxi.ucdavis.edu/pub/misc/ \
- LOCAL
-MASTER_SITE_SUBDIR= obrien
+ LOCAL/obrien
MAINTAINER= obrien@FreeBSD.org
COMMENT= Replacement for xbiff that handles popup window with mail headers
diff --git a/mail/imaptools/Makefile b/mail/imaptools/Makefile
index db94d26..853c007 100644
--- a/mail/imaptools/Makefile
+++ b/mail/imaptools/Makefile
@@ -4,8 +4,7 @@
PORTNAME= imaptools
PORTVERSION= 1.135
CATEGORIES= mail
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= bsam
+MASTER_SITES= LOCAL/bsam
DISTNAME= imap_tools_V${PORTVERSION}
MAINTAINER= bsam@FreeBSD.org
diff --git a/mail/james/Makefile b/mail/james/Makefile
index a422294..5a48731 100644
--- a/mail/james/Makefile
+++ b/mail/james/Makefile
@@ -5,8 +5,7 @@ PORTNAME= james
PORTVERSION= 2.3.1
PORTREVISION= 1
CATEGORIES= mail java
-MASTER_SITES= ${MASTER_SITE_APACHE}
-MASTER_SITE_SUBDIR= ${PORTNAME}/server/binaries
+MASTER_SITES= APACHE/${PORTNAME}/server/binaries
DISTNAME= ${PORTNAME}-binary-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
diff --git a/mail/lens/Makefile b/mail/lens/Makefile
index efc198e..b4a0f0b 100644
--- a/mail/lens/Makefile
+++ b/mail/lens/Makefile
@@ -6,7 +6,7 @@ PORTVERSION= 0.2
PORTREVISION= 1
CATEGORIES= mail ruby
MASTER_SITES= http://www.pitecan.com/Lens/ \
- ${MASTER_SITE_LOCAL:S|%SUBDIR%|tota/lens|}
+ LOCAL/tota/lens
MAINTAINER= tota@FreeBSD.org
COMMENT= Mail filter written in Ruby
diff --git a/mail/libesmtp/Makefile b/mail/libesmtp/Makefile
index 4a3e2d3..d9d7f58 100644
--- a/mail/libesmtp/Makefile
+++ b/mail/libesmtp/Makefile
@@ -8,7 +8,7 @@ PORTEPOCH= 1
CATEGORIES= mail
MASTER_SITES= http://www.stafford.uklinux.net/libesmtp/ \
http://ftp.osuosl.org/pub/blfs/svn/l/ \
- GENTOO/distfiles
+ GENTOO
MAINTAINER= ports@FreeBSD.org
COMMENT= Library for posting electronic mail
diff --git a/mail/libsrs2/Makefile b/mail/libsrs2/Makefile
index 3a4a79c..a3d2af5 100644
--- a/mail/libsrs2/Makefile
+++ b/mail/libsrs2/Makefile
@@ -5,8 +5,7 @@ PORTNAME= libsrs2
PORTVERSION= 1.0.18
PORTREVISION= 3
CATEGORIES= mail
-MASTER_SITES= http://www.libsrs2.org/%SUBDIR%/
-MASTER_SITE_SUBDIR= srs
+MASTER_SITES= http://www.libsrs2.org/srs/
MAINTAINER= pi@FreeBSD.org
COMMENT= Sender Rewriting Scheme 2 C Implementation
diff --git a/mail/lmtp2nntp/Makefile b/mail/lmtp2nntp/Makefile
index f5ae480..a76601e 100644
--- a/mail/lmtp2nntp/Makefile
+++ b/mail/lmtp2nntp/Makefile
@@ -4,8 +4,7 @@
PORTNAME= lmtp2nntp
PORTVERSION= 1.4.1
CATEGORIES= mail news
-MASTER_SITES= ${MASTER_SITE_OSSP}
-MASTER_SITE_SUBDIR= tool/${PORTNAME}
+MASTER_SITES= OSSP/tool/${PORTNAME}
MAINTAINER= vd@FreeBSD.org
COMMENT= OSSP mail to news gateway
diff --git a/mail/mail-notification/Makefile b/mail/mail-notification/Makefile
index 84624d2..cea2c44 100644
--- a/mail/mail-notification/Makefile
+++ b/mail/mail-notification/Makefile
@@ -5,8 +5,7 @@ PORTNAME= mail-notification
DISTVERSION= 5.4
PORTREVISION= 15
CATEGORIES= mail ipv6
-MASTER_SITES= ${MASTER_SITE_SAVANNAH}
-MASTER_SITE_SUBDIR= mailnotify-orig
+MASTER_SITES= SAVANNAH/mailnotify-orig
MAINTAINER= ports@FreeBSD.org
COMMENT= Mail notification for freedesktop.org-compliant system trays
diff --git a/mail/mailman/Makefile b/mail/mailman/Makefile
index 461cf79..c219d2f 100644
--- a/mail/mailman/Makefile
+++ b/mail/mailman/Makefile
@@ -4,10 +4,9 @@
PORTNAME= mailman
DISTVERSION= 2.1.20
CATEGORIES= mail
-MASTER_SITES= ${MASTER_SITE_GNU} \
+MASTER_SITES= GNU \
SF/${PORTNAME}/Mailman%202.1%20%28stable%29/${PORTVERSION} \
https://launchpad.net/mailman/${DISTVERSION:R}/${DISTVERSION}/+download/
-MASTER_SITE_SUBDIR= ${PORTNAME}
DIST_SUBDIR= mailman
PATCH_DIST_STRIP= -p1
diff --git a/mail/mailtray/Makefile b/mail/mailtray/Makefile
index ef2ec58..72c8299 100644
--- a/mail/mailtray/Makefile
+++ b/mail/mailtray/Makefile
@@ -5,7 +5,7 @@ PORTNAME= mailtray
PORTVERSION= 1.4
PORTREVISION= 2
CATEGORIES= mail python
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
MAINTAINER= ports@FreeBSD.org
COMMENT= Display email status in tray
diff --git a/mail/mailx/Makefile b/mail/mailx/Makefile
index 750ea3c..7a7760e 100644
--- a/mail/mailx/Makefile
+++ b/mail/mailx/Makefile
@@ -5,10 +5,10 @@ PORTNAME= mailx
PORTVERSION= 0.5
PORTREVISION= 1
CATEGORIES= mail
-MASTER_SITES= ${MASTER_SITE_PORTS_JP}
+MASTER_SITES= PORTS_JP
DISTFILES= mail-2.2.8.tar.gz mailx-memo-2.2.8R
-PATCH_SITES= ${MASTER_SITE_PORTS_JP}
+PATCH_SITES= PORTS_JP
PATCHFILES= mailx.v05.patch.gz
PATCH_DIST_STRIP= -p1
diff --git a/mail/missey/Makefile b/mail/missey/Makefile
index 9b802376..a4a8b62 100644
--- a/mail/missey/Makefile
+++ b/mail/missey/Makefile
@@ -6,7 +6,7 @@ PORTVERSION= 1.2.0
PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://www.dengh.com/missey/
-MASTER_SITES+= ${MASTER_SITE_LOCAL:S/%SUBDIR%/delphij/}
+MASTER_SITES+= LOCAL/delphij
DISTNAME= mps.${PORTVERSION}
MAINTAINER= delphij@FreeBSD.org
diff --git a/mail/mlmmj/Makefile b/mail/mlmmj/Makefile
index 8b57178..fc82a85 100644
--- a/mail/mlmmj/Makefile
+++ b/mail/mlmmj/Makefile
@@ -5,8 +5,7 @@ PORTNAME= mlmmj
PORTVERSION= 1.2.17.1
CATEGORIES= mail
MASTER_SITES= http://mlmmj.org/releases/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= brix
+ LOCAL/brix
MAINTAINER= xi@borderworlds.dk
COMMENT= Mailing list managing made joyful
diff --git a/mail/nmh/Makefile b/mail/nmh/Makefile
index 03a6483..e0c92e6 100644
--- a/mail/nmh/Makefile
+++ b/mail/nmh/Makefile
@@ -4,8 +4,7 @@
PORTNAME= nmh
PORTVERSION= 1.6
CATEGORIES= mail
-MASTER_SITES= ${MASTER_SITE_SAVANNAH}
-MASTER_SITE_SUBDIR= nmh
+MASTER_SITES= SAVANNAH
MAINTAINER= cy@FreeBSD.org
COMMENT= Cleaned up MH mailer suite
diff --git a/mail/nullmailer/Makefile b/mail/nullmailer/Makefile
index ad90139..292556b 100644
--- a/mail/nullmailer/Makefile
+++ b/mail/nullmailer/Makefile
@@ -8,7 +8,6 @@ PORTEPOCH= 1
CATEGORIES= mail
MASTER_SITES= http://untroubled.org/nullmailer/ \
http://untroubled.org/nullmailer/archive/
-MASTER_SITE_SUBDIR= ${PORTVERSION}
MAINTAINER= uffe@uffe.org
COMMENT= MTA for hosts which relay to a fixed set of smart relays
diff --git a/mail/opendkim/Makefile b/mail/opendkim/Makefile
index 450e0bc..9b54aa1 100644
--- a/mail/opendkim/Makefile
+++ b/mail/opendkim/Makefile
@@ -5,9 +5,8 @@ PORTNAME= opendkim
PORTVERSION= 2.9.2
PORTREVISION= 6
CATEGORIES= mail security
-MASTER_SITES= SF
-MASTER_SITE_SUBDIR= ${PORTNAME} \
- ${PORTNAME}/Previous%20Releases
+MASTER_SITES= SF/${PORTNAME} \
+ SF/${PORTNAME}/Previous%20Releases
MAINTAINER= umq@ueo.co.jp
COMMENT= DKIM library and milter implementation
diff --git a/mail/opendmarc/Makefile b/mail/opendmarc/Makefile
index 28c6ee7..8e25508 100644
--- a/mail/opendmarc/Makefile
+++ b/mail/opendmarc/Makefile
@@ -4,9 +4,8 @@
PORTNAME= opendmarc
PORTVERSION= 1.3.1
CATEGORIES= mail security
-MASTER_SITES= SF
-MASTER_SITE_SUBDIR= ${PORTNAME} \
- ${PORTNAME}/Previous%20Releases
+MASTER_SITES= SF/${PORTNAME} \
+ SF/${PORTNAME}/Previous%20Releases
MAINTAINER= freebsd@gushi.org
COMMENT= DMARC library and milter implementation
diff --git a/mail/openwebmail/Makefile b/mail/openwebmail/Makefile
index db1c1ca..4427df8 100644
--- a/mail/openwebmail/Makefile
+++ b/mail/openwebmail/Makefile
@@ -5,9 +5,8 @@ PORTNAME= openwebmail
PORTVERSION= 2.53
PORTREVISION= 2
CATEGORIES= mail
-MASTER_SITES= http://openwebmail.acatysmoof.com/download/%SUBDIR%/ \
- http://openwebmail.org/openwebmail/download/%SUBDIR%/
-MASTER_SITE_SUBDIR?= release
+MASTER_SITES= http://openwebmail.acatysmoof.com/download/release/ \
+ http://openwebmail.org/openwebmail/download/release/
MAINTAINER= crees@FreeBSD.org
COMMENT= Webmail system designed to manage big mail folder files efficiently
diff --git a/mail/p5-Email-Abstract/Makefile b/mail/p5-Email-Abstract/Makefile
index 6b7ef5e..50c1ef5 100644
--- a/mail/p5-Email-Abstract/Makefile
+++ b/mail/p5-Email-Abstract/Makefile
@@ -4,7 +4,6 @@ PORTNAME= Email-Abstract
PORTVERSION= 3.008
CATEGORIES= mail perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Email
PKGNAMEPREFIX= p5-
MAINTAINER= lth@FreeBSD.org
diff --git a/mail/p5-Email-FolderType-Net/Makefile b/mail/p5-Email-FolderType-Net/Makefile
index 35c1002..6dd18db 100644
--- a/mail/p5-Email-FolderType-Net/Makefile
+++ b/mail/p5-Email-FolderType-Net/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 1.04.1
PORTREVISION= 1
CATEGORIES= mail perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Email
PKGNAMEPREFIX= p5-
DISTNAME= ${PORTNAME}-${PORTVERSION:R}${PORTVERSION:E}
diff --git a/mail/p5-Mail-LMLM/Makefile b/mail/p5-Mail-LMLM/Makefile
index b732b66..a0d220c 100644
--- a/mail/p5-Mail-LMLM/Makefile
+++ b/mail/p5-Mail-LMLM/Makefile
@@ -5,7 +5,6 @@ PORTNAME= Mail-LMLM
PORTVERSION= 0.6804
CATEGORIES= mail perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Mail
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
diff --git a/mail/p5-Net-SMTP-Server/Makefile b/mail/p5-Net-SMTP-Server/Makefile
index ccd3f6e..f6abc8c 100644
--- a/mail/p5-Net-SMTP-Server/Makefile
+++ b/mail/p5-Net-SMTP-Server/Makefile
@@ -5,7 +5,7 @@ PORTNAME= Net-SMTP-Server
PORTVERSION= 1.1
PORTREVISION= 2
CATEGORIES= mail perl5
-MASTER_SITES= CPAN
+MASTER_SITES= CPAN http://www.macgyver.org/software/perl/
PKGNAMEPREFIX= p5-
DISTNAME= SMTP-Server-${PORTVERSION}
@@ -18,7 +18,6 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= p5-Net-DNS>=0:${PORTSDIR}/dns/p5-Net-DNS
RUN_DEPENDS:= ${BUILD_DEPENDS}
-MASTER_SITE_BACKUP+= http://www.macgyver.org/software/perl/
USES= perl5
USE_PERL5= configure
diff --git a/mail/pm-lib/Makefile b/mail/pm-lib/Makefile
index 943cc46..4c8da52 100644
--- a/mail/pm-lib/Makefile
+++ b/mail/pm-lib/Makefile
@@ -5,8 +5,7 @@ PORTNAME= pm-lib
PORTVERSION= 20091202
PORTREVISION= 1
CATEGORIES= mail
-MASTER_SITES= SAVANNAH
-MASTER_SITE_SUBDIR= procmail-lib
+MASTER_SITES= SAVANNAH/procmail-lib
DISTNAME= procmail-lib-2009.1202
MAINTAINER= ports@FreeBSD.org
diff --git a/mail/postfix-current/Makefile b/mail/postfix-current/Makefile
index 31a3cec..3aaccd0 100644
--- a/mail/postfix-current/Makefile
+++ b/mail/postfix-current/Makefile
@@ -200,8 +200,7 @@ POSTFIX_CCARGS+= -DNO_TLS
.if ${PORT_OPTIONS:MSPF}
BROKEN= At the moment, SPF support is unavailable for ${PORTNAME}-${DISTVERSION}
-PATCH_SITES+= ${MASTER_SITE_LOCAL}
-PATCH_SITE_SUBDIR= mm
+PATCH_SITES+= LOCAL/mm
PATCHFILES+= postfix-2.8.0-libspf2-1.2.x-0.patch.gz
PATCH_DIST_STRIP= -p1
POSTFIX_CCARGS+= -DHAVE_NS_TYPE -DHAS_SPF -I${LOCALBASE}/include
diff --git a/mail/postfix/Makefile b/mail/postfix/Makefile
index 1c64cd2..53b4c1f 100644
--- a/mail/postfix/Makefile
+++ b/mail/postfix/Makefile
@@ -182,8 +182,7 @@ POSTFIX_CCARGS+= -DNO_TLS
.endif
.if ${PORT_OPTIONS:MSPF}
-PATCH_SITES+= ${MASTER_SITE_LOCAL}
-PATCH_SITE_SUBDIR= mm
+PATCH_SITES+= LOCAL/mm
PATCHFILES+= postfix-2.8.0-libspf2-1.2.x-0.patch.gz
PATCH_DIST_STRIP= -p1
POSTFIX_CCARGS+= -DHAVE_NS_TYPE -DHAS_SPF -I${LOCALBASE}/include
diff --git a/mail/postfixadmin/Makefile b/mail/postfixadmin/Makefile
index a673e91..9235bf2 100644
--- a/mail/postfixadmin/Makefile
+++ b/mail/postfixadmin/Makefile
@@ -5,8 +5,7 @@ PORTNAME= postfixadmin
PORTVERSION= 2.3.7
PORTREVISION= 1
CATEGORIES= mail www
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
+MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= ports.maintainer@evilphi.com
COMMENT= PHP web-based management tool for Postfix virtual domains and users
diff --git a/mail/qmail-contrib/Makefile b/mail/qmail-contrib/Makefile
index 0eb9b28..1a6e0f4 100644
--- a/mail/qmail-contrib/Makefile
+++ b/mail/qmail-contrib/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 0.1
PORTREVISION= 2
CATEGORIES= mail
MASTER_SITES= http://cr.yp.to/software/ \
- ${MASTER_SITE_GENTOO}
-MASTER_SITE_SUBDIR= distfiles
+ GENTOO
DISTFILES= dot-forward-${DF_VER}.tar.gz \
fastforward-${FF_VER}.tar.gz
diff --git a/mail/qmail-dk/Makefile b/mail/qmail-dk/Makefile
index f86fd4f..f051071 100644
--- a/mail/qmail-dk/Makefile
+++ b/mail/qmail-dk/Makefile
@@ -4,7 +4,7 @@ PORTNAME= dk
PORTVERSION= 0.54
PORTREVISION= 1
CATEGORIES= mail
-MASTER_SITES= ${MASTER_SITE_QMAIL}
+MASTER_SITES= QMAIL
PKGNAMEPREFIX= qmail-
DISTFILES= qmail-1.03.tar.gz
DIST_SUBDIR= qmail
@@ -14,7 +14,7 @@ COMMENT= DomainKeys implementation for qmail
LIB_DEPENDS+= libdomainkeys.so:${PORTSDIR}/mail/libdomainkeys
-PATCH_SITES= ${MASTER_SITE_QMAIL}
+PATCH_SITES= QMAIL
PATCHFILES= qmail-1.03-dk-0.54.patch
USES= qmail
diff --git a/mail/qmail-spamcontrol/Makefile b/mail/qmail-spamcontrol/Makefile
index 798179f..b99541f 100644
--- a/mail/qmail-spamcontrol/Makefile
+++ b/mail/qmail-spamcontrol/Makefile
@@ -5,8 +5,7 @@ PORTVERSION= ${QMAIL_VERSION}.${SPAMCONTROL_VERSION}
PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES+= http://www.fehcom.de/qmail/spamcontrol/:spamcontrol \
- ${MASTER_SITE_LOCAL:S/$/:spamcontrol/}
-MASTER_SITE_SUBDIR= bdrewery/qmail/:spamcontrol
+ LOCAL/bdrewery/qmail/:spamcontrol
PKGNAMESUFFIX= -spamcontrol
DISTFILES= ${QMAIL_DIST} ${SPAMCONTROL_DIST}:spamcontrol
EXTRACT_ONLY= ${QMAIL_DIST}
diff --git a/mail/qmail/Makefile b/mail/qmail/Makefile
index ad37188..82cd770 100644
--- a/mail/qmail/Makefile
+++ b/mail/qmail/Makefile
@@ -5,7 +5,7 @@ PORTNAME= ${QMAIL_PORTNAME}
PORTVERSION?= ${QMAIL_VERSION}
PORTREVISION?= 1
CATEGORIES= mail
-MASTER_SITES+= ${MASTER_SITE_QMAIL}
+MASTER_SITES+= QMAIL
DISTNAME= ${PORTNAME}-${QMAIL_VERSION}
DISTFILES?= ${DISTNAME}${EXTRACT_SUFX}
EXTRACT_ONLY?= ${DISTNAME}${EXTRACT_SUFX}
@@ -175,8 +175,7 @@ TLS_PATCH_NAME= ${QMAIL_PORTNAME}-${QMAIL_VERSION}-tls-${TLS_PATCH_DATE}.patch
PATCHFILES+= ${TLS_PATCH_NAME}:tls
.endif
-PATCH_SITES+= ${MASTER_SITE_LOCAL:S/$/:dns,sendmail_flagf,rfc2821,ldap,mysql,tls,quota,blockexec,doublebounce,spf,spf_tls,localtime,qmtpc_outgoingip/}
-PATCH_SITE_SUBDIR+= bdrewery/qmail/:dns,sendmail_flagf,rfc2821,ldap,mysql,tls,quota,blockexec,doublebounce,spf,spf_tls,localtime,qmtpc_outgoingip
+PATCH_SITES+= LOCAL/bdrewery/qmail/:dns,sendmail_flagf,rfc2821,ldap,mysql,tls,quota,blockexec,doublebounce,spf,spf_tls,localtime,qmtpc_outgoingip
PATCH_SITES+= http://mirror.shatow.net/freebsd/qmail/:DEFAULT,dns,sendmail_flagf,rfc2821,ldap,mysql,tls,quota,blockexec,doublebounce,spf,spf_tls,localtime,qmtpc_outgoingip
OPTIONS_DEFINE+=DOCS
@@ -438,8 +437,7 @@ DISTFILES+= ${SRS_LDAP_PATCH}:srs_ldap
.if ${PORT_OPTIONS:MSMTP_AUTH_PATCH}
MASTER_SITES+= http://tomclegg.net/qmail/:smtp_auth \
- ${MASTER_SITE_LOCAL:S/$/:smtp_auth/}
-MASTER_SITE_SUBDIR+= bdrewery/qmail/:smtp_auth
+ LOCAL/bdrewery/qmail/:smtp_auth
DISTFILES+= qmail-smtpd-auth-${SMTP_AUTH_VERSION}.tar.gz:smtp_auth
EXTRACT_ONLY+= qmail-smtpd-auth-${SMTP_AUTH_VERSION}.tar.gz
MASTER_SITES+= http://tomclegg.net/qmail/:close3
@@ -475,8 +473,7 @@ PATCHFILES+= qmail-discard-double-bounces.patch:doublebounce
. if defined(SLAVE_TLS) || defined(SLAVE_SPAMCONTROL)
. if defined(SLAVE_SPAMCONTROL)
SPF_SPAMCONTROL_PATCH= qmail-spf-rc5.patch-spamcontrol-27_2
-PATCH_SITES+= ${MASTER_SITE_LOCAL:S/$/:spf_spamcontrol/}
-PATCH_SITE_SUBDIR+= bdrewery/qmail/:spf_spamcontrol
+PATCH_SITES+= LOCAL/bdrewery/qmail/:spf_spamcontrol
PATCHFILES+= ${SPF_SPAMCONTROL_PATCH}:spf_spamcontrol
. else
# XXX - Move change out of conflicting Makefile hunk
@@ -486,8 +483,7 @@ SPF_TLS_PATCH= qmail-spf-rc5.patch-auth-tls-20110119
SPF_TLS_PATCH= qmail-spf-rc5.patch-tls-20110119
. endif
#MASTER_SITES+= http://manuel.mausz.at/programming/patches/qmail/:spf_tls
-MASTER_SITES+= ${MASTER_SITE_LOCAL:S/$/:spf_tls/}
-MASTER_SITE_SUBDIR+= bdrewery/qmail/:spf_tls
+MASTER_SITES+= LOCAL/bdrewery/qmail/:spf_tls
DISTFILES+= ${SPF_TLS_PATCH}:spf_tls
. endif
. else
@@ -501,8 +497,7 @@ PLIST_SUB+= EXTTODO=""
DOCFILES_WRKSRC+= EXTTODO
. if !empty(PORT_OPTIONS:MBIG_TODO_PATCH) || !empty(PORT_OPTIONS:MBIGTODO)
-MASTER_SITES+= ${MASTER_SITE_LOCAL:S/$/:ext_big_todo/}
-MASTER_SITE_SUBDIR+= bdrewery/qmail/:ext_big_todo
+MASTER_SITES+= LOCAL/bdrewery/qmail/:ext_big_todo
EXT_BIG_TODO_PATCH= ext_todo-20030105+big-todo.103.patch
DISTFILES+= ${EXT_BIG_TODO_PATCH}:ext_big_todo
. endif
@@ -511,22 +506,18 @@ DISTFILES+= ${EXT_BIG_TODO_PATCH}:ext_big_todo
. if defined(SLAVE_TLS)
# XXX - Move qmail-todo out of conflicting Makefile hunk
EXTTODO_PATCH= ext_todo-20030105_spf_tls.patch
-MASTER_SITES+= ${MASTER_SITE_LOCAL:S/$/:exttodo/}
-MASTER_SITE_SUBDIR+= bdrewery/qmail/:exttodo
+MASTER_SITES+= LOCAL/bdrewery/qmail/:exttodo
DISTFILES+= ${EXTTODO_PATCH}:exttodo
. else
-PATCH_SITES+= ${MASTER_SITE_LOCAL:S/$/:exttodo/}
-PATCH_SITE_SUBDIR+= bdrewery/qmail/:exttodo
+PATCH_SITES+= LOCAL/bdrewery/qmail/:exttodo
PATCHFILES+= ext_todo-20030105_spf.patch:exttodo
. endif
. elif defined(SLAVE_MYSQL)
-PATCH_SITES+= ${MASTER_SITE_LOCAL:S/$/:exttodo/}
+PATCH_SITES+= LOCAL/bdrewery/qmail/:exttodo
PATCHFILES+= ext_todo-20030105_mysql.patch:exttodo
-PATCH_SITE_SUBDIR+= bdrewery/qmail/:exttodo
. elif defined(SLAVE_TLS)
-PATCH_SITES+= ${MASTER_SITE_LOCAL:S/$/:exttodo/}
+PATCH_SITES+= LOCAL/bdrewery/qmail/:exttodo
PATCHFILES+= ext_todo-20030105_tls.patch:exttodo
-PATCH_SITE_SUBDIR+= bdrewery/qmail/:exttodo
. else
PATCH_SITES+= http://www.nrg4u.com/qmail/:exttodo
PATCHFILES+= ext_todo-20030105.patch:exttodo
@@ -545,7 +536,7 @@ EXTRA_PATCHES+= ${FILESDIR}/extra-patch-dns-cname
|| !empty(PORT_OPTIONS:MBIG_CONCURRENCY_PATCH) \
|| !empty(PORT_OPTIONS:MOUTGOINGIP_PATCH) \
|| !empty(PORT_OPTIONS:MQMTPC_PATCH)
-PATCH_SITES+= ${MASTER_SITE_QMAIL}
+PATCH_SITES+= QMAIL
.endif
.if ${PORT_OPTIONS:MQMAILQUEUE_PATCH}
@@ -588,38 +579,33 @@ SMTPEXTFORK_PATCH= smtpextfork-ldap-20060201_4.patch
. endif
MASTER_SITES+= http://www6.freebsdbrasil.com.br/~eksffa/l/dev/qmail-smtpextfork/patches/:extfork \
- ${MASTER_SITE_LOCAL:S/$/:extfork/}
-MASTER_SITE_SUBDIR+= bdrewery/qmail/:extfork
+ LOCAL/bdrewery/qmail/:extfork
DISTFILES+= ${SMTPEXTFORK_PATCH:S/$/:extfork/} \
README.smtpextfork:extfork
.endif
.if defined(SLAVE_LDAP) && ${PORT_OPTIONS:MSENDERCHECK4}
PATCH_SITES+= http://www6.freebsdbrasil.com.br/~eksffa/l/dev/qmail/:sendercheck4 \
- ${MASTER_SITE_LOCAL:S/$/:sendercheck4/}
-PATCH_SITE_SUBDIR+= bdrewery/qmail/:sendercheck4
+ LOCAL/bdrewery/qmail/:sendercheck4
PATCHFILES+= qmail-ldap-1.03_qmail-smtpd_SENDERCHECK4.patch:sendercheck4
.endif
.if defined(SLAVE_LDAP) && ${PORT_OPTIONS:MGRTDELAY}
PATCH_SITES+= http://www6.freebsdbrasil.com.br/~eksffa/l/dev/qmail/:grtdelay \
- ${MASTER_SITE_LOCAL:S/$/:grtdelay/}
-PATCH_SITE_SUBDIR+= bdrewery/qmail/:grtdelay
+ LOCAL/bdrewery/qmail/:grtdelay
PATCHFILES+= qmail-ldap-20060201-grtdelay.patch:grtdelay
DOCFILES_WRKSRC+= README.GREETDELAY
.endif
.if defined(SLAVE_LDAP) && ${PORT_OPTIONS:MENHACELOGS}
PATCH_SITES+= http://www6.freebsdbrasil.com.br/~eksffa/l/dev/qmail/:ldapenhacelog \
- ${MASTER_SITE_LOCAL:S/$/:ldapenhacelog/}
-PATCH_SITE_SUBDIR+= bdrewery/qmail/:ldapenhacelog
+ LOCAL/bdrewery/qmail/:ldapenhacelog
PATCHFILES+= enhacelogging-ldap-20120221.patch:ldapenhacelog
.endif
.if defined(SLAVE_SPAMCONTROL)
-MASTER_SITES+= ${MASTER_SITE_LOCAL:S/$/:ucspi_ssl/} \
+MASTER_SITES+= LOCAL/bdrewery/ucspi-ssl/:ucspi_ssl \
http://www.fehcom.de/ipnet/ucspi-ssl/:ucspi_ssl
-MASTER_SITE_SUBDIR+= bdrewery/ucspi-ssl/:ucspi_ssl
UCSPI_SSL_VER= 0.94
UCSPI_SSL_DIST= ucspi-ssl-${UCSPI_SSL_VER}.tgz
DISTFILES+= ${UCSPI_SSL_DIST}:ucspi_ssl
diff --git a/mail/queue-fix/Makefile b/mail/queue-fix/Makefile
index 72ecf0e..d2f41a2 100644
--- a/mail/queue-fix/Makefile
+++ b/mail/queue-fix/Makefile
@@ -5,8 +5,7 @@ PORTVERSION= 1.4
PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://www.netmeridian.com/e-huss/ \
- ${MASTER_SITE_GENTOO}
-MASTER_SITE_SUBDIR= distfiles
+ GENTOO
MAINTAINER= bdrewery@FreeBSD.org
COMMENT= Repairs or generates a qmail queue structure
diff --git a/mail/raysfilter/Makefile b/mail/raysfilter/Makefile
index 0d4d53f..2c7bd50 100644
--- a/mail/raysfilter/Makefile
+++ b/mail/raysfilter/Makefile
@@ -3,8 +3,7 @@
PORTNAME= raysfilter
PORTVERSION= 1.14
CATEGORIES= mail
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR=dinoex
+MASTER_SITES= LOCAL/dinoex
DISTNAME= rays-filter-${PORTVERSION}
MAINTAINER= dinoex@FreeBSD.org
diff --git a/mail/ripmime/Makefile b/mail/ripmime/Makefile
index 7bff0a2..d4b01da 100644
--- a/mail/ripmime/Makefile
+++ b/mail/ripmime/Makefile
@@ -5,8 +5,7 @@ PORTNAME= ripmime
PORTVERSION= 1.4.0.10
CATEGORIES= mail
MASTER_SITES= http://www.pldaniels.com/ripmime/ \
- ${MASTER_SITE_GENTOO}
-MASTER_SITE_SUBDIR= distfiles
+ GENTOO
MAINTAINER= dinoex@FreeBSD.org
COMMENT= Extracts attached files out of a MIME encoded email package
diff --git a/mail/sigrot/Makefile b/mail/sigrot/Makefile
index a237050..227b342 100644
--- a/mail/sigrot/Makefile
+++ b/mail/sigrot/Makefile
@@ -4,8 +4,7 @@
PORTNAME= sigrot
PORTVERSION= 1.0
CATEGORIES= mail
-MASTER_SITES= ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR= system/mail/misc
+MASTER_SITES= SUNSITE/system/mail/misc
DISTNAME= ${PORTNAME}_v${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
diff --git a/mail/sma/Makefile b/mail/sma/Makefile
index 1f593b5..14957ad 100644
--- a/mail/sma/Makefile
+++ b/mail/sma/Makefile
@@ -3,9 +3,8 @@
PORTNAME= sma
PORTVERSION= 1.4
CATEGORIES= mail
-MASTER_SITES= ${MASTER_SITE_LOCAL} \
+MASTER_SITES= LOCAL/dinoex \
ftp://ftp.dinoex.de/pub/FreeBSD/distfiles/
-MASTER_SITE_SUBDIR= dinoex
MAINTAINER= dinoex@FreeBSD.org
COMMENT= Program that analyses Sendmail log entries
diff --git a/mail/smtpmail/Makefile b/mail/smtpmail/Makefile
index 1d11c23..51352e7 100644
--- a/mail/smtpmail/Makefile
+++ b/mail/smtpmail/Makefile
@@ -4,8 +4,7 @@
PORTNAME= smtpmail
PORTVERSION= 0.4.5
CATEGORIES= mail
-MASTER_SITES= ${MASTER_SITE_SAVANNAH}
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= SAVANNAH
MAINTAINER= ports@FreeBSD.org
COMMENT= Tool to send e-mail via a remote smtp server
diff --git a/mail/spamass-milter/Makefile b/mail/spamass-milter/Makefile
index ec341b0..7298bf1 100644
--- a/mail/spamass-milter/Makefile
+++ b/mail/spamass-milter/Makefile
@@ -4,8 +4,7 @@
PORTNAME= spamass-milter
PORTVERSION= 0.4.0
CATEGORIES= mail
-MASTER_SITES= ${MASTER_SITE_SAVANNAH}
-MASTER_SITE_SUBDIR= spamass-milt
+MASTER_SITES= SAVANNAH/spamass-milt
MAINTAINER= bmah@FreeBSD.org
COMMENT= Sendmail Milter (mail filter) plugin for SpamAssassin
diff --git a/mail/spamassassin/Makefile b/mail/spamassassin/Makefile
index 4210b47..5b8ee16 100644
--- a/mail/spamassassin/Makefile
+++ b/mail/spamassassin/Makefile
@@ -5,10 +5,8 @@ PORTNAME= spamassassin
PORTVERSION= 3.4.1
PORTREVISION?= 1 # also bump japanese/spamassassin
CATEGORIES?= mail perl5
-MASTER_SITES= ${MASTER_SITE_APACHE:S/$/:apache/} ${MASTER_SITE_PERL_CPAN:S/$/:cpan/}
-MASTER_SITE_SUBDIR= spamassassin/source/:apache Mail/:cpan
+MASTER_SITES= APACHE/spamassassin/source CPAN/Mail
DISTNAME= Mail-SpamAssassin-${PORTVERSION}
-DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:apache,cpan
MAINTAINER?= adamw@FreeBSD.org
COMMENT?= Highly efficient mail filter for identifying spam
diff --git a/mail/spamd/Makefile b/mail/spamd/Makefile
index d8b243b..8227eec 100644
--- a/mail/spamd/Makefile
+++ b/mail/spamd/Makefile
@@ -5,8 +5,7 @@ PORTNAME= spamd
PORTVERSION= 4.9.1
PORTREVISION= 2
CATEGORIES= mail
-MASTER_SITES= SF
-MASTER_SITE_SUBDIR=freebsdspamd/spamd
+MASTER_SITES= SF/freebsdspamd/spamd
MAINTAINER= ohauer@FreeBSD.org
COMMENT= Traps spammers with a very slow smtp-login and return 4xx error
diff --git a/mail/spamilter/Makefile b/mail/spamilter/Makefile
index 7f20b39..223125c 100644
--- a/mail/spamilter/Makefile
+++ b/mail/spamilter/Makefile
@@ -5,7 +5,6 @@ PORTVERSION= 0.60
PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://www.wanlink.com/spamilter/download/
-MASTER_SITE_SUBDIR= dinoex
MAINTAINER= dinoex@FreeBSD.org
COMMENT= Sendmail LibMilter filter to block spam
diff --git a/mail/spamstats/Makefile b/mail/spamstats/Makefile
index 7b33865..bba8d32 100644
--- a/mail/spamstats/Makefile
+++ b/mail/spamstats/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 0.6c
PORTREVISION= 2
CATEGORIES= mail
#MASTER_SITES= http://www.inl.fr/download/
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= leeym
+MASTER_SITES= LOCAL/leeym
MAINTAINER= leeym@FreeBSD.org
COMMENT= Tool to generate statistics for spamd of Mail::SpamAssassin
diff --git a/mail/squirrelmail-translations/Makefile b/mail/squirrelmail-translations/Makefile
index d630bfd..2fa3d32 100644
--- a/mail/squirrelmail-translations/Makefile
+++ b/mail/squirrelmail-translations/Makefile
@@ -4,8 +4,7 @@
PORTNAME= squirrelmail-translations
PORTVERSION= 20150324
CATEGORIES= mail www
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= adamw/squirrelmail
+MASTER_SITES= LOCAL/adamw/squirrelmail
DISTNAME= squirrelmail-${PORTVERSION}_0200-SVN.locales
DIST_SUBDIR= squirrelmail
diff --git a/mail/ssmtp/Makefile b/mail/ssmtp/Makefile
index 6826401..826eb8c 100644
--- a/mail/ssmtp/Makefile
+++ b/mail/ssmtp/Makefile
@@ -5,7 +5,7 @@ PORTNAME= ssmtp
PORTVERSION= 2.64
PORTREVISION= 1
CATEGORIES= mail ipv6
-MASTER_SITES= ${MASTER_SITE_DEBIAN_POOL}
+MASTER_SITES= DEBIAN_POOL
DISTFILES= ${PORTNAME}_${PORTVERSION}.orig${EXTRACT_SUFX}
MAINTAINER= aragon@phat.za.net
diff --git a/mail/thunderbird-dictionaries/Makefile b/mail/thunderbird-dictionaries/Makefile
index 443d26c..f4935a1a 100644
--- a/mail/thunderbird-dictionaries/Makefile
+++ b/mail/thunderbird-dictionaries/Makefile
@@ -5,8 +5,7 @@ PORTNAME= thunderbird-dictionaries
PORTVERSION= 20060220
PORTREVISION= 11
CATEGORIES= mail
-MASTER_SITES= ${MASTER_SITE_MOZDEV}
-MASTER_SITE_SUBDIR= dictionaries
+MASTER_SITES= MOZDEV/dictionaries
DISTFILES= # filled in later after options
DIST_SUBDIR= thunderbird
diff --git a/mail/tmda/Makefile b/mail/tmda/Makefile
index f406f12..d9d65f3 100644
--- a/mail/tmda/Makefile
+++ b/mail/tmda/Makefile
@@ -6,9 +6,7 @@ PORTVERSION= 1.1.12
PORTREVISION= 1
CATEGORIES= mail python
MASTER_SITES= ftp://tmda.net/pub/tmda/releases/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= sergei
-EXTRACT_SUFX= .tgz
+ LOCAL/sergei
MAINTAINER= ports@FreeBSD.org
COMMENT= Python-based SPAM reduction system
@@ -16,7 +14,7 @@ COMMENT= Python-based SPAM reduction system
OPTIONS_DEFINE= CDB DOCS EXAMPLES
CDB_RUN_DEPENDS=${PYTHON_SITELIBDIR}/cdbmodule.so:${PORTSDIR}/databases/py-cdb
-USES= python
+USES= python tar:tgz
SUB_FILES= pkg-message
diff --git a/mail/tpop3d/Makefile b/mail/tpop3d/Makefile
index ca69212..9d3aa7e 100644
--- a/mail/tpop3d/Makefile
+++ b/mail/tpop3d/Makefile
@@ -5,8 +5,7 @@ PORTNAME= tpop3d
PORTVERSION= 1.5.5
PORTREVISION= 3
CATEGORIES= mail
-MASTER_SITES= ${MASTER_SITE_SAVANNAH}
-MASTER_SITE_SUBDIR= tpop3d
+MASTER_SITES= SAVANNAH
MAINTAINER= ports@FreeBSD.org
COMMENT= Virtual-domain capable POP3 server supporting MySQL, PgSQL etc auth
diff --git a/mail/vacation/Makefile b/mail/vacation/Makefile
index 463356f..1ec69d8 100644
--- a/mail/vacation/Makefile
+++ b/mail/vacation/Makefile
@@ -5,8 +5,7 @@ PORTNAME= vacation
PORTVERSION= 3.3.0
PORTREVISION= 2
CATEGORIES= mail
-MASTER_SITES= ${MASTER_SITE_DEBIAN}
-MASTER_SITE_SUBDIR= pool/main/v/vacation/
+MASTER_SITES= DEBIAN
DISTNAME= ${PORTNAME}_${PORTVERSION}-0.4
MAINTAINER= mcdouga9@egr.msu.edu
diff --git a/mail/vexim/Makefile b/mail/vexim/Makefile
index 6faaa5a..7d973e5 100644
--- a/mail/vexim/Makefile
+++ b/mail/vexim/Makefile
@@ -4,8 +4,7 @@
PORTNAME= vexim
DISTVERSION= 2.2.2_rc1
CATEGORIES= mail www
-MASTER_SITES= LOCAL
-MASTER_SITE_SUBDIR= feld
+MASTER_SITES= LOCAL/feld
DISTNAME= ${PORTNAME}_${DISTVERSION}
MAINTAINER= feld@FreeBSD.org
diff --git a/mail/xmail/Makefile b/mail/xmail/Makefile
index 41ca852..19d5c88 100644
--- a/mail/xmail/Makefile
+++ b/mail/xmail/Makefile
@@ -5,8 +5,7 @@ PORTNAME= xmail
PORTVERSION= 1.6
PORTREVISION= 2
CATEGORIES= mail
-MASTER_SITES= ${MASTER_SITE_XCONTRIB}
-MASTER_SITE_SUBDIR= applications
+MASTER_SITES= XCONTRIB/applications
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= sjroz@verizon.net
diff --git a/mail/xpbiff/Makefile b/mail/xpbiff/Makefile
index 14851df..6c7a5d4 100644
--- a/mail/xpbiff/Makefile
+++ b/mail/xpbiff/Makefile
@@ -5,8 +5,7 @@ PORTNAME?= xpbiff
PORTVERSION?= 1.27
PORTREVISION= 4
CATEGORIES= mail
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= sanpei
+MASTER_SITES= LOCAL/sanpei
DISTNAME= xpbiff
DISTFILES= xpbiff-1.27-with-YOUBIN.tar.gz.uu
diff --git a/math/R-cran-SuppDists/Makefile b/math/R-cran-SuppDists/Makefile
index a44b18e..ad9a40c 100644
--- a/math/R-cran-SuppDists/Makefile
+++ b/math/R-cran-SuppDists/Makefile
@@ -5,7 +5,7 @@ PORTNAME= SuppDists
DISTVERSION= 1.1-9.1
PORTREVISION= 2
CATEGORIES= math
-MASTER_SITES= ${MASTER_SITE_CRAN} \
+MASTER_SITES= CRAN \
http://r.research.att.com/benchmarks/:benchmark \
LOCAL/bf:benchmark
DISTFILES= ${PORTNAME}_${DISTVERSION}${EXTRACT_SUFX} \
diff --git a/math/R/Makefile b/math/R/Makefile
index db6a770..011d299 100644
--- a/math/R/Makefile
+++ b/math/R/Makefile
@@ -22,8 +22,7 @@ MASTER_SITES= http://cran.r-project.org/%SUBDIR%/ \
MASTER_SITE_SUBDIR= src/base/R-${PORTVERSION:C|\..*||}
DISTNAME= R-${PORTVERSION}
-PATCH_SITES= ${MASTER_SITE_LOCAL}
-PATCH_SITE_SUBDIR= bf
+PATCH_SITES= LOCAL/bf
PATCHFILES= R-patched-20131112-r64207.diff.bz2
MAINTAINER= bf@FreeBSD.org
diff --git a/math/apc/Makefile b/math/apc/Makefile
index 4209856..fe00058 100644
--- a/math/apc/Makefile
+++ b/math/apc/Makefile
@@ -5,8 +5,7 @@ PORTNAME= apc
PORTVERSION= 1.0
PORTREVISION= 8
CATEGORIES= math
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= arved
+MASTER_SITES= LOCAL/arved
MAINTAINER= ports@FreeBSD.org
COMMENT= Xforms based Auto Payment Calculator
diff --git a/math/aspcud/Makefile b/math/aspcud/Makefile
index 2bea62d..299d810 100644
--- a/math/aspcud/Makefile
+++ b/math/aspcud/Makefile
@@ -5,8 +5,7 @@ PORTNAME= aspcud
PORTVERSION= 1.9.0
DISTVERSIONSUFFIX= -source
CATEGORIES= math ports-mgmt sysutils
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= potassco/${PORTNAME}/${PORTVERSION}
+MASTER_SITES= SOURCEFORGE/potassco/${PORTNAME}/${PORTVERSION}
MAINTAINER= vsevolod@FreeBSD.org
COMMENT= Advanced solver for package dependencies
diff --git a/math/blacs/Makefile b/math/blacs/Makefile
index f09186a..f4ef9db 100644
--- a/math/blacs/Makefile
+++ b/math/blacs/Makefile
@@ -5,8 +5,7 @@ PORTNAME= blacs
PORTVERSION= 1.7
PORTREVISION= 24
CATEGORIES= math
-MASTER_SITES= ${MASTER_SITE_NETLIB}
-MASTER_SITE_SUBDIR=blacs
+MASTER_SITES= NETLIB/blacs
DISTNAME= BLACS
DISTFILES= mpiblacs.tgz blacstester.tgz mpiblacs-patch03.tgz
DIST_SUBDIR= blacs
diff --git a/math/carve/Makefile b/math/carve/Makefile
index 9460264..a745c33 100644
--- a/math/carve/Makefile
+++ b/math/carve/Makefile
@@ -5,7 +5,7 @@ PORTNAME= carve
PORTVERSION= 1.4.0
PORTREVISION= 5
CATEGORIES= math
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
MAINTAINER= ports@FreeBSD.org
COMMENT= Fast, robust constructive solid geometry library
diff --git a/math/ccmath/Makefile b/math/ccmath/Makefile
index 5db8f85..5448892 100644
--- a/math/ccmath/Makefile
+++ b/math/ccmath/Makefile
@@ -5,8 +5,7 @@ PORTNAME= ccmath
PORTVERSION= 2.2.1
PORTREVISION= 1
CATEGORIES= math
-MASTER_SITES= ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR= libs
+MASTER_SITES= SUNSITE/libs
MAINTAINER= db@FreeBSD.org
COMMENT= Mathematics library with many different functions
diff --git a/math/clasp/Makefile b/math/clasp/Makefile
index 6b79534..6e108b0 100644
--- a/math/clasp/Makefile
+++ b/math/clasp/Makefile
@@ -4,8 +4,7 @@
PORTNAME= clasp
PORTVERSION= 3.1.0
CATEGORIES= math devel
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= potassco/${PORTNAME}/${PORTVERSION}
+MASTER_SITES= SOURCEFORGE/potassco/${PORTNAME}/${PORTVERSION}
EXTRACT_SUFX= -source.tar.gz
MAINTAINER= vsevolod@FreeBSD.org
diff --git a/math/clipper/Makefile b/math/clipper/Makefile
index 88ef52e..aa829c9 100644
--- a/math/clipper/Makefile
+++ b/math/clipper/Makefile
@@ -4,8 +4,7 @@
PORTNAME= clipperlib
PORTVERSION= 6.0.0
CATEGORIES= math
-MASTER_SITES= SF
-MASTER_SITE_SUBDIR= polyclipping
+MASTER_SITES= SF/polyclipping
DISTNAME= clipper_ver${PORTVERSION}
MAINTAINER= martin.dieringer@gmx.de
diff --git a/math/foma/Makefile b/math/foma/Makefile
index 2b2f484..d2cf4f7 100644
--- a/math/foma/Makefile
+++ b/math/foma/Makefile
@@ -5,7 +5,7 @@ PORTNAME= foma
PORTVERSION= 0.9.17
PORTREVISION= 1
CATEGORIES= math
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
MAINTAINER= demon@FreeBSD.org
COMMENT= Toolkit for constructing finite-state automata and transducers
diff --git a/math/geg/Makefile b/math/geg/Makefile
index 8b3a03c..bf9054f 100644
--- a/math/geg/Makefile
+++ b/math/geg/Makefile
@@ -5,9 +5,8 @@ PORTNAME= geg
PORTVERSION= 1.0.2
PORTREVISION= 8
CATEGORIES= math
-MASTER_SITES= ${MASTER_SITE_SUNSITE} \
+MASTER_SITES= SUNSITE/science/visualization/plotting \
http://www.infolaunch.com/~daveb/
-MASTER_SITE_SUBDIR= science/visualization/plotting
MAINTAINER= ports@FreeBSD.org
COMMENT= Visualise multiple 2D-functions of one variable
diff --git a/math/gexpr/Makefile b/math/gexpr/Makefile
index 3316115..43abc42 100644
--- a/math/gexpr/Makefile
+++ b/math/gexpr/Makefile
@@ -5,8 +5,7 @@ PORTNAME= gexpr
PORTVERSION= 2.0.2
PORTREVISION= 1
CATEGORIES= math
-MASTER_SITES= ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR= apps/math/calc
+MASTER_SITES= SUNSITE/apps/math/calc
MAINTAINER= ports@FreeBSD.org
COMMENT= Shell calculator
diff --git a/math/glm/Makefile b/math/glm/Makefile
index 3eb6b99b..33c742c 100644
--- a/math/glm/Makefile
+++ b/math/glm/Makefile
@@ -5,8 +5,7 @@ PORTNAME= glm
PORTVERSION= 0.9.6.3
PORTEPOCH= 1
CATEGORIES= math graphics
-MASTER_SITES= SF
-MASTER_SITE_SUBDIR= ogl-math/${PORTNAME}-${PORTVERSION}
+MASTER_SITES= SF/ogl-math/${PORTNAME}-${PORTVERSION}
MAINTAINER= demon@FreeBSD.org
COMMENT= C++ mathematics library for software based on the OpenGL GLSL
diff --git a/math/glpk/Makefile b/math/glpk/Makefile
index 2a85753..a5a11ee 100644
--- a/math/glpk/Makefile
+++ b/math/glpk/Makefile
@@ -5,8 +5,7 @@ PORTNAME= glpk
PORTVERSION= 4.52.1
PORTREVISION= 2
CATEGORIES= math
-MASTER_SITES= ${MASTER_SITE_GNU}
-MASTER_SITE_SUBDIR= glpk
+MASTER_SITES= GNU
MAINTAINER= bf@FreeBSD.org
COMMENT= GNU Linear Programming Kit
diff --git a/math/gmp/Makefile b/math/gmp/Makefile
index b03b2af..7aa7e32 100644
--- a/math/gmp/Makefile
+++ b/math/gmp/Makefile
@@ -5,8 +5,7 @@ PORTNAME= gmp
PORTVERSION= 5.1.3
PORTREVISION= 2
CATEGORIES= math devel
-MASTER_SITES= ${MASTER_SITE_GNU}
-MASTER_SITE_SUBDIR= gmp
+MASTER_SITES= GNU
MAINTAINER= ale@FreeBSD.org
COMMENT= Free library for arbitrary precision arithmetic
diff --git a/math/gnubc/Makefile b/math/gnubc/Makefile
index afaf593..6d045b4 100644
--- a/math/gnubc/Makefile
+++ b/math/gnubc/Makefile
@@ -5,8 +5,7 @@ PORTNAME= bc
PORTVERSION= 1.06
PORTREVISION= 2
CATEGORIES= math
-MASTER_SITES= ${MASTER_SITE_GNU}
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= GNU
PKGNAMEPREFIX= gnu
MAINTAINER= gabor@FreeBSD.org
diff --git a/math/gotoblas/Makefile b/math/gotoblas/Makefile
index c98d361..b789ba7 100644
--- a/math/gotoblas/Makefile
+++ b/math/gotoblas/Makefile
@@ -5,9 +5,8 @@ PORTNAME= gotoblas
PORTVERSION= 2.${GOTOBLAS2VER}.${LAPACKVER}
PORTREVISION= 5
CATEGORIES= math
-MASTER_SITES= ${MASTER_SITE_LOCAL:S|%SUBDIR%|maho/gotoblas|} \
- NL:lapack,lapack_tmg
-MASTER_SITE_SUBDIR= lapack/:lapack lapack/timing/:lapack_tmg
+MASTER_SITES= LOCAL/maho/gotoblas \
+ NL/lapack:lapack NL/lapack/timing:lapack_tmg
DISTFILES= GotoBLAS2-${GOTOBLAS2VER}_bsd.tar.gz \
lapack-${LAPACKVER}.tgz:lapack \
large.tgz:lapack_tmg timing.tgz:lapack_tmg
diff --git a/math/gringo/Makefile b/math/gringo/Makefile
index d283171..5395da7 100644
--- a/math/gringo/Makefile
+++ b/math/gringo/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 4.4.0
DISTVERSIONSUFFIX= -source
PORTREVISION= 1
CATEGORIES= math devel
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= potassco/${PORTNAME}/${PORTVERSION}
+MASTER_SITES= SOURCEFORGE/potassco/${PORTNAME}/${PORTVERSION}
MAINTAINER= vsevolod@FreeBSD.org
COMMENT= Grounding algorithm based on semi-naive database evaluation
diff --git a/math/hfst/Makefile b/math/hfst/Makefile
index 1dee0d1..4ce1ab6 100644
--- a/math/hfst/Makefile
+++ b/math/hfst/Makefile
@@ -4,8 +4,7 @@
PORTNAME= hfst
PORTVERSION= 3.8.2
CATEGORIES= math
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR=${PORTNAME}/${PORTNAME}/source
+MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/source
MAINTAINER= demon@FreeBSD.org
COMMENT= A toolkit for for processing natural language morphologies
diff --git a/math/jags/Makefile b/math/jags/Makefile
index ab31eb7..1b9d8e5 100644
--- a/math/jags/Makefile
+++ b/math/jags/Makefile
@@ -5,11 +5,10 @@ PORTNAME= mcmc-jags
PORTVERSION= 3.4.0
PORTREVISION= 4
CATEGORIES= math
-MASTER_SITES= SF:1,2,3,4
-MASTER_SITE_SUBDIR= mcmc-jags/JAGS/${S}.x/Source/:1 \
- mcmc-jags/Examples/${S}.x/:2 \
- mcmc-jags/Manuals/2.x/:3 \
- mcmc-jags/Manuals/${S}.x/:4
+MASTER_SITES= SF/mcmc-jags/JAGS/${S}.x/Source/:1 \
+ SF/mcmc-jags/Examples/${S}.x/:2 \
+ SF/mcmc-jags/Manuals/2.x/:3 \
+ SF/mcmc-jags/Manuals/${S}.x/:4
DISTFILES= JAGS-${PORTVERSION}${EXTRACT_SUFX}:1
EXTRACT_ONLY= ${DISTFILES:M*[12]:C|:.*||}
diff --git a/math/jtransforms/Makefile b/math/jtransforms/Makefile
index 7adc356..26ed4ce 100644
--- a/math/jtransforms/Makefile
+++ b/math/jtransforms/Makefile
@@ -4,8 +4,7 @@ PORTNAME= jtransforms
PORTVERSION= 2.4
CATEGORIES= math java
MASTER_SITES= SF
-MASTER_SITE_SUBDIR=jtransforms/jtransforms/${PORTVERSION}
-DISTNAME= jtransforms-${PORTVERSION}-src
+DISTNAME= ${PORTNAME}-${PORTVERSION}-src
MAINTAINER= olgeni@FreeBSD.org
COMMENT= Multithreaded FFT library written in pure Java
diff --git a/math/laspack/Makefile b/math/laspack/Makefile
index 4d6ee3e..dc9f7cf 100644
--- a/math/laspack/Makefile
+++ b/math/laspack/Makefile
@@ -4,14 +4,13 @@
PORTNAME= laspack
PORTVERSION= 1.12.2
CATEGORIES= math
-MASTER_SITES= NL
-MASTER_SITE_SUBDIR= linalg
+MASTER_SITES= NL/linalg
DISTNAME= ${PORTNAME}
-EXTRACT_SUFX= .tgz
MAINTAINER= bf@FreeBSD.org
COMMENT= Package for solving large sparse systems of linear equations
+USES= tar:tgz
WRKSRC= ${WRKDIR}/${PORTNAME}
MAKEFILE= makefile
MAKE_ARGS= HOME=${STAGEDIR}${PREFIX}
diff --git a/math/ldouble/Makefile b/math/ldouble/Makefile
index 88db7b1..336b31e 100644
--- a/math/ldouble/Makefile
+++ b/math/ldouble/Makefile
@@ -5,9 +5,8 @@ PORTNAME= ldouble
PORTVERSION= 0.1
PORTREVISION= 2
CATEGORIES= math
-MASTER_SITES= ${MASTER_SITE_LOCAL}
+MASTER_SITES= LOCAL/ahze
# http://www.moshier.net/
-MASTER_SITE_SUBDIR= ahze
DISTFILES= ${LDOUBLE_DISTFILE}
MAINTAINER= bf@FreeBSD.org
diff --git a/math/libjbigi/Makefile b/math/libjbigi/Makefile
index 0e49df67..43fc347 100644
--- a/math/libjbigi/Makefile
+++ b/math/libjbigi/Makefile
@@ -5,7 +5,7 @@ PORTNAME= libjbigi
PORTVERSION= 0.8.7
CATEGORIES= math java
MASTER_SITES= http://mirror.i2p2.de/ \
- ${MASTER_SITE_GOOGLE_CODE}
+ GOOGLE_CODE
DISTNAME= i2psource_${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
diff --git a/math/lrng/Makefile b/math/lrng/Makefile
index 1dc9f08..bde1024 100644
--- a/math/lrng/Makefile
+++ b/math/lrng/Makefile
@@ -4,9 +4,9 @@
PORTNAME= lrng
PORTVERSION= 20130314
CATEGORIES= math
-MASTER_SITES= http://www.iro.umontreal.ca/%SUBDIR%/:1,2 \
- ${MASTER_SITE_LOCAL:S|%SUBDIR%/$|bf/${PORTNAME}/${PORTVERSION}/:1,2|}
-MASTER_SITE_SUBDIR= ~simardr/rng/:1 ~lecuyer/myftp/papers/:2
+MASTER_SITES= http://www.iro.umontreal.ca/~simardr/rng/:1 \
+ http://www.iro.umontreal.ca/~lecuyer/myftp/papers/:2 \
+ LOCAL/bf/${PORTNAME}/${PORTVERSION}/:1,2
DISTFILES= ex1.c:1 lfsr258.c:1 lfsr113.c:1 WELL1024a.h:1 WELL19937a.h:1 WELL512a.h:1 \
WELL44497a.h:1 WELL19937a.c:1 WELL1024a.c:1 WELL512a.c:1 WELL44497a.c:1 \
MRG63k3a.c:1 MRG32k3a.c:1 MRG32k5a.c:1 MRG63k3a.h:1 MRG32k5a.h:1 MRG32k3a.h:1 \
diff --git a/math/miracl/Makefile b/math/miracl/Makefile
index d53e488..6c1a24a 100644
--- a/math/miracl/Makefile
+++ b/math/miracl/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 5.6
PORTEPOCH= 1
CATEGORIES= math
MASTER_SITES= http://mirror.shatow.net/freebsd/${PORTNAME}/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= jase
+ LOCAL/jase
MAINTAINER= bdrewery@FreeBSD.org
COMMENT= Multiprecision Integer and Rational Arithmetic C/C++ Library
diff --git a/math/msieve/Makefile b/math/msieve/Makefile
index ad5ee49..29aebb8 100644
--- a/math/msieve/Makefile
+++ b/math/msieve/Makefile
@@ -5,9 +5,7 @@ PORTNAME= msieve
PORTVERSION= 1.51
PORTREVISION= 1
CATEGORIES= math
-MASTER_SITES= SF
-MASTER_SITE_SUBDIR= \
- ${PORTNAME}/${PORTNAME}/${PORTNAME:C/^m/M/}%20v${PORTVERSION}
+MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME:C/^m/M/}%20v${PORTVERSION}
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//}
MAINTAINER= bf@FreeBSD.org
diff --git a/math/ngraph/Makefile b/math/ngraph/Makefile
index b1f2b72..87c4ca5 100644
--- a/math/ngraph/Makefile
+++ b/math/ngraph/Makefile
@@ -6,7 +6,7 @@ PORTVERSION= 6.3.51
PORTREVISION= 1
CATEGORIES= math
MASTER_SITES= http://www2e.biglobe.ne.jp/~isizaka/bin/ \
- ${MASTER_SITE_PORTS_JP}
+ PORTS_JP
DISTNAME= Ngraph-${PORTVERSION}-src
MAINTAINER= sanpei@FreeBSD.org
diff --git a/math/octave/Makefile b/math/octave/Makefile
index 1d637a7..0c2f8d6 100644
--- a/math/octave/Makefile
+++ b/math/octave/Makefile
@@ -5,8 +5,7 @@ PORTNAME= octave
PORTVERSION= 3.8.2
PORTREVISION= 1
CATEGORIES= math
-MASTER_SITES= ${MASTER_SITE_GNU}
-MASTER_SITE_SUBDIR= octave
+MASTER_SITES= GNU
MAINTAINER= maho@FreeBSD.org
COMMENT= High-level interactive language for numerical computations
diff --git a/math/oleo/Makefile b/math/oleo/Makefile
index d2924e1..0dc11cf 100644
--- a/math/oleo/Makefile
+++ b/math/oleo/Makefile
@@ -5,8 +5,7 @@ PORTNAME= oleo
PORTVERSION= 1.99.16
PORTREVISION= 8
CATEGORIES= math
-MASTER_SITES= ${MASTER_SITE_GNU}
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= GNU
MAINTAINER= ports@FreeBSD.org
COMMENT= The GNU spreadsheet for X11 and terminals
diff --git a/math/p5-Algorithm-Munkres/Makefile b/math/p5-Algorithm-Munkres/Makefile
index a944b743..e0c71b1 100644
--- a/math/p5-Algorithm-Munkres/Makefile
+++ b/math/p5-Algorithm-Munkres/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 0.08
PORTREVISION= 1
CATEGORIES= math perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Algorithm
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
diff --git a/math/p5-Geo-Coordinates-UTM/Makefile b/math/p5-Geo-Coordinates-UTM/Makefile
index 3224dde..52c8370 100644
--- a/math/p5-Geo-Coordinates-UTM/Makefile
+++ b/math/p5-Geo-Coordinates-UTM/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 0.11
PORTREVISION= 1
CATEGORIES= math perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Geo
PKGNAMEPREFIX= p5-
MAINTAINER= tobez@FreeBSD.org
diff --git a/math/p5-Math-Polynomial-Solve/Makefile b/math/p5-Math-Polynomial-Solve/Makefile
index 82412fc..c145a91 100644
--- a/math/p5-Math-Polynomial-Solve/Makefile
+++ b/math/p5-Math-Polynomial-Solve/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 2.70
PORTREVISION= 1
CATEGORIES= math perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Math
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
diff --git a/math/p5-Set-IntSpan-Fast-XS/Makefile b/math/p5-Set-IntSpan-Fast-XS/Makefile
index cf99123..f9b0416 100644
--- a/math/p5-Set-IntSpan-Fast-XS/Makefile
+++ b/math/p5-Set-IntSpan-Fast-XS/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 0.05
PORTREVISION= 1
CATEGORIES= math perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Set
PKGNAMEPREFIX= p5-
MAINTAINER= tobez@FreeBSD.org
diff --git a/math/p5-Statistics-Basic/Makefile b/math/p5-Statistics-Basic/Makefile
index 38c3fef..703980d 100644
--- a/math/p5-Statistics-Basic/Makefile
+++ b/math/p5-Statistics-Basic/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 1.6607
PORTREVISION= 1
CATEGORIES= math perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Statistics
PKGNAMEPREFIX= p5-
MAINTAINER= tobez@FreeBSD.org
diff --git a/math/p5-Statistics-Forecast/Makefile b/math/p5-Statistics-Forecast/Makefile
index 09ccbfe..aa6e385 100644
--- a/math/p5-Statistics-Forecast/Makefile
+++ b/math/p5-Statistics-Forecast/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 0.3
PORTREVISION= 1
CATEGORIES= math perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Statistics
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
diff --git a/math/p5-Statistics-LineFit/Makefile b/math/p5-Statistics-LineFit/Makefile
index 4dd634c..e5bd7bb 100644
--- a/math/p5-Statistics-LineFit/Makefile
+++ b/math/p5-Statistics-LineFit/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 0.07
PORTREVISION= 1
CATEGORIES= math perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Statistics
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
diff --git a/math/p5-Statistics-TTest/Makefile b/math/p5-Statistics-TTest/Makefile
index 011672e..cd0e39c 100644
--- a/math/p5-Statistics-TTest/Makefile
+++ b/math/p5-Statistics-TTest/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 1.1.0
PORTREVISION= 3
CATEGORIES= math perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Statistics
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
diff --git a/math/py-gato/Makefile b/math/py-gato/Makefile
index 426ec74..6ad6c67 100644
--- a/math/py-gato/Makefile
+++ b/math/py-gato/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 1.02
PORTREVISION= 1
CATEGORIES= math python
MASTER_SITES= http://gato.sourceforge.net/Download/
-MASTER_SITE_SUBDIR= gato
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= Gato-${PORTVERSION}
diff --git a/math/py-gmpy/Makefile b/math/py-gmpy/Makefile
index cf00f16..1af2490 100644
--- a/math/py-gmpy/Makefile
+++ b/math/py-gmpy/Makefile
@@ -5,7 +5,7 @@ PORTNAME= gmpy
PORTVERSION= 1.17
PORTREVISION= 1
CATEGORIES= math python
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= wen@FreeBSD.org
diff --git a/math/py-theano/Makefile b/math/py-theano/Makefile
index 35c4e3b..7b2748a 100644
--- a/math/py-theano/Makefile
+++ b/math/py-theano/Makefile
@@ -4,8 +4,7 @@
PORTNAME= theano
PORTVERSION= 0.7.0
CATEGORIES= math python
-MASTER_SITES= CHEESESHOP
-MASTER_SITE_SUBDIR=source/T/Theano
+MASTER_SITES= CHEESESHOP/source/T/Theano
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= Theano-${DISTVERSION}
diff --git a/math/qrupdate/Makefile b/math/qrupdate/Makefile
index 44b2c6b..b3adf6f 100644
--- a/math/qrupdate/Makefile
+++ b/math/qrupdate/Makefile
@@ -5,8 +5,7 @@ PORTNAME= qrupdate
PORTVERSION= 1.1.2
PORTREVISION= 3
CATEGORIES= math
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= qrupdate/qrupdate/1.2
+MASTER_SITES= SOURCEFORGE/qrupdate/qrupdate/1.2
MAINTAINER= robertjenssen@ozemail.com.au
COMMENT= Fortran library for fast updates of QR and Cholesky decomposition
diff --git a/math/sc/Makefile b/math/sc/Makefile
index f9ad085..eaf0fa2 100644
--- a/math/sc/Makefile
+++ b/math/sc/Makefile
@@ -5,8 +5,7 @@ PORTNAME= sc
PORTVERSION= 7.16
PORTREVISION= 3
CATEGORIES= math
-MASTER_SITES= ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR= apps/financial/spreadsheet
+MASTER_SITES= SUNSITE/apps/financial/spreadsheet
MAINTAINER= johans@FreeBSD.org
COMMENT= Curses-based spreadsheet program
diff --git a/math/scalapack/Makefile b/math/scalapack/Makefile
index 377085b..8bb5c39 100644
--- a/math/scalapack/Makefile
+++ b/math/scalapack/Makefile
@@ -5,8 +5,7 @@ PORTNAME= scalapack
PORTVERSION= 2.0.2
PORTREVISION= 6
CATEGORIES= math
-MASTER_SITES= ${MASTER_SITE_NETLIB}
-MASTER_SITE_SUBDIR=${PORTNAME}
+MASTER_SITES= NL
DISTFILES= scalapack-${PORTVERSION}.tgz manpages.tgz
DIST_SUBDIR= scalapack
EXTRACT_ONLY= scalapack-${PORTVERSION}.tgz manpages.tgz
diff --git a/math/slatec/Makefile b/math/slatec/Makefile
index 86f896d..10afe9b 100644
--- a/math/slatec/Makefile
+++ b/math/slatec/Makefile
@@ -5,8 +5,7 @@ PORTNAME= slatec
PORTVERSION= 4.1
PORTREVISION= 4
CATEGORIES= math
-MASTER_SITES= NL:slatec,blas
-MASTER_SITE_SUBDIR= slatec/:slatec blas/:blas
+MASTER_SITES= NL/slatec/:slatec NL/blas/:blas
# Get d1mach.f, i1mach.f, r1mach.f from BLAS, rather than from Slatec:
# See Netlib FAQ #2.17: http://netlib.org/misc/faq.html#2.17
DISTFILES= guide:slatec slatec_chk.tgz:slatec slatec_src.tgz:slatec \
diff --git a/math/slgrace/Makefile b/math/slgrace/Makefile
index 3429c1d..896ef0e 100644
--- a/math/slgrace/Makefile
+++ b/math/slgrace/Makefile
@@ -6,8 +6,7 @@ PORTREVISION= 7
CATEGORIES= math devel
MASTER_SITES= ftp://space.mit.edu/pub/davis/slang/v${SLANG_VER}/modules/grace/ \
ftp://ftp.fu-berlin.de/pub/unix/misc/slang/v${SLANG_VER}/modules/grace/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= garga/slgrace/
+ LOCAL/garga/slgrace
MAINTAINER= garga@FreeBSD.org
COMMENT= SLang module to plot graphs with grace
diff --git a/math/solitaire/Makefile b/math/solitaire/Makefile
index 44a98e9..c819c7a 100644
--- a/math/solitaire/Makefile
+++ b/math/solitaire/Makefile
@@ -5,8 +5,7 @@ PORTNAME= solitaire
PORTVERSION= 19980817
PORTREVISION= 1
CATEGORIES= math
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= dd
+MASTER_SITES= LOCAL/dd
DISTFILES= sol.pl sol-test.txt
MAINTAINER= ports@FreeBSD.org
diff --git a/math/units/Makefile b/math/units/Makefile
index db29176..368b45c 100644
--- a/math/units/Makefile
+++ b/math/units/Makefile
@@ -4,8 +4,7 @@
PORTNAME= units
PORTVERSION= 2.11
CATEGORIES= math
-MASTER_SITES= ${MASTER_SITE_GNU}
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= GNU
MAINTAINER= jharris@widomaker.com
COMMENT= Unit conversion and calculation
diff --git a/math/wxMaxima/Makefile b/math/wxMaxima/Makefile
index 8827ec9..cb446e3 100644
--- a/math/wxMaxima/Makefile
+++ b/math/wxMaxima/Makefile
@@ -5,8 +5,7 @@ PORTNAME= wxMaxima
PORTVERSION= 14.12.1
PORTREVISION= 1
CATEGORIES= math
-MASTER_SITES= SF
-MASTER_SITE_SUBDIR= ${PORTNAME:tl}/${PORTNAME}/${PORTVERSION}
+MASTER_SITES= SF/${PORTNAME:tl}/${PORTNAME}/${PORTVERSION}
DISTFILES= ${PORTNAME:tl}-${PORTVERSION}.tar.gz
MAINTAINER= nivit@FreeBSD.org
diff --git a/math/xldlas/Makefile b/math/xldlas/Makefile
index 57f642c..75a9037 100644
--- a/math/xldlas/Makefile
+++ b/math/xldlas/Makefile
@@ -5,8 +5,7 @@ PORTNAME= xldlas
PORTVERSION= 0.85
PORTREVISION= 8
CATEGORIES= math
-MASTER_SITES= ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR= apps/graphics/visualization
+MASTER_SITES= SUNSITE/apps/graphics/visualization
EXTRACT_SUFX= -source.tgz
MAINTAINER= ports@FreeBSD.org
diff --git a/misc/amfm/Makefile b/misc/amfm/Makefile
index ae435de..13ce733 100644
--- a/misc/amfm/Makefile
+++ b/misc/amfm/Makefile
@@ -5,8 +5,7 @@ PORTNAME= amfm
PORTVERSION= 1.0
CATEGORIES= misc
MASTER_SITES= http://github.com/ikegam/amfm/raw/9679aa06eead7ed3571480e892f426828e17e361/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= sanpei
+ LOCAL/sanpei
DISTNAME= amfm
EXTRACT_SUFX= .c
diff --git a/misc/asr-manpages/Makefile b/misc/asr-manpages/Makefile
index 3324e2e..2129699 100644
--- a/misc/asr-manpages/Makefile
+++ b/misc/asr-manpages/Makefile
@@ -4,8 +4,7 @@
PORTNAME= asr-manpages
PORTVERSION= 20000406
CATEGORIES= misc
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= fjoe
+MASTER_SITES= LOCAL/fjoe
DISTNAME= asr.pages
MAINTAINER= fjoe@FreeBSD.org
diff --git a/misc/bbjd/Makefile b/misc/bbjd/Makefile
index 044056b..6e10cbd 100644
--- a/misc/bbjd/Makefile
+++ b/misc/bbjd/Makefile
@@ -5,8 +5,7 @@ PORTNAME= bbjd
PORTVERSION= 1.01
PORTREVISION= 1
CATEGORIES= misc
-MASTER_SITES= SUNSITE
-MASTER_SITE_SUBDIR= games/strategy
+MASTER_SITES= SUNSITE/games/strategy
MAINTAINER= demon@FreeBSD.org
COMMENT= Beat the blackjack dealer
diff --git a/misc/buffer/Makefile b/misc/buffer/Makefile
index 8406075..f589fbf 100644
--- a/misc/buffer/Makefile
+++ b/misc/buffer/Makefile
@@ -4,14 +4,13 @@
PORTNAME= buffer
PORTVERSION= 1.19
CATEGORIES= misc
-MASTER_SITES= ${MASTER_SITE_GENTOO} \
+MASTER_SITES= GENTOO \
http://www.mondorescue.org/download/MondoCD/TGZS/
-MASTER_SITE_SUBDIR= distfiles
-EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Buffer sporadic I/O for faster tape and pipe throughput
+USES= tar:tgz
PLIST_FILES= bin/buffer \
man/man1/buffer.1.gz
diff --git a/misc/chef/Makefile b/misc/chef/Makefile
index 3ed68dd..cdd8367 100644
--- a/misc/chef/Makefile
+++ b/misc/chef/Makefile
@@ -4,16 +4,15 @@ PORTNAME= chef
PORTVERSION= 19930426
CATEGORIES= misc
MASTER_SITES= http://mysite.verizon.net/ebrowne72/chef/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= brooks
+ LOCAL/brooks
DISTNAME= bork
-EXTRACT_SUFX= .tar.Z
MAINTAINER= brooks@FreeBSD.org
COMMENT= Feelter thet cunferts Ingleesh text tu Muck Cheenese-a
CONFLICTS= filters-* talkfilters-*
PLIST_FILES= bin/chef
+USES= tar:Z
WRKSRC= ${WRKDIR}/bork
diff --git a/misc/compat10x/Makefile b/misc/compat10x/Makefile
index eae7a15..9737691 100644
--- a/misc/compat10x/Makefile
+++ b/misc/compat10x/Makefile
@@ -3,8 +3,7 @@
PORTNAME= compat10x
PORTVERSION= 10.0.1000510.201410
CATEGORIES= misc
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= garga/compat
+MASTER_SITES= LOCAL/garga/compat
PKGNAMESUFFIX= -${ARCH}
DISTNAME= ${PORTNAME}-${ARCH}-${PORTVERSION}
diff --git a/misc/compat4x/Makefile b/misc/compat4x/Makefile
index ff020ad..f578844 100644
--- a/misc/compat4x/Makefile
+++ b/misc/compat4x/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= ${COMPAT4X_PORTVERSION}
PORTREVISION= 10
CATEGORIES= misc
MASTER_SITES= ${COMPAT4X_MASTER_SITES}
-MASTER_SITE_SUBDIR= ${COMPAT4X_MASTER_SITE_SUBDIR}
PKGNAMESUFFIX= -${COMPAT4X_ARCH}
DISTFILES= ${COMPAT4X_DISTFILES}
DIST_SUBDIR= ${COMPAT4X_ARCH}/${PORTVERSION}
@@ -71,12 +70,10 @@ FREEBSD4_LIBS= libc_r.so.4 libperl.so.3
.if defined(COMPAT4X_OSRELDATE) && !empty(COMPAT4X_OSRELDATE)
COMPAT4X_PORTVERSION= ${COMPAT4X_OSVERSION}.${COMPAT4X_OSRELDATE}
-COMPAT4X_MASTER_SITES= ftp://current.FreeBSD.org/pub/FreeBSD/%SUBDIR%/
-COMPAT4X_MASTER_SITE_SUBDIR= snapshots/${COMPAT4X_ARCH}/${COMPAT4X_OSVERSION}-${COMPAT4X_OSBRANCH}-${COMPAT4X_OSRELDATE}-JPSNAP/${PORTNAME}
+COMPAT4X_MASTER_SITES= ftp://current.FreeBSD.org/pub/FreeBSD/snapshots/${COMPAT4X_ARCH}/${COMPAT4X_OSVERSION}-${COMPAT4X_OSBRANCH}-${COMPAT4X_OSRELDATE}-JPSNAP/${PORTNAME}/
.else
COMPAT4X_PORTVERSION= ${COMPAT4X_OSVERSION}
-COMPAT4X_MASTER_SITES= ${MASTER_SITE_LOCAL}
-COMPAT4X_MASTER_SITE_SUBDIR= kris/${COMPAT4X_ARCH}
+COMPAT4X_MASTER_SITES= LOCAL/kris/${COMPAT4X_ARCH}
.endif
do-extract:
diff --git a/misc/compat5x/Makefile b/misc/compat5x/Makefile
index 2ca0aab..5bea856 100644
--- a/misc/compat5x/Makefile
+++ b/misc/compat5x/Makefile
@@ -9,8 +9,7 @@ PORTNAME= compat5x
PORTVERSION= 5.4.0.8.1
PORTREVISION= 1
CATEGORIES= misc
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR=amdmi3/compat5x
+MASTER_SITES= LOCAL/amdmi3/compat5x
PKGNAMESUFFIX= -${ARCH}
DISTNAME= ${PORTNAME}-${ARCH}-${PORTVERSION}
diff --git a/misc/compat6x/Makefile b/misc/compat6x/Makefile
index fb51def..909574c 100644
--- a/misc/compat6x/Makefile
+++ b/misc/compat6x/Makefile
@@ -5,9 +5,8 @@ PORTNAME= compat6x
PORTVERSION= 6.4.604000.200810
PORTREVISION= 3
CATEGORIES= misc
-MASTER_SITES= ${MASTER_SITE_LOCAL} \
- http://people.freebsd.org/~${MASTER_SITE_SUBDIR}/
-MASTER_SITE_SUBDIR= mnag/compat6x
+MASTER_SITES= LOCAL/mnag/compat6x \
+ http://people.freebsd.org/~mnag/compat6x/
PKGNAMESUFFIX= -${ARCH}
DISTNAME= ${PORTNAME}-${ARCH}-${PORTVERSION}
diff --git a/misc/compat7x/Makefile b/misc/compat7x/Makefile
index 8868f0a..b32bb7e 100644
--- a/misc/compat7x/Makefile
+++ b/misc/compat7x/Makefile
@@ -3,8 +3,7 @@
PORTNAME= compat7x
PORTVERSION= 7.4.704000.201310.1
CATEGORIES= misc
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= garga/compat
+MASTER_SITES= LOCAL/garga/compat
PKGNAMESUFFIX= -${ARCH}
DISTNAME= ${PORTNAME}-${ARCH}-${PORTVERSION}
diff --git a/misc/compat8x/Makefile b/misc/compat8x/Makefile
index cbe2c0b..f0c96e7 100644
--- a/misc/compat8x/Makefile
+++ b/misc/compat8x/Makefile
@@ -4,8 +4,7 @@ PORTNAME= compat8x
PORTVERSION= 8.4.804000.201310
PORTREVISION= 2
CATEGORIES= misc
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= garga/compat
+MASTER_SITES= LOCAL/garga/compat
PKGNAMESUFFIX= -${ARCH}
DISTNAME= ${PORTNAME}-${ARCH}-${PORTVERSION}
diff --git a/misc/compat9x/Makefile b/misc/compat9x/Makefile
index 34286f3..24f94df 100644
--- a/misc/compat9x/Makefile
+++ b/misc/compat9x/Makefile
@@ -3,8 +3,7 @@
PORTNAME= compat9x
PORTVERSION= 9.2.902000.201310
CATEGORIES= misc
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= garga/compat
+MASTER_SITES= LOCAL/garga/compat
PKGNAMESUFFIX= -${ARCH}
DISTNAME= ${PORTNAME}-${ARCH}-${PORTVERSION}
diff --git a/misc/dahdi-kmod/Makefile b/misc/dahdi-kmod/Makefile
index 27bae8d..712b70e 100644
--- a/misc/dahdi-kmod/Makefile
+++ b/misc/dahdi-kmod/Makefile
@@ -5,9 +5,8 @@ PORTNAME= dahdi-kmod
PORTVERSION= ${DAHDI_VERSION:S/-//g}
PORTREVISION= 7
CATEGORIES= misc
-MASTER_SITES= ${MASTER_SITE_LOCAL}\
+MASTER_SITES= LOCAL/fjoe \
http://downloads.digium.com/pub/telephony/firmware/releases/:firmware
-MASTER_SITE_SUBDIR= fjoe
DISTNAME= dahdi-freebsd-complete-${DAHDI_VERSION}+${DAHDI_TOOLS_VERSION}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}\
oslec-linux-${OSLEC_VERSION}${EXTRACT_SUFX}\
diff --git a/misc/dahdi-kmod26/Makefile b/misc/dahdi-kmod26/Makefile
index e00e7b9..3103686 100644
--- a/misc/dahdi-kmod26/Makefile
+++ b/misc/dahdi-kmod26/Makefile
@@ -5,10 +5,9 @@ PORTNAME= dahdi-kmod26
PORTVERSION= ${DAHDI_VERSION:S/-/./g}
PORTREVISION= 1
CATEGORIES= misc
-MASTER_SITES= ${MASTER_SITE_LOCAL}\
+MASTER_SITES= LOCAL/fjoe \
http://people.freebsd.org/~fjoe/dahdi/\
http://downloads.digium.com/pub/telephony/firmware/releases/:firmware
-MASTER_SITE_SUBDIR= fjoe
DISTNAME= dahdi-freebsd-${DAHDI_VERSION}
DISTFILES= ${DISTNAME}.tar.bz2\
oslec-linux-${OSLEC_VERSION}${EXTRACT_SUFX}\
diff --git a/misc/dahdi/Makefile b/misc/dahdi/Makefile
index 874a0a9..c069feb 100644
--- a/misc/dahdi/Makefile
+++ b/misc/dahdi/Makefile
@@ -5,8 +5,7 @@ PORTNAME= dahdi
PORTVERSION= ${DAHDI_VERSION:S/-//g}
PORTREVISION= 6
CATEGORIES= misc
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= fjoe
+MASTER_SITES= LOCAL/fjoe
DISTNAME= ${PORTNAME}-freebsd-complete-${DAHDI_VERSION}+${DAHDI_TOOLS_VERSION}
MAINTAINER= fjoe@FreeBSD.org
diff --git a/misc/diction/Makefile b/misc/diction/Makefile
index 4b1f180..062d9be 100644
--- a/misc/diction/Makefile
+++ b/misc/diction/Makefile
@@ -5,8 +5,7 @@ PORTNAME= diction
PORTVERSION= 1.11
PORTREVISION= 1
CATEGORIES= misc
-MASTER_SITES= ${MASTER_SITE_GNU}
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= GNU
MAINTAINER= mva@FreeBSD.org
COMMENT= GNU diction and style
diff --git a/misc/dnetc/Makefile b/misc/dnetc/Makefile
index 05e4d9e..783f031 100644
--- a/misc/dnetc/Makefile
+++ b/misc/dnetc/Makefile
@@ -6,9 +6,8 @@ PORTVERSION= ${VERSION}
PORTREVISION= ${REVISION}
PORTEPOCH= 1
CATEGORIES= misc
-MASTER_SITES= http://http.distributed.net/pub/dcti/%SUBDIR%/ \
- ftp://ftp.distributed.net/pub/dcti/%SUBDIR%/
-MASTER_SITE_SUBDIR= ${PORTVERSION:S/^/v/:R}
+MASTER_SITES= http://http.distributed.net/pub/dcti/v${PORTVERSION:R}/ \
+ ftp://ftp.distributed.net/pub/dcti/v${PORTVERSION:R}/
# This is architecture dependent
DISTNAME= dnetc${PORTVERSION:E}-freebsd-${ARCH:S/i386/x86/}-elf
diff --git a/misc/dphys-config/Makefile b/misc/dphys-config/Makefile
index 1dee040..f46f9bd 100644
--- a/misc/dphys-config/Makefile
+++ b/misc/dphys-config/Makefile
@@ -4,7 +4,7 @@
PORTNAME= dphys-config
PORTVERSION= 20100216
CATEGORIES= misc
-MASTER_SITES= ${MASTER_SITE_DEBIAN_POOL}
+MASTER_SITES= DEBIAN_POOL
DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
MAINTAINER= ports@FreeBSD.org
diff --git a/misc/estic/Makefile b/misc/estic/Makefile
index f565602..184a060 100644
--- a/misc/estic/Makefile
+++ b/misc/estic/Makefile
@@ -5,8 +5,7 @@ PORTNAME= estic
PORTVERSION= 1.61
PORTREVISION= 1
CATEGORIES= misc comms
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= dinoex
+MASTER_SITES= LOCAL/dinoex
PKGNAMESUFFIX?= ${NOX11_SUFFIX}${PKGNAMESUFFIX2}
DISTFILES= estic-1.60-sources.zip estic-1.61-patch-from-1.60.zip
diff --git a/misc/figlet/Makefile b/misc/figlet/Makefile
index 9d63bf2..2dfe2c2 100644
--- a/misc/figlet/Makefile
+++ b/misc/figlet/Makefile
@@ -5,8 +5,7 @@ PORTNAME= figlet
PORTVERSION= 2.2.5
CATEGORIES= misc
MASTER_SITES= ftp://ftp.figlet.org/pub/figlet/program/unix/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= obrien
+ LOCAL/obrien
MAINTAINER= obrien@FreeBSD.org
COMMENT= SysV banner-like program prints strings in large fancy ASCII art
diff --git a/misc/findutils/Makefile b/misc/findutils/Makefile
index e3f9b5e..e67a555 100644
--- a/misc/findutils/Makefile
+++ b/misc/findutils/Makefile
@@ -5,8 +5,7 @@ PORTNAME= findutils
PORTVERSION= 4.5.14
PORTREVISION= 1
CATEGORIES= misc
-MASTER_SITES= ${MASTER_SITE_GNU_ALPHA}
-MASTER_SITE_SUBDIR= findutils
+MASTER_SITES= GNU_ALPHA
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}${EXTRACT_SUFX}.sig
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
diff --git a/misc/fortune-mod-bofh/Makefile b/misc/fortune-mod-bofh/Makefile
index c3100d6..76d6428 100644
--- a/misc/fortune-mod-bofh/Makefile
+++ b/misc/fortune-mod-bofh/Makefile
@@ -5,10 +5,9 @@ PORTNAME= fortune-mod-bofh
PORTVERSION= 2.0
PORTREVISION= 3
CATEGORIES= misc
-MASTER_SITES= ${MASTER_SITE_LOCAL:S/$/:freebsd/} \
- http://www.irq.org/:original
-MASTER_SITE_SUBDIR= flz/${PORTNAME}/:freebsd
-DISTFILES= bofh-fortune-mod${PORTVERSION}${EXTRACT_SUFX}:original,freebsd
+MASTER_SITES= LOCAL/flz/${PORTNAME} \
+ http://www.irq.org/
+DISTFILES= bofh-fortune-mod${PORTVERSION}${EXTRACT_SUFX}
MAINTAINER= onatan@gmail.com
COMMENT= Compilation of excuses from the "Bastard Operator From Hell"
diff --git a/misc/gnuit/Makefile b/misc/gnuit/Makefile
index a793c2a..82abb4e 100644
--- a/misc/gnuit/Makefile
+++ b/misc/gnuit/Makefile
@@ -4,8 +4,7 @@
PORTNAME= gnuit
PORTVERSION= 4.9.5
CATEGORIES= misc
-MASTER_SITES= ${MASTER_SITE_GNU}
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= GNU
MAINTAINER= gerald@FreeBSD.org
COMMENT= GNU Interactive Tools - a file system browser for UNIX systems
diff --git a/misc/gnuls/Makefile b/misc/gnuls/Makefile
index 1615248..b78d01c 100644
--- a/misc/gnuls/Makefile
+++ b/misc/gnuls/Makefile
@@ -4,8 +4,7 @@
PORTNAME= gnuls
PORTVERSION= 8.22
CATEGORIES= misc
-MASTER_SITES= ${MASTER_SITE_GNU}
-MASTER_SITE_SUBDIR= coreutils
+MASTER_SITES= GNU/coreutils
DISTNAME= coreutils-${PORTVERSION}
MAINTAINER= bmc@clapper.org
diff --git a/misc/gnustep-examples/Makefile b/misc/gnustep-examples/Makefile
index 3ea48cc..c3658a8 100644
--- a/misc/gnustep-examples/Makefile
+++ b/misc/gnustep-examples/Makefile
@@ -4,8 +4,7 @@ PORTNAME= gnustep-examples
PORTVERSION= 1.4.0
PORTREVISION= 3
CATEGORIES= misc gnustep
-MASTER_SITES= ${MASTER_SITE_GNUSTEP}
-MASTER_SITE_SUBDIR= usr-apps
+MASTER_SITES= GNUSTEP/usr-apps
MAINTAINER= ports@FreeBSD.org
COMMENT= GNUstep example applications
diff --git a/misc/gregexp/Makefile b/misc/gregexp/Makefile
index 1afb1a5..79b448b 100644
--- a/misc/gregexp/Makefile
+++ b/misc/gregexp/Makefile
@@ -4,8 +4,7 @@
PORTNAME= gregexp
PORTVERSION= 0.4
CATEGORIES= misc
-MASTER_SITES= http://dentrassi.de/download/gregexp/%SUBDIR%/
-MASTER_SITE_SUBDIR= ${PORTVERSION}
+MASTER_SITES= http://dentrassi.de/download/gregexp/${PORTVERSION}/
MAINTAINER= ports@FreeBSD.org
COMMENT= Graphical regular expression explorer
diff --git a/misc/hello/Makefile b/misc/hello/Makefile
index b98705b..399aff7 100644
--- a/misc/hello/Makefile
+++ b/misc/hello/Makefile
@@ -4,8 +4,7 @@
PORTNAME= hello
PORTVERSION= 2.9
CATEGORIES= misc
-MASTER_SITES= ${MASTER_SITE_GNU}
-MASTER_SITE_SUBDIR= hello
+MASTER_SITES= GNU
MAINTAINER= dhn@FreeBSD.org
COMMENT= Utility for saying hello to the world and reading email
diff --git a/misc/histring/Makefile b/misc/histring/Makefile
index 7ce55ae..603ef7d 100644
--- a/misc/histring/Makefile
+++ b/misc/histring/Makefile
@@ -5,8 +5,7 @@ PORTNAME= histring
PORTVERSION= 1.1.0
CATEGORIES= misc
MASTER_SITES= http://ess4.engr.uvic.ca/proj/histring/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= roam/misc
+ LOCAL/roam/misc
MAINTAINER= ports@FreeBSD.org
COMMENT= Highlight strings using the ANSI terminal escape sequences
diff --git a/misc/imerge/Makefile b/misc/imerge/Makefile
index 42cdbfc..41879de 100644
--- a/misc/imerge/Makefile
+++ b/misc/imerge/Makefile
@@ -5,8 +5,7 @@ PORTNAME= imerge
PORTVERSION= 0.2.4
CATEGORIES= misc
MASTER_SITES= ftp://ftp.iDaemons.org/pub/distfiles/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= knu
+ LOCAL/knu
MAINTAINER= knu@FreeBSD.org
COMMENT= Tool to help merge one file to another interactively
diff --git a/misc/inplace/Makefile b/misc/inplace/Makefile
index 0c3b12b..61222fe 100644
--- a/misc/inplace/Makefile
+++ b/misc/inplace/Makefile
@@ -5,8 +5,7 @@ PORTNAME= inplace
PORTVERSION= 1.2.3
CATEGORIES= misc
MASTER_SITES= ftp://ftp.iDaemons.org/pub/distfiles/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= knu
+ LOCAL/knu
MAINTAINER= knu@FreeBSD.org
COMMENT= Tool to edit files in-place through given filter commands
diff --git a/misc/ipbt/Makefile b/misc/ipbt/Makefile
index 2fd0b01..5a46db6 100644
--- a/misc/ipbt/Makefile
+++ b/misc/ipbt/Makefile
@@ -5,8 +5,7 @@ PORTNAME= ipbt
DISTVERSION= r8765
CATEGORIES= misc
MASTER_SITES= http://www.chiark.greenend.org.uk/~sgtatham/ipbt/ \
- LOCAL
-MASTER_SITE_SUBDIR= uqs
+ LOCAL/uqs
MAINTAINER= uqs@FreeBSD.org
COMMENT= High-tech ttyrec player with improvements over ttyplay
diff --git a/misc/iselect/Makefile b/misc/iselect/Makefile
index 96a30ac..0c2a278 100644
--- a/misc/iselect/Makefile
+++ b/misc/iselect/Makefile
@@ -4,8 +4,7 @@
PORTNAME= iselect
PORTVERSION= 1.4.0
CATEGORIES= misc
-MASTER_SITES= OSSP
-MASTER_SITE_SUBDIR= tool/iselect
+MASTER_SITES= OSSP/tool/iselect
MAINTAINER= ports@FreeBSD.org
COMMENT= Interactive Selection Tool
diff --git a/misc/kde4-l10n/files/bsd.l10n.mk b/misc/kde4-l10n/files/bsd.l10n.mk
index e46ee60..7c6a7d5 100644
--- a/misc/kde4-l10n/files/bsd.l10n.mk
+++ b/misc/kde4-l10n/files/bsd.l10n.mk
@@ -1,5 +1,4 @@
-MASTER_SITES?= ${MASTER_SITE_KDE}
-MASTER_SITE_SUBDIR?= ${KDE4_BRANCH}/${PORTVERSION}/src/kde-l10n/
+MASTER_SITES?= KDE/${KDE4_BRANCH}/${PORTVERSION}/src/kde-l10n/
PKGNAMEPREFIX= ${KDE4_L10N:S/@/_/}-
DISTNAME= ${PORTNAME}-${KDE4_L10N}-${PORTVERSION}
DIST_SUBDIR?= KDE/${PORTVERSION}/kde-l10n
diff --git a/misc/mime-support/Makefile b/misc/mime-support/Makefile
index 087b58a..cfb7cc2 100644
--- a/misc/mime-support/Makefile
+++ b/misc/mime-support/Makefile
@@ -4,7 +4,7 @@
PORTNAME= mime-support
PORTVERSION= 3.58
CATEGORIES= misc
-MASTER_SITES= ${MASTER_SITE_DEBIAN_POOL}
+MASTER_SITES= DEBIAN_POOL
DISTNAME= ${PORTNAME}_${PORTVERSION:C/([0-9]*\.[0-9]*)\.(.*)/\1-\2/}
MAINTAINER= oliver@FreeBSD.org
diff --git a/misc/mmv/Makefile b/misc/mmv/Makefile
index 4df6e85..5bc4d25 100644
--- a/misc/mmv/Makefile
+++ b/misc/mmv/Makefile
@@ -4,7 +4,7 @@
PORTNAME= mmv
PORTVERSION= 1.01b.15
CATEGORIES= misc
-MASTER_SITES= ${MASTER_SITE_DEBIAN_POOL}
+MASTER_SITES= DEBIAN_POOL
DISTNAME= ${PORTNAME}_1.01b.orig
PATCH_SITES= ${MASTER_SITES}
diff --git a/misc/nsf/Makefile b/misc/nsf/Makefile
index 0b7130a..52c5a7e 100644
--- a/misc/nsf/Makefile
+++ b/misc/nsf/Makefile
@@ -4,8 +4,7 @@
PORTNAME= nsf
PORTVERSION= 1.0
CATEGORIES= misc
-MASTER_SITES= LOCAL
-MASTER_SITE_SUBDIR= will
+MASTER_SITES= LOCAL/will
MAINTAINER= ports@FreeBSD.org
COMMENT= NAKAMURA's Shell Form input
diff --git a/misc/openr2/Makefile b/misc/openr2/Makefile
index 468a909..b2dc0ca 100644
--- a/misc/openr2/Makefile
+++ b/misc/openr2/Makefile
@@ -5,7 +5,7 @@ PORTNAME= openr2
PORTVERSION= 1.3.3
PORTREVISION= 0
CATEGORIES= misc
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
MAINTAINER= fjoe@FreeBSD.org
COMMENT= MFC/R2 call setup library
diff --git a/misc/ossp-uuid/Makefile b/misc/ossp-uuid/Makefile
index 8b9cc31..40a42cd 100644
--- a/misc/ossp-uuid/Makefile
+++ b/misc/ossp-uuid/Makefile
@@ -5,8 +5,7 @@ PORTNAME= uuid
PORTVERSION= 1.6.2
PORTREVISION= 7
CATEGORIES= misc devel
-MASTER_SITES= ${MASTER_SITE_OSSP}
-MASTER_SITE_SUBDIR= lib/${PORTNAME}
+MASTER_SITES= OSSP/lib/${PORTNAME}
PKGNAMEPREFIX= ossp-
MAINTAINER= vd@FreeBSD.org
diff --git a/misc/p5-Locale-Msgcat/Makefile b/misc/p5-Locale-Msgcat/Makefile
index e01fce3..031b40d 100644
--- a/misc/p5-Locale-Msgcat/Makefile
+++ b/misc/p5-Locale-Msgcat/Makefile
@@ -5,8 +5,7 @@ PORTNAME= Msgcat
PORTVERSION= 1.03
PORTREVISION= 1
CATEGORIES= misc perl5
-MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Locale
+MASTER_SITES= CPAN/Locale
PKGNAMEPREFIX= p5-
MAINTAINER= bofh@FreeBSD.org
diff --git a/misc/pinfo/Makefile b/misc/pinfo/Makefile
index e513fd2..917940a 100644
--- a/misc/pinfo/Makefile
+++ b/misc/pinfo/Makefile
@@ -5,7 +5,7 @@ PORTNAME= pinfo
PORTVERSION= 0.6.10
PORTREVISION= 1
CATEGORIES= misc
-MASTER_SITES= GENTOO/distfiles \
+MASTER_SITES= GENTOO \
http://alioth.debian.org/frs/download.php/file/3351/
MAINTAINER= ports@FreeBSD.org
diff --git a/misc/py-yolk/Makefile b/misc/py-yolk/Makefile
index bc4dbc6..e0d3484 100644
--- a/misc/py-yolk/Makefile
+++ b/misc/py-yolk/Makefile
@@ -5,8 +5,7 @@ PORTNAME= yolk
PORTVERSION= 0.4.3
PORTREVISION= 0
CATEGORIES= misc python
-MASTER_SITES= ${MASTER_SITE_CHEESESHOP}
-MASTER_SITE_SUBDIR= source/y/${PORTNAME}
+MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= nivit@FreeBSD.org
diff --git a/misc/rtfm/Makefile b/misc/rtfm/Makefile
index 2aac0d7..af3ea57 100644
--- a/misc/rtfm/Makefile
+++ b/misc/rtfm/Makefile
@@ -4,8 +4,7 @@
PORTNAME= rtfm
PORTVERSION= 1.0
CATEGORIES= misc
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= chris
+MASTER_SITES= LOCAL/chris
MAINTAINER= chris@FreeBSD.org
COMMENT= FreeBSD documentation search mechanism
diff --git a/misc/ruby-progressbar/Makefile b/misc/ruby-progressbar/Makefile
index a66b7f5..dbafc5c 100644
--- a/misc/ruby-progressbar/Makefile
+++ b/misc/ruby-progressbar/Makefile
@@ -5,7 +5,7 @@ PORTNAME= progressbar
PORTVERSION= 0.9
CATEGORIES= misc ruby
MASTER_SITES= http://0xcc.net/ruby-progressbar/ \
- ${MASTER_SITE_LOCAL:S|%SUBDIR%|tota/progressbar|}
+ LOCAL/tota/progressbar
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
diff --git a/misc/shuffle/Makefile b/misc/shuffle/Makefile
index ee72db9..a7043bd 100644
--- a/misc/shuffle/Makefile
+++ b/misc/shuffle/Makefile
@@ -4,8 +4,7 @@
PORTNAME= shuffle
PORTVERSION= 20010603
CATEGORIES= misc
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= dd
+MASTER_SITES= LOCAL/dd
MAINTAINER= ports@FreeBSD.org
COMMENT= Produce random permutations
diff --git a/misc/sls/Makefile b/misc/sls/Makefile
index 8e8c3eb..5b39530 100644
--- a/misc/sls/Makefile
+++ b/misc/sls/Makefile
@@ -4,8 +4,7 @@
PORTNAME= sls
PORTVERSION= 1.00
CATEGORIES= misc
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= dannyboy
+MASTER_SITES= LOCAL/dannyboy
DISTNAME= ${PORTNAME}
MAINTAINER= sec@42.org
diff --git a/misc/tcb/Makefile b/misc/tcb/Makefile
index f8f65cf..1e2d633 100644
--- a/misc/tcb/Makefile
+++ b/misc/tcb/Makefile
@@ -5,8 +5,7 @@ PORTNAME= tcb
PORTVERSION= 1.4a
PORTREVISION= 1
CATEGORIES= misc
-MASTER_SITES= ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR= utils/file
+MASTER_SITES= SUNSITE/utils/file
MAINTAINER= ports@FreeBSD.org
COMMENT= File viewer for terminal
diff --git a/misc/team/Makefile b/misc/team/Makefile
index f0144f6..1a0e351 100644
--- a/misc/team/Makefile
+++ b/misc/team/Makefile
@@ -5,8 +5,7 @@ PORTNAME= team
PORTVERSION= 3.1
PORTREVISION= 2
CATEGORIES= misc
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= joerg
+MASTER_SITES= LOCAL/joerg
MAINTAINER= joerg@FreeBSD.org
COMMENT= Portable multi-buffered tape streaming utility
diff --git a/misc/unclutter/Makefile b/misc/unclutter/Makefile
index 836dde3..d99cadb 100644
--- a/misc/unclutter/Makefile
+++ b/misc/unclutter/Makefile
@@ -5,8 +5,7 @@ PORTNAME= unclutter
PORTVERSION= 8
PORTREVISION= 3
CATEGORIES= misc
-MASTER_SITES= ${MASTER_SITE_XCONTRIB}
-MASTER_SITE_SUBDIR= utilities
+MASTER_SITES= XCONTRIB/utilities
MAINTAINER= ports@FreeBSD.org
COMMENT= Remove idle cursor image from screen
diff --git a/misc/usbrh-libusb/Makefile b/misc/usbrh-libusb/Makefile
index 1269cc0..d58c108 100644
--- a/misc/usbrh-libusb/Makefile
+++ b/misc/usbrh-libusb/Makefile
@@ -5,8 +5,7 @@ PORTNAME= usbrh-libusb
PORTVERSION= 0.05
CATEGORIES= misc
MASTER_SITES= http://www.dd.iij4u.or.jp/~briareos/soft/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= sanpei
+ LOCAL/sanpei
DISTNAME= usbrh-${PORTVERSION}
MAINTAINER= sanpei@FreeBSD.org
diff --git a/misc/vera/Makefile b/misc/vera/Makefile
index b37aedc..d705bc4 100644
--- a/misc/vera/Makefile
+++ b/misc/vera/Makefile
@@ -4,8 +4,7 @@
PORTNAME= vera
PORTVERSION= 1.22
CATEGORIES= misc
-MASTER_SITES= ${MASTER_SITE_GNU}
-MASTER_SITE_SUBDIR= vera
+MASTER_SITES= GNU
MAINTAINER= demon@FreeBSD.org
COMMENT= Virtual Entity of Relevant Acronyms
diff --git a/misc/viz/Makefile b/misc/viz/Makefile
index 8ef3fef..79231ae 100644
--- a/misc/viz/Makefile
+++ b/misc/viz/Makefile
@@ -4,8 +4,7 @@
PORTNAME= viz
PORTVERSION= 1.1.1
CATEGORIES= misc
-MASTER_SITES= LOCAL
-MASTER_SITE_SUBDIR= fenner
+MASTER_SITES= LOCAL/fenner
MAINTAINER= ports@FreeBSD.org
COMMENT= Convert invisible (binary) characters to a visible form
diff --git a/misc/wmScoreBoard/Makefile b/misc/wmScoreBoard/Makefile
index d28365d..5602c1c 100644
--- a/misc/wmScoreBoard/Makefile
+++ b/misc/wmScoreBoard/Makefile
@@ -5,8 +5,7 @@ PORTNAME= wmScoreBoard
PORTVERSION= 0.30
PORTREVISION= 4
CATEGORIES= misc windowmaker
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= pat
+MASTER_SITES= LOCAL/pat
MAINTAINER= ports@FreeBSD.org
COMMENT= Window Maker dockapp that display game scores from excite
diff --git a/misc/wmwork/Makefile b/misc/wmwork/Makefile
index a6eb644..f73af45 100644
--- a/misc/wmwork/Makefile
+++ b/misc/wmwork/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 0.2.5
PORTREVISION= 3
CATEGORIES= misc windowmaker afterstep
MASTER_SITES= http://people.debian.org/~godisch/wmwork/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= xride
+ LOCAL/xride
MAINTAINER= xride@FreeBSD.org
COMMENT= Dockapp that keeps track of time you have spent on something
diff --git a/misc/xgas/Makefile b/misc/xgas/Makefile
index eaf7b10..e05c0d3 100644
--- a/misc/xgas/Makefile
+++ b/misc/xgas/Makefile
@@ -5,8 +5,7 @@ PORTNAME= xgas
PORTVERSION= 1.0
PORTREVISION= 2
CATEGORIES= misc
-MASTER_SITES= ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR= X11/demos
+MASTER_SITES= SUNSITE/X11/demos
DISTNAME= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
diff --git a/misc/xless/Makefile b/misc/xless/Makefile
index 76a71e5..92787a0 100644
--- a/misc/xless/Makefile
+++ b/misc/xless/Makefile
@@ -5,9 +5,8 @@ PORTNAME= xless
PORTVERSION= 1.7
PORTREVISION= 2
CATEGORIES= misc
-MASTER_SITES= ${MASTER_SITE_XCONTRIB} \
+MASTER_SITES= XCONTRIB/applications \
ftp://ftp.cs.berkeley.edu/ucb/people/dglo/xless/
-MASTER_SITE_SUBDIR= applications
MAINTAINER= ports@FreeBSD.org
COMMENT= X11-based viewer for text files
diff --git a/misc/xtar/Makefile b/misc/xtar/Makefile
index 8dfbeb6..f9f3e7e 100644
--- a/misc/xtar/Makefile
+++ b/misc/xtar/Makefile
@@ -5,7 +5,7 @@ PORTNAME= xtar
PORTVERSION= 1.4
PORTREVISION= 4
CATEGORIES= misc
-MASTER_SITES= MASTER_SITE_XCONTRIB/utilities
+MASTER_SITES= XCONTRIB/utilities
MAINTAINER= ports@FreeBSD.org
COMMENT= View and manipulate contents of a tar file
diff --git a/multimedia/ab25/Makefile b/multimedia/ab25/Makefile
index 061bf4f..b758dac 100644
--- a/multimedia/ab25/Makefile
+++ b/multimedia/ab25/Makefile
@@ -3,8 +3,7 @@
PORTNAME= ab25
PORTVERSION= 0.2.5
CATEGORIES= multimedia
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= hrs
+MASTER_SITES= LOCAL/hrs
MAINTAINER= ports@FreeBSD.org
COMMENT= Utility for ARIB STD-B25 ECM handling in MPEG2-TS stream
diff --git a/multimedia/assimp/Makefile b/multimedia/assimp/Makefile
index 19831c0..4735407 100644
--- a/multimedia/assimp/Makefile
+++ b/multimedia/assimp/Makefile
@@ -5,8 +5,7 @@ PORTNAME= assimp
PORTVERSION= 3.0
PORTREVISION= 5
CATEGORIES= multimedia
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTNAME}-3.0
+MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-3.0
DISTNAME= ${PORTNAME}--${PORTVERSION}.1270-source-only
MAINTAINER= yuri@tsoft.com
diff --git a/multimedia/avbin/Makefile b/multimedia/avbin/Makefile
index 55fa689..38fc3a5 100644
--- a/multimedia/avbin/Makefile
+++ b/multimedia/avbin/Makefile
@@ -5,8 +5,7 @@ PORTNAME= avbin
PORTVERSION= 7
PORTREVISION= 7
CATEGORIES= multimedia
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} \
- http://mirror.amdmi3.ru/distfiles/
+MASTER_SITES= GOOGLE_CODE http://mirror.amdmi3.ru/distfiles/
DISTNAME= ${PORTNAME}-src-${PORTVERSION}
MAINTAINER= amdmi3@FreeBSD.org
diff --git a/multimedia/bangarang/Makefile b/multimedia/bangarang/Makefile
index b1e7811..f97f363 100644
--- a/multimedia/bangarang/Makefile
+++ b/multimedia/bangarang/Makefile
@@ -5,7 +5,7 @@ PORTNAME= bangarang
PORTVERSION= 2.1
PORTREVISION= 5
CATEGORIES= multimedia kde
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
MAINTAINER= dnebdal@gmail.com
COMMENT= Media player for KDE 4
diff --git a/multimedia/ffmpegthumbnailer/Makefile b/multimedia/ffmpegthumbnailer/Makefile
index 44aa444..9202c5a 100644
--- a/multimedia/ffmpegthumbnailer/Makefile
+++ b/multimedia/ffmpegthumbnailer/Makefile
@@ -5,8 +5,7 @@ PORTNAME= ffmpegthumbnailer
PORTVERSION= 2.0.9
PORTREVISION= 1
CATEGORIES= multimedia graphics
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= riggs/${PORTNAME}
+MASTER_SITES= LOCAL/riggs/${PORTNAME}
MAINTAINER= clutton@zoho.com
COMMENT= Lightweight video thumbnailer that can be used by file managers
diff --git a/multimedia/flvstreamer/Makefile b/multimedia/flvstreamer/Makefile
index a7aaa13..32f7773 100644
--- a/multimedia/flvstreamer/Makefile
+++ b/multimedia/flvstreamer/Makefile
@@ -4,8 +4,7 @@ PORTNAME= flvstreamer
PORTVERSION= 2.1.c.1
PORTREVISION= 1
CATEGORIES= multimedia net
-MASTER_SITES= SAVANNAH
-MASTER_SITE_SUBDIR= ${PORTNAME}/source
+MASTER_SITES= SAVANNAH/${PORTNAME}/source
DISTNAME= ${PORTNAME}-2.1c1
MAINTAINER= hrs@FreeBSD.org
diff --git a/multimedia/kdenlive/Makefile b/multimedia/kdenlive/Makefile
index ac6e66c..191bdf0 100644
--- a/multimedia/kdenlive/Makefile
+++ b/multimedia/kdenlive/Makefile
@@ -3,8 +3,7 @@
PORTNAME= kdenlive
PORTVERSION= 0.9.10
CATEGORIES= multimedia kde
-MASTER_SITES= ${MASTER_SITE_KDE}
-MASTER_SITE_SUBDIR= stable/${PORTNAME}/${PORTVERSION}/src/
+MASTER_SITES= KDE/stable/${PORTNAME}/${PORTVERSION}/src/
MAINTAINER= avilla@FreeBSD.org
COMMENT= KDE professional quality non-linear video editing suite
diff --git a/multimedia/libdvbpsi/Makefile b/multimedia/libdvbpsi/Makefile
index a948309..7b9fd90 100644
--- a/multimedia/libdvbpsi/Makefile
+++ b/multimedia/libdvbpsi/Makefile
@@ -4,8 +4,7 @@
PORTNAME= libdvbpsi
PORTVERSION= 1.2.0
CATEGORIES= multimedia
-MASTER_SITES= http://download.videolan.org/pub/libdvbpsi/%SUBDIR%/
-MASTER_SITE_SUBDIR= ${PORTVERSION}
+MASTER_SITES= http://download.videolan.org/pub/libdvbpsi/${PORTVERSION}/
MAINTAINER= multimedia@FreeBSD.org
COMMENT= Library for MPEG TS and DVB PSI tables decoding and generation
diff --git a/multimedia/libdvdcss/Makefile b/multimedia/libdvdcss/Makefile
index 1160b238..d47f0b9 100644
--- a/multimedia/libdvdcss/Makefile
+++ b/multimedia/libdvdcss/Makefile
@@ -4,8 +4,7 @@
PORTNAME= libdvdcss
PORTVERSION= 1.3.99
CATEGORIES= multimedia
-MASTER_SITES= http://download.videolan.org/pub/%SUBDIR%/
-MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTVERSION}
+MASTER_SITES= http://download.videolan.org/pub/${PORTNAME}/${PORTVERSION}/
MAINTAINER= jpaetzel@FreeBSD.org
COMMENT= Portable abstraction library for DVD decryption
diff --git a/multimedia/libkate/Makefile b/multimedia/libkate/Makefile
index 058d1bc..e6f3de9 100644
--- a/multimedia/libkate/Makefile
+++ b/multimedia/libkate/Makefile
@@ -5,7 +5,7 @@ PORTNAME= libkate
PORTVERSION= 0.4.1
PORTREVISION= 5
CATEGORIES= multimedia
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
MAINTAINER= bar@FreeBSD.org
COMMENT= Codec for karaoke and text encapsulation for Ogg
diff --git a/multimedia/mimms/Makefile b/multimedia/mimms/Makefile
index b5183cd7..2a07a36 100644
--- a/multimedia/mimms/Makefile
+++ b/multimedia/mimms/Makefile
@@ -4,8 +4,7 @@
PORTNAME= mimms
DISTVERSION= 3.2.1
CATEGORIES= multimedia net
-MASTER_SITES= ${MASTER_SITE_SAVANNAH}
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= SAVANNAH
MAINTAINER= liu_yinghong@yahoo.com.cn
COMMENT= Download streams using the MMS protocol
diff --git a/multimedia/mjpg-streamer/Makefile b/multimedia/mjpg-streamer/Makefile
index 2bdb669..a322145 100644
--- a/multimedia/mjpg-streamer/Makefile
+++ b/multimedia/mjpg-streamer/Makefile
@@ -4,8 +4,7 @@
PORTNAME= mjpg-streamer
PORTVERSION= r63
CATEGORIES= multimedia net
-MASTER_SITES= SF
-MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTNAME}/Sourcecode
+MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/Sourcecode
MAINTAINER= kozlov.sergey.404@gmail.com
COMMENT= HTTP video streaming daemon
diff --git a/multimedia/mpeg4ip/Makefile b/multimedia/mpeg4ip/Makefile
index 705031a..df94278 100644
--- a/multimedia/mpeg4ip/Makefile
+++ b/multimedia/mpeg4ip/Makefile
@@ -7,8 +7,7 @@ PORTREVISION= 32
CATEGORIES= multimedia audio ipv6 net
MASTER_SITES= LOCAL/ahze
# http://sourceforge.net/forum/forum.php?thread_id=1839453&forum_id=59136
-#MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-#MASTER_SITE_SUBDIR= ${PORTNAME}
+#MASTER_SITES= SF/${PORTNAME}
MAINTAINER= multimedia@FreeBSD.org
COMMENT= Standards-based system to encode, stream, and play MPEG-4 audio/video
diff --git a/multimedia/mplayer-skins/Makefile b/multimedia/mplayer-skins/Makefile
index d5c2ad7..cc08180 100644
--- a/multimedia/mplayer-skins/Makefile
+++ b/multimedia/mplayer-skins/Makefile
@@ -5,8 +5,7 @@ PORTNAME= mplayer-skins
PORTVERSION= 1.1.3
PORTREVISION= 2
CATEGORIES= multimedia
-MASTER_SITES= ${MASTER_SITE_MPLAYERHQ}
-MASTER_SITE_SUBDIR= skins
+MASTER_SITES= MPLAYERHQ/skins
DISTFILES= # filled in later after options
DIST_SUBDIR= mplayer-skins
diff --git a/multimedia/mplayer/Makefile.shared b/multimedia/mplayer/Makefile.shared
index d1c3985..6335101 100644
--- a/multimedia/mplayer/Makefile.shared
+++ b/multimedia/mplayer/Makefile.shared
@@ -7,8 +7,7 @@
MPLAYER_SNAPSHOT_DATE= 2015-04-03
MPLAYER_PORT_VERSION= 1.1.r${MPLAYER_SNAPSHOT_DATE:S/-//g}
CATEGORIES?= multimedia audio
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= riggs/mplayer
+MASTER_SITES= LOCAL/riggs/mplayer
DISTNAME= mplayer-${MPLAYER_PORT_VERSION:S/.r/./g}
WRKSRC= ${WRKDIR}/mplayer-export-${MPLAYER_SNAPSHOT_DATE}
diff --git a/multimedia/mplex/Makefile b/multimedia/mplex/Makefile
index 31ade5a..66c1945 100644
--- a/multimedia/mplex/Makefile
+++ b/multimedia/mplex/Makefile
@@ -4,8 +4,7 @@
PORTNAME= mplex
PORTVERSION= 1.1
CATEGORIES= multimedia
-MASTER_SITES= LOCAL
-MASTER_SITE_SUBDIR= sanpei
+MASTER_SITES= LOCAL/sanpei
MAINTAINER= sanpei@FreeBSD.org
COMMENT= Multiplexes MPEG component streams into system layers
diff --git a/multimedia/opencinematools/Makefile b/multimedia/opencinematools/Makefile
index 397e665..ad54d70 100644
--- a/multimedia/opencinematools/Makefile
+++ b/multimedia/opencinematools/Makefile
@@ -4,7 +4,7 @@ PORTNAME= opencinematools
PORTVERSION= 1.1.2
PORTREVISION= 1
CATEGORIES= multimedia
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
DISTVERSIONSUFFIX= -src
MAINTAINER= olgeni@FreeBSD.org
diff --git a/multimedia/pwcbsd/Makefile b/multimedia/pwcbsd/Makefile
index a8bd00b..b282517 100644
--- a/multimedia/pwcbsd/Makefile
+++ b/multimedia/pwcbsd/Makefile
@@ -7,8 +7,7 @@ PORTREVISION= 12
CATEGORIES= multimedia sysutils kld
MASTER_SITES= http://raaf.atspace.org/ \
http://www.bsd-geek.de/FreeBSD/distfiles/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= miwi
+ LOCAL/miwi
MAINTAINER= lme@FreeBSD.org
COMMENT= The Linux pwc webcam driver ported to FreeBSD
diff --git a/multimedia/pwcview/Makefile b/multimedia/pwcview/Makefile
index 74cb0f1..c04ecc7 100644
--- a/multimedia/pwcview/Makefile
+++ b/multimedia/pwcview/Makefile
@@ -7,8 +7,7 @@ PORTREVISION= 6
CATEGORIES= multimedia
MASTER_SITES= http://raaf.atspace.org/ \
http://www.selasky.org/hans_petter/video4bsd/releases/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= kwm
+ LOCAL/kwm
MAINTAINER= hselasky@FreeBSD.org
COMMENT= The Video4Linux PWC webcam viewer
diff --git a/multimedia/replex/Makefile b/multimedia/replex/Makefile
index 70a51d6..e5bca4d 100644
--- a/multimedia/replex/Makefile
+++ b/multimedia/replex/Makefile
@@ -4,8 +4,7 @@ PORTNAME= replex
PORTVERSION= 0.1.6.8
PORTEPOCH= 1
CATEGORIES= multimedia
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR=dinoex
+MASTER_SITES= LOCAL/dinoex
MAINTAINER= dinoex@FreeBSD.org
COMMENT= Remultiplex an MPEG2 TS into a PS for DVD
diff --git a/multimedia/smpeg/Makefile b/multimedia/smpeg/Makefile
index ddc5a46..1132c1c 100644
--- a/multimedia/smpeg/Makefile
+++ b/multimedia/smpeg/Makefile
@@ -6,7 +6,7 @@ PORTVERSION= 0.4.4
PORTREVISION= 14
CATEGORIES= multimedia
MASTER_SITES= ftp://sunsite.auc.dk/pub/os/linux/loki/open-source/smpeg/ \
- GENTOO/distfiles
+ GENTOO
MAINTAINER= acm@FreeBSD.org
COMMENT= Free MPEG1 video player library with sound support
diff --git a/multimedia/spigot/Makefile b/multimedia/spigot/Makefile
index e6ff6b4..b9f60b5 100644
--- a/multimedia/spigot/Makefile
+++ b/multimedia/spigot/Makefile
@@ -4,9 +4,8 @@
PORTNAME= spigot
PORTVERSION= 1.7
CATEGORIES= multimedia
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= fenner
-DISTFILES= spigot.1.7.tar.gz
+MASTER_SITES= LOCAL/fenner
+DISTFILES= ${PORTNAME}.${PORTVERSION}${EXTRACT_SUFX}
MAINTAINER= ports@FreeBSD.org
COMMENT= Video spigot for Windows library
diff --git a/multimedia/szap-s2/Makefile b/multimedia/szap-s2/Makefile
index a69886f..8147261 100644
--- a/multimedia/szap-s2/Makefile
+++ b/multimedia/szap-s2/Makefile
@@ -4,8 +4,7 @@
PORTNAME= szap_s2
PORTVERSION= 20100129s
CATEGORIES= multimedia
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= nox/
+MASTER_SITES= LOCAL/nox
MAINTAINER= nox@FreeBSD.org
COMMENT= Simple zapping tool for the Linux DVB S2 API
diff --git a/multimedia/tstools/Makefile b/multimedia/tstools/Makefile
index 1f0527a..4dc0e2a 100644
--- a/multimedia/tstools/Makefile
+++ b/multimedia/tstools/Makefile
@@ -4,8 +4,7 @@
PORTNAME= tstools
DISTVERSION= 1_11
CATEGORIES= multimedia
-MASTER_SITES= SF/${PORTNAME}.berlios
-MASTER_SITE_SUBDIR= tstools
+MASTER_SITES= BERLIOS
MAINTAINER= fbsd@opal.com
COMMENT= MPEG transport, program, and elementary stream tools
diff --git a/multimedia/vcdimager/Makefile b/multimedia/vcdimager/Makefile
index 551cbbe..04f19c0 100644
--- a/multimedia/vcdimager/Makefile
+++ b/multimedia/vcdimager/Makefile
@@ -5,8 +5,7 @@ PORTNAME= vcdimager
PORTVERSION= 0.7.24
PORTREVISION= 6
CATEGORIES= multimedia
-MASTER_SITES= ${MASTER_SITE_GNU}
-MASTER_SITE_SUBDIR= vcdimager
+MASTER_SITES= GNU
MAINTAINER= multimedia@FreeBSD.org
COMMENT= GNU VCDImager/VCDRip -- The GNU VideoCD Image Maker/Ripping Tool
diff --git a/multimedia/vdr-plugin-control/Makefile b/multimedia/vdr-plugin-control/Makefile
index af66e9f..680e6d1 100644
--- a/multimedia/vdr-plugin-control/Makefile
+++ b/multimedia/vdr-plugin-control/Makefile
@@ -9,8 +9,7 @@ MASTER_SITES= http://ricomp.de/vdr/
DISTNAME= ${PORTNAME:S/-plugin-/-/}-${DISTVERSIONPREFIX}${DISTVERSION:S/a45/a/}${DISTVERSIONSUFFIX}
PATCH_SITES= http://ppa.launchpad.net/the-vdr-team/unstable-plugins/ubuntu/pool/main/v/vdr-plugin-control/ \
- ${MASTER_SITE_LOCAL}
-PATCH_SITE_SUBDIR= nox/
+ LOCAL/nox
PATCHFILES= ${PORTNAME}_${PORTVERSION:S/a45/a-45/}yavdr1.diff.gz
MAINTAINER= nox@FreeBSD.org
diff --git a/multimedia/vdr-plugin-streamdev/Makefile b/multimedia/vdr-plugin-streamdev/Makefile
index 7380175..0d1b5db 100644
--- a/multimedia/vdr-plugin-streamdev/Makefile
+++ b/multimedia/vdr-plugin-streamdev/Makefile
@@ -5,8 +5,7 @@ PORTNAME= vdr-plugin-streamdev
PORTVERSION= 0.6.1
CATEGORIES= multimedia
MASTER_SITES= http://projects.vdr-developer.org/attachments/download/1580/:release \
- LOCAL:snapshot
-MASTER_SITE_SUBDIR= nox/:snapshot
+ LOCAL/nox:snapshot
DISTFILES= ${DISTNAME:S/plugin-//}${EXTRACT_SUFX}:release
MAINTAINER= nox@FreeBSD.org
diff --git a/multimedia/vdr-plugin-xineliboutput/Makefile b/multimedia/vdr-plugin-xineliboutput/Makefile
index efa7ae3..c144ba3 100644
--- a/multimedia/vdr-plugin-xineliboutput/Makefile
+++ b/multimedia/vdr-plugin-xineliboutput/Makefile
@@ -5,10 +5,8 @@ PORTNAME= vdr-plugin-xineliboutput
PORTVERSION= 1.0.90s20120511
PORTREVISION= 13
CATEGORIES= multimedia
-MASTER_SITES= SF:release \
- LOCAL:snapshot
-MASTER_SITE_SUBDIR= xineliboutput/files/xineliboutput/vdr-xineliboutput-${PORTVERSION}/:release \
- nox/:snapshot
+MASTER_SITES= SF/xineliboutput/files/xineliboutput/vdr-xineliboutput-${PORTVERSION}/:release \
+ LOCAL/nox:snapshot
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:snapshot
MAINTAINER= nox@FreeBSD.org
diff --git a/multimedia/win32-codecs/Makefile b/multimedia/win32-codecs/Makefile
index d5a105f..ca8bbab 100644
--- a/multimedia/win32-codecs/Makefile
+++ b/multimedia/win32-codecs/Makefile
@@ -5,10 +5,9 @@ PORTNAME= win32-codecs
DISTVERSION= 20110131
PORTEPOCH= 1
CATEGORIES= multimedia audio
-MASTER_SITES= ${MASTER_SITE_MPLAYERHQ} \
+MASTER_SITES= MPLAYERHQ/releases/codecs \
http://ftp.lug.udel.edu/MPlayer/releases/codecs/ \
ftp://ftp.lug.udel.edu/MPlayer/releases/codecs/
-MASTER_SITE_SUBDIR= releases/codecs
DISTFILES= all-${DISTVERSION}.tar.bz2 \
${ADDITIONAL_CODECS_DISTFILES}
DIST_SUBDIR= win32
diff --git a/multimedia/xanim/Makefile b/multimedia/xanim/Makefile
index 1323dcc..2c52d8f 100644
--- a/multimedia/xanim/Makefile
+++ b/multimedia/xanim/Makefile
@@ -6,9 +6,8 @@ PORTVERSION= 2.92.0
PORTREVISION= 2
CATEGORIES= multimedia graphics
MASTER_SITES= ftp://ftp.nstu.ru/pub/mirrors/xanim.va.pubnix.com/ \
- ${MASTER_SITE_LOCAL} \
+ LOCAL/dinoex \
ftp://ftp.nstu.ru/pub/mirrors/xanim.va.pubnix.com/dlls/
-MASTER_SITE_SUBDIR= dinoex
DISTNAME= xanim2920
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:main ${EXTRA_FILES}
diff --git a/net-im/cicquin/Makefile b/net-im/cicquin/Makefile
index ce7cf8f..c0cc70c 100644
--- a/net-im/cicquin/Makefile
+++ b/net-im/cicquin/Makefile
@@ -4,11 +4,10 @@
PORTNAME= cicquin
PORTVERSION= 0.1
CATEGORIES= net-im
-#MASTER_SITES= ${MASTER_SITE_LOCAL} \
+#MASTER_SITES= LOCAL/roam/misc/cicquin \
MASTER_SITES= \
http://devel.ringlet.net/misc/cicquin/ \
http://people.FreeBSD.org/~roam/misc/cicquin/
-MASTER_SITE_SUBDIR= roam/misc/cicquin
MAINTAINER= ports@FreeBSD.org
COMMENT= Look up users in the CenterICQ user database
diff --git a/net-im/ejabberd/Makefile b/net-im/ejabberd/Makefile
index b517818..8809eab 100644
--- a/net-im/ejabberd/Makefile
+++ b/net-im/ejabberd/Makefile
@@ -5,9 +5,8 @@ PORTNAME= ejabberd
PORTVERSION= 15.04
CATEGORIES= net-im
MASTER_SITES= http://www.process-one.net/downloads/${PORTNAME}/${PORTVERSION}/:p1 \
- http://distfiles.pirateparty.in/%SUBDIR%/:deps \
- LOCAL:deps
-MASTER_SITE_SUBDIR= ashish/:deps
+ http://distfiles.pirateparty.in/ashish/:deps \
+ LOCAL/ashish:deps
DISTFILES+= ${DISTNAME}.tgz:p1 ejabberd-deps-2.tar.xz:deps
MAINTAINER= ashish@FreeBSD.org
diff --git a/net-im/emesene/Makefile b/net-im/emesene/Makefile
index 7a3ef3c..d8ba3e4 100644
--- a/net-im/emesene/Makefile
+++ b/net-im/emesene/Makefile
@@ -6,8 +6,8 @@ PORTVERSION= 1.6.3
PORTREVISION= 3
CATEGORIES= net-im python
#MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION}
-MASTER_SITES= ${MASTER_SITE_LOCAL:S,$,acm/${PORTNAME}/,} \
- ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= LOCAL/acm/${PORTNAME} \
+ GOOGLE_CODE
MAINTAINER= ports@FreeBSD.org
COMMENT= MSN Messenger client written in python
diff --git a/net-im/jabber-pyicq/Makefile b/net-im/jabber-pyicq/Makefile
index d83a55f..c98fc18 100644
--- a/net-im/jabber-pyicq/Makefile
+++ b/net-im/jabber-pyicq/Makefile
@@ -5,7 +5,7 @@ PORTVERSION= 0.8.1.5
PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= net-im
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
PKGNAMEPREFIX= jabber-
PKGNAMESUFFIX= -transport
DISTNAME= ${PORTNAME}t-${PORTVERSION}
diff --git a/net-im/ktp-accounts-kcm/Makefile b/net-im/ktp-accounts-kcm/Makefile
index 2bdc9d1..9aec82c 100644
--- a/net-im/ktp-accounts-kcm/Makefile
+++ b/net-im/ktp-accounts-kcm/Makefile
@@ -3,8 +3,7 @@
PORTNAME= ktp-accounts-kcm
PORTVERSION= ${KTP_VERSION}
CATEGORIES= net-im kde
-MASTER_SITES= ${MASTER_SITE_KDE}
-MASTER_SITE_SUBDIR= ${KTP_BRANCH}/kde-telepathy/${PORTVERSION}/src
+MASTER_SITES= KDE/${KTP_BRANCH}/kde-telepathy/${PORTVERSION}/src
MAINTAINER= kde@FreeBSD.org
COMMENT= KDE instant messaging account management module
diff --git a/net-im/ktp-approver/Makefile b/net-im/ktp-approver/Makefile
index bb0c497..517e553 100644
--- a/net-im/ktp-approver/Makefile
+++ b/net-im/ktp-approver/Makefile
@@ -3,8 +3,7 @@
PORTNAME= ktp-approver
PORTVERSION= ${KTP_VERSION}
CATEGORIES= net-im kde
-MASTER_SITES= ${MASTER_SITE_KDE}
-MASTER_SITE_SUBDIR= ${KTP_BRANCH}/kde-telepathy/${PORTVERSION}/src
+MASTER_SITES= KDE/${KTP_BRANCH}/kde-telepathy/${PORTVERSION}/src
MAINTAINER= kde@FreeBSD.org
COMMENT= KDE instant messaging notifier
diff --git a/net-im/ktp-auth-handler/Makefile b/net-im/ktp-auth-handler/Makefile
index 1e8220f..911d8ac 100644
--- a/net-im/ktp-auth-handler/Makefile
+++ b/net-im/ktp-auth-handler/Makefile
@@ -3,8 +3,7 @@
PORTNAME= ktp-auth-handler
PORTVERSION= ${KTP_VERSION}
CATEGORIES= net-im kde
-MASTER_SITES= ${MASTER_SITE_KDE}
-MASTER_SITE_SUBDIR= ${KTP_BRANCH}/kde-telepathy/${PORTVERSION}/src
+MASTER_SITES= KDE/${KTP_BRANCH}/kde-telepathy/${PORTVERSION}/src
MAINTAINER= kde@FreeBSD.org
COMMENT= KWallet integration module for KDE Telepathy
diff --git a/net-im/ktp-common-internals/Makefile b/net-im/ktp-common-internals/Makefile
index 684f1c4..6ae055d 100644
--- a/net-im/ktp-common-internals/Makefile
+++ b/net-im/ktp-common-internals/Makefile
@@ -3,8 +3,7 @@
PORTNAME= ktp-common-internals
PORTVERSION= ${KTP_VERSION}
CATEGORIES= net-im kde
-MASTER_SITES= ${MASTER_SITE_KDE}
-MASTER_SITE_SUBDIR= ${KTP_BRANCH}/kde-telepathy/${PORTVERSION}/src
+MASTER_SITES= KDE/${KTP_BRANCH}/kde-telepathy/${PORTVERSION}/src
MAINTAINER= kde@FreeBSD.org
COMMENT= KDE Telepathy internal library
diff --git a/net-im/ktp-contact-list/Makefile b/net-im/ktp-contact-list/Makefile
index 33948e3..3375fd3 100644
--- a/net-im/ktp-contact-list/Makefile
+++ b/net-im/ktp-contact-list/Makefile
@@ -3,8 +3,7 @@
PORTNAME= ktp-contact-list
PORTVERSION= ${KTP_VERSION}
CATEGORIES= net-im kde
-MASTER_SITES= ${MASTER_SITE_KDE}
-MASTER_SITE_SUBDIR= ${KTP_BRANCH}/kde-telepathy/${PORTVERSION}/src
+MASTER_SITES= KDE/${KTP_BRANCH}/kde-telepathy/${PORTVERSION}/src
MAINTAINER= kde@FreeBSD.org
COMMENT= KDE instant messaging contact list application
diff --git a/net-im/ktp-contact-runner/Makefile b/net-im/ktp-contact-runner/Makefile
index d706c8d..eb39dd2 100644
--- a/net-im/ktp-contact-runner/Makefile
+++ b/net-im/ktp-contact-runner/Makefile
@@ -3,8 +3,7 @@
PORTNAME= ktp-contact-runner
PORTVERSION= ${KTP_VERSION}
CATEGORIES= net-im kde
-MASTER_SITES= ${MASTER_SITE_KDE}
-MASTER_SITE_SUBDIR= ${KTP_BRANCH}/kde-telepathy/${PORTVERSION}/src
+MASTER_SITES= KDE/${KTP_BRANCH}/kde-telepathy/${PORTVERSION}/src
MAINTAINER= kde@FreeBSD.org
COMMENT= KRunner integration module for KDE Telepathy
diff --git a/net-im/ktp-desktop-applets/Makefile b/net-im/ktp-desktop-applets/Makefile
index b566f18..809dabd 100644
--- a/net-im/ktp-desktop-applets/Makefile
+++ b/net-im/ktp-desktop-applets/Makefile
@@ -3,8 +3,7 @@
PORTNAME= ktp-desktop-applets
PORTVERSION= ${KTP_VERSION}
CATEGORIES= net-im kde
-MASTER_SITES= ${MASTER_SITE_KDE}
-MASTER_SITE_SUBDIR= ${KTP_BRANCH}/kde-telepathy/${PORTVERSION}/src
+MASTER_SITES= KDE/${KTP_BRANCH}/kde-telepathy/${PORTVERSION}/src
MAINTAINER= kde@FreeBSD.org
COMMENT= KDE instant messaging plasma widgets
diff --git a/net-im/ktp-filetransfer-handler/Makefile b/net-im/ktp-filetransfer-handler/Makefile
index f4ab3c13..b87cb92 100644
--- a/net-im/ktp-filetransfer-handler/Makefile
+++ b/net-im/ktp-filetransfer-handler/Makefile
@@ -3,8 +3,7 @@
PORTNAME= ktp-filetransfer-handler
PORTVERSION= ${KTP_VERSION}
CATEGORIES= net-im kde
-MASTER_SITES= ${MASTER_SITE_KDE}
-MASTER_SITE_SUBDIR= ${KTP_BRANCH}/kde-telepathy/${PORTVERSION}/src
+MASTER_SITES= KDE/${KTP_BRANCH}/kde-telepathy/${PORTVERSION}/src
MAINTAINER= kde@FreeBSD.org
COMMENT= KDE instant messaging file transfer handler
diff --git a/net-im/ktp-kded-integration-module/Makefile b/net-im/ktp-kded-integration-module/Makefile
index de8fc98..a17e718 100644
--- a/net-im/ktp-kded-integration-module/Makefile
+++ b/net-im/ktp-kded-integration-module/Makefile
@@ -3,8 +3,7 @@
PORTNAME= ktp-kded-integration-module
PORTVERSION= ${KTP_VERSION}
CATEGORIES= net-im kde
-MASTER_SITES= ${MASTER_SITE_KDE}
-MASTER_SITE_SUBDIR= ${KTP_BRANCH}/kde-telepathy/${PORTVERSION}/src
+MASTER_SITES= KDE/${KTP_BRANCH}/kde-telepathy/${PORTVERSION}/src
MAINTAINER= kde@FreeBSD.org
COMMENT= Module for integration of instant messaging into KDE Workspaces
diff --git a/net-im/ktp-send-file/Makefile b/net-im/ktp-send-file/Makefile
index 194f435..4fbe767 100644
--- a/net-im/ktp-send-file/Makefile
+++ b/net-im/ktp-send-file/Makefile
@@ -3,8 +3,7 @@
PORTNAME= ktp-send-file
PORTVERSION= ${KTP_VERSION}
CATEGORIES= net-im kde
-MASTER_SITES= ${MASTER_SITE_KDE}
-MASTER_SITE_SUBDIR= ${KTP_BRANCH}/kde-telepathy/${PORTVERSION}/src
+MASTER_SITES= KDE/${KTP_BRANCH}/kde-telepathy/${PORTVERSION}/src
MAINTAINER= kde@FreeBSD.org
COMMENT= KDE instant messaging file transfer application
diff --git a/net-im/ktp-text-ui/Makefile b/net-im/ktp-text-ui/Makefile
index 5ff8716..04026d9 100644
--- a/net-im/ktp-text-ui/Makefile
+++ b/net-im/ktp-text-ui/Makefile
@@ -3,9 +3,8 @@
PORTNAME= ktp-text-ui
PORTVERSION= ${KTP_VERSION}
CATEGORIES= net-im kde
-MASTER_SITES= ${MASTER_SITE_KDE}
-MASTER_SITE_SUBDIR= ${KTP_BRANCH}/kde-telepathy/${PORTVERSION}/src
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}.1
+MASTER_SITES= KDE/${KTP_BRANCH}/kde-telepathy/${PORTVERSION}/src
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}.1
MAINTAINER= kde@FreeBSD.org
COMMENT= KDE chat window application
diff --git a/net-im/mikutter/Makefile b/net-im/mikutter/Makefile
index ade78ec..fdb1422 100644
--- a/net-im/mikutter/Makefile
+++ b/net-im/mikutter/Makefile
@@ -5,8 +5,7 @@ PORTNAME= mikutter
PORTVERSION= 3.2.2
CATEGORIES= net-im ruby
MASTER_SITES= http://mikutter.hachune.net/bin/ \
- LOCAL
-MASTER_SITE_SUBDIR= tota/${PORTNAME}
+ LOCAL/tota/${PORTNAME}
DISTNAME= ${PORTNAME}.${PORTVERSION}
MAINTAINER= tota@FreeBSD.org
diff --git a/net-im/p5-Net-XMPP2/Makefile b/net-im/p5-Net-XMPP2/Makefile
index f00a5fe..26b7701 100644
--- a/net-im/p5-Net-XMPP2/Makefile
+++ b/net-im/p5-Net-XMPP2/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 0.14
PORTREVISION= 2
CATEGORIES= net-im perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Net
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
diff --git a/net-im/plasma-applet-ktp/Makefile b/net-im/plasma-applet-ktp/Makefile
index 4665b8f..d696e02 100644
--- a/net-im/plasma-applet-ktp/Makefile
+++ b/net-im/plasma-applet-ktp/Makefile
@@ -3,8 +3,7 @@
PORTNAME= ktp
PORTVERSION= ${KTP_VERSION}
CATEGORIES= net-im kde
-MASTER_SITES= ${MASTER_SITE_KDE}
-MASTER_SITE_SUBDIR= ${KTP_BRANCH}/kde-telepathy/${PORTVERSION}/src
+MASTER_SITES= KDE/${KTP_BRANCH}/kde-telepathy/${PORTVERSION}/src
PKGNAMEPREFIX= plasma-applet-
DISTNAME= ${PORTNAME}-desktop-applets-${PORTVERSION}
diff --git a/net-im/py-xmpppy-yahoo/Makefile b/net-im/py-xmpppy-yahoo/Makefile
index 32c3a2e..a9418d8 100644
--- a/net-im/py-xmpppy-yahoo/Makefile
+++ b/net-im/py-xmpppy-yahoo/Makefile
@@ -5,8 +5,7 @@ PORTNAME= yahoo
PORTVERSION= 0.3.20070314
PORTREVISION= 1
CATEGORIES= net-im python
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR=lofi
+MASTER_SITES= LOCAL/lofi
PKGNAMEPREFIX= xmpppy-
DISTNAME= yahoo-transport-${PORTVERSION}
diff --git a/net-im/qwit/Makefile b/net-im/qwit/Makefile
index ddce276..73c4cc7 100644
--- a/net-im/qwit/Makefile
+++ b/net-im/qwit/Makefile
@@ -5,7 +5,7 @@ PORTNAME= qwit
DISTVERSION= r154
PORTREVISION= 3
CATEGORIES= net-im
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
DISTNAME= qwit-${PORTVERSION}-src
MAINTAINER= sokolov@TrueBSD.org
diff --git a/net-im/telepathy-logger-qt4/Makefile b/net-im/telepathy-logger-qt4/Makefile
index bb0f53e..1ce6dc7 100644
--- a/net-im/telepathy-logger-qt4/Makefile
+++ b/net-im/telepathy-logger-qt4/Makefile
@@ -3,8 +3,7 @@
PORTNAME= telepathy-logger-qt4
PORTVERSION= ${KTP_VERSION}
CATEGORIES= net-im
-MASTER_SITES= ${MASTER_SITE_KDE}
-MASTER_SITE_SUBDIR= stable/${PORTNAME:C/4$//}/${PORTVERSION}/src
+MASTER_SITES= KDE/stable/${PORTNAME:C/4$//}/${PORTVERSION}/src
DISTNAME= ${PORTNAME:C/4$//}-${PORTVERSION}
MAINTAINER= kde@FreeBSD.org
diff --git a/net-mgmt/aggregate/Makefile b/net-mgmt/aggregate/Makefile
index 2ad1f03..c86d60b5 100644
--- a/net-mgmt/aggregate/Makefile
+++ b/net-mgmt/aggregate/Makefile
@@ -5,8 +5,7 @@ PORTNAME= aggregate
PORTVERSION= 1.6
PORTREVISION= 1
CATEGORIES= net-mgmt
-MASTER_SITES= ${MASTER_SITE_ISC}
-MASTER_SITE_SUBDIR= aggregate
+MASTER_SITES= ISC/aggregate
MAINTAINER= jabley@automagic.org
COMMENT= Optimise a list of route prefixes to help make nice short filters
diff --git a/net-mgmt/arpwatch/Makefile b/net-mgmt/arpwatch/Makefile
index a288dc9..f179382 100644
--- a/net-mgmt/arpwatch/Makefile
+++ b/net-mgmt/arpwatch/Makefile
@@ -6,7 +6,7 @@ DISTVERSION= 2.1a15
PORTREVISION= 8
CATEGORIES= net-mgmt
MASTER_SITES= ftp://ftp.ee.lbl.gov/ \
- GENTOO/distfiles
+ GENTOO
MAINTAINER= ports@FreeBSD.org
COMMENT= Monitor arp & rarp requests
diff --git a/net-mgmt/clog/Makefile b/net-mgmt/clog/Makefile
index 49453fb..e7f7b89 100644
--- a/net-mgmt/clog/Makefile
+++ b/net-mgmt/clog/Makefile
@@ -4,8 +4,7 @@
PORTNAME= clog
PORTVERSION= 1.6
CATEGORIES= net-mgmt security
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= obrien
+MASTER_SITES= LOCAL/obrien
MAINTAINER= obrien@FreeBSD.org
COMMENT= Tcp connection logger daemon
diff --git a/net-mgmt/flow-tools-ng/Makefile b/net-mgmt/flow-tools-ng/Makefile
index d6c45c6..520ed51 100644
--- a/net-mgmt/flow-tools-ng/Makefile
+++ b/net-mgmt/flow-tools-ng/Makefile
@@ -5,7 +5,7 @@ PORTNAME= flow-tools
PORTVERSION= 0.68.5.1
PORTREVISION= 1
CATEGORIES= net-mgmt
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
PKGNAMESUFFIX= -ng
MAINTAINER= c.kworr@gmail.com
diff --git a/net-mgmt/grepip/Makefile b/net-mgmt/grepip/Makefile
index ace10ee..c990284 100644
--- a/net-mgmt/grepip/Makefile
+++ b/net-mgmt/grepip/Makefile
@@ -6,7 +6,7 @@ PORTVERSION= 1.0
PORTREVISION= 2
CATEGORIES= net-mgmt
MASTER_SITES= http://komquats.com/distfiles/ \
- ${MASTER_SITE_LOCAL}/cy/
+ LOCAL/cy
MAINTAINER= cy@FreeBSD.org
COMMENT= Print lines contans IP matching a pattern in CIDR format
diff --git a/net-mgmt/ipacctd/Makefile b/net-mgmt/ipacctd/Makefile
index e4b44ea..6d10d00 100644
--- a/net-mgmt/ipacctd/Makefile
+++ b/net-mgmt/ipacctd/Makefile
@@ -5,7 +5,7 @@ PORTNAME= ipacctd
PORTVERSION= 1.47
CATEGORIES= net-mgmt
MASTER_SITES= ftp://ftp.wuppy.net.ru/pub/FreeBSD/local/ipacctd/ \
- ${MASTER_SITE_LOCAL:S!$!skv/!}
+ LOCAL/skv
MAINTAINER= ports@FreeBSD.org
COMMENT= IP accounting using divert socket
diff --git a/net-mgmt/nagvis/Makefile b/net-mgmt/nagvis/Makefile
index dd461bb..7a5dabe 100644
--- a/net-mgmt/nagvis/Makefile
+++ b/net-mgmt/nagvis/Makefile
@@ -5,8 +5,7 @@ PORTNAME= nagvis
PORTVERSION= 1.7.2
PORTREVISION= 1
CATEGORIES= net-mgmt
-MASTER_SITES= SF
-MASTER_SITE_SUBDIR=${PORTNAME}/NagVis%201.7
+MASTER_SITES= SF/${PORTNAME}/NagVis%201.7
MAINTAINER= derfi@vei.ru
COMMENT= Visualization addon for Nagios
diff --git a/net-mgmt/nbtscan/Makefile b/net-mgmt/nbtscan/Makefile
index 19d1690..12dc922 100644
--- a/net-mgmt/nbtscan/Makefile
+++ b/net-mgmt/nbtscan/Makefile
@@ -7,7 +7,6 @@ PORTREVISION= 1
CATEGORIES= net-mgmt
MASTER_SITES= http://www.inetcat.net/software/ \
GENTOO
-MASTER_SITE_SUBDIR= distfiles
MAINTAINER= ports@FreeBSD.org
COMMENT= NetBIOS name network scanner
diff --git a/net-mgmt/p5-Net-SNMP/Makefile b/net-mgmt/p5-Net-SNMP/Makefile
index 8d72f76..4f1c0ea 100644
--- a/net-mgmt/p5-Net-SNMP/Makefile
+++ b/net-mgmt/p5-Net-SNMP/Makefile
@@ -3,12 +3,12 @@
PORTNAME= Net-SNMP
PORTVERSION= 6.0.1
+DISTVERSIONPREFIX= v
PORTREVISION= 1
CATEGORIES= net-mgmt perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:DTOWN
PKGNAMEPREFIX= p5-
-DISTNAME= ${PORTNAME}-v${PORTVERSION}
MAINTAINER= lth@FreeBSD.org
COMMENT= Object oriented interface to SNMP
diff --git a/net-mgmt/p5-SNMP_Session/Makefile b/net-mgmt/p5-SNMP_Session/Makefile
index c5a2a93..c85ca47 100644
--- a/net-mgmt/p5-SNMP_Session/Makefile
+++ b/net-mgmt/p5-SNMP_Session/Makefile
@@ -5,7 +5,7 @@ PORTNAME= SNMP_Session
PORTVERSION= 1.13
PORTREVISION= 3
CATEGORIES= net-mgmt perl5
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
PROJECTHOST= snmp-session
PKGNAMEPREFIX= p5-
diff --git a/net-mgmt/p5-jmx4perl/Makefile b/net-mgmt/p5-jmx4perl/Makefile
index d47e6bb..2cccde9 100644
--- a/net-mgmt/p5-jmx4perl/Makefile
+++ b/net-mgmt/p5-jmx4perl/Makefile
@@ -3,8 +3,8 @@
PORTNAME= jmx4perl
PORTVERSION= 1.11
CATEGORIES= net-mgmt perl5
-MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
-MASTER_SITE_SUBDIR= ../by-authors/id/R/RO/ROLAND
+MASTER_SITES= CPAN
+MASTER_SITE_SUBDIR= CPAN:ROLAND
PKGNAMEPREFIX= p5-
DISTFILES= ${DISTNAME}_2${EXTRACT_SUFX}
diff --git a/net-mgmt/phpipam/Makefile b/net-mgmt/phpipam/Makefile
index 7544d57..9053920 100644
--- a/net-mgmt/phpipam/Makefile
+++ b/net-mgmt/phpipam/Makefile
@@ -4,9 +4,7 @@
PORTNAME= phpipam
PORTVERSION= 1.0
CATEGORIES= net-mgmt
-MASTER_SITES= SF
-MASTER_SITE_SUBDIR= ${PORTNAME}
-EXTRACT_SUFX= .tar
+MASTER_SITES= SF/${PORTNAME}
MAINTAINER= jake@xz.cx
COMMENT= PHP IP Address Management IPv4/IPv6
@@ -25,6 +23,7 @@ SUB_LIST= DISTNAME=${DISTNAME}
OPTIONS_DEFINE= LDAP
+USES= tar:
USE_PHP= ctype gettext gmp json mysqli pcntl session simplexml
LDAP_USE= PHP=ldap
WANT_PHP_WEB= yes
diff --git a/net-mgmt/pnp/Makefile b/net-mgmt/pnp/Makefile
index 36dd82a..3b89aa5 100644
--- a/net-mgmt/pnp/Makefile
+++ b/net-mgmt/pnp/Makefile
@@ -4,8 +4,7 @@
PORTNAME= pnp
PORTVERSION= 0.6.25
CATEGORIES= net-mgmt
-MASTER_SITES= SF
-MASTER_SITE_SUBDIR=pnp4nagios/PNP-0.6
+MASTER_SITES= SF/pnp4nagios/PNP-0.6
DISTNAME= pnp4nagios-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX}
MAINTAINER?= lme@FreeBSD.org
diff --git a/net-mgmt/py-ipcalc/Makefile b/net-mgmt/py-ipcalc/Makefile
index 2bd5d17..3268102 100644
--- a/net-mgmt/py-ipcalc/Makefile
+++ b/net-mgmt/py-ipcalc/Makefile
@@ -4,8 +4,7 @@
PORTNAME= ipcalc
PORTVERSION= 1.1.2
CATEGORIES= net-mgmt python
-MASTER_SITES= ${MASTER_SITE_CHEESESHOP}
-MASTER_SITE_SUBDIR= source/i/ipcalc
+MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= ehaupt@FreeBSD.org
diff --git a/net-mgmt/send/Makefile b/net-mgmt/send/Makefile
index 898b768..f2556fa 100644
--- a/net-mgmt/send/Makefile
+++ b/net-mgmt/send/Makefile
@@ -5,8 +5,7 @@ PORTNAME= send
PORTVERSION= 0.3
PORTREVISION= 1
CATEGORIES= net-mgmt ipv6
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= hrs
+MASTER_SITES= LOCAL/hrs
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= hrs@FreeBSD.org
diff --git a/net-mgmt/spectools/Makefile b/net-mgmt/spectools/Makefile
index b472fbd..69e2e80 100644
--- a/net-mgmt/spectools/Makefile
+++ b/net-mgmt/spectools/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 201108.r1
PORTREVISION= 2
CATEGORIES= net-mgmt
MASTER_SITES= http://www.kismetwireless.net/code/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= brix
+ LOCAL/brix
DISTNAME= spectools-2011-08-R1
MAINTAINER= brix@FreeBSD.org
diff --git a/net-mgmt/subcalc/Makefile b/net-mgmt/subcalc/Makefile
index 06ab2dd..60a9d41 100644
--- a/net-mgmt/subcalc/Makefile
+++ b/net-mgmt/subcalc/Makefile
@@ -5,7 +5,6 @@ PORTNAME= subcalc
PORTVERSION= 1.1
CATEGORIES= net-mgmt ipv6
MASTER_SITES= http://www.seccuris.com/documents/downloads/
-MASTER_SITE_SUBDIR= subcalc
MAINTAINER= csjp@FreeBSD.org
COMMENT= Advanced IP/IPv6 subnet calculation and discovery
diff --git a/net-p2p/retroshare/Makefile b/net-p2p/retroshare/Makefile
index 7d3de3a..b3a68c6 100644
--- a/net-p2p/retroshare/Makefile
+++ b/net-p2p/retroshare/Makefile
@@ -5,8 +5,7 @@ PORTNAME= retroshare
PORTVERSION= 0.5.5c
PORTREVISION= 3
CATEGORIES= net-p2p
-MASTER_SITES= SF
-MASTER_SITE_SUBDIR=${PORTNAME}/${BINARY}/${PORTVERSION}
+MASTER_SITES= SF/${PORTNAME}/${BINARY}/${PORTVERSION}
DISTNAME= ${PORTNAME}_${SRC_VERSION}-${SRC_REVISION}
MAINTAINER= peter@netkey.at
diff --git a/net-p2p/rtgui/Makefile b/net-p2p/rtgui/Makefile
index 589c867..7069672 100644
--- a/net-p2p/rtgui/Makefile
+++ b/net-p2p/rtgui/Makefile
@@ -3,20 +3,21 @@
PORTNAME= rtgui
PORTVERSION= 0.2.81
CATEGORIES= net-p2p www
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
-EXTRACT_SUFX= .tgz
+MASTER_SITES= GOOGLE_CODE
MAINTAINER= jadawin@FreeBSD.org
COMMENT= Web based front end for rTorrent
+BUILD_DEPENDS+= xmlrpc-c-config:${PORTSDIR}/net/xmlrpc-c
+
+USES= tar:tgz
+
OPTIONS_DEFINE= APACHE LIGHTTPD
OPTIONS_RADIO= HTTP
OPTIONS_RADIO_HTTP= APACHE LIGHTTPD
OPTIONS_DEFAULTS= APACHE
-BUILD_DEPENDS+= xmlrpc-c-config:${PORTSDIR}/net/xmlrpc-c
-
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MAPACHE}
diff --git a/net-p2p/transmission-remote-gui/Makefile b/net-p2p/transmission-remote-gui/Makefile
index 10b58e2..c790d5f 100644
--- a/net-p2p/transmission-remote-gui/Makefile
+++ b/net-p2p/transmission-remote-gui/Makefile
@@ -5,7 +5,7 @@ PORTNAME= transmission-remote-gui
PORTVERSION= 5.0.1
PORTREVISION= 3
CATEGORIES= net-p2p
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
DISTNAME= transgui-${PORTVERSION}-src
MAINTAINER= acm@FreeBSD.org
diff --git a/net/44bsd-rdist/Makefile b/net/44bsd-rdist/Makefile
index 4274b59..4d39af2 100644
--- a/net/44bsd-rdist/Makefile
+++ b/net/44bsd-rdist/Makefile
@@ -4,8 +4,7 @@
PORTNAME= 44bsd-rdist
PORTVERSION= 20001111
CATEGORIES= net
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= cy
+MASTER_SITES= LOCAL/cy
MAINTAINER= cy@FreeBSD.org
COMMENT= The traditional 4.4BSD rdist
diff --git a/net/aprsc/Makefile b/net/aprsc/Makefile
index cdb5edf..506ebe8 100644
--- a/net/aprsc/Makefile
+++ b/net/aprsc/Makefile
@@ -6,8 +6,7 @@ PORTREVISION= 3
DISTVERSIONSUFFIX= .g28c5a6a
CATEGORIES= net hamradio
MASTER_SITES= http://he.fi/aprsc/down/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= db
+ LOCAL/db
MAINTAINER= toyokun@gmail.com
COMMENT= Plain APRS-IS server
diff --git a/net/boinc_curses/Makefile b/net/boinc_curses/Makefile
index 4e76040..a213bf3 100644
--- a/net/boinc_curses/Makefile
+++ b/net/boinc_curses/Makefile
@@ -5,9 +5,7 @@ PORTNAME= boinc_curses
PORTVERSION= 0.2.2
PORTREVISION= 1
CATEGORIES= net
-MASTER_SITES= ${MASTER_SITE_LOCAL} \
- http://www.oook.cz/bsd/boinc_curses/
-MASTER_SITE_SUBDIR=rene
+MASTER_SITES= LOCAL/rene http://www.oook.cz/bsd/boinc_curses/
MAINTAINER= ports@FreeBSD.org
COMMENT= Console, ncurses based monitor and manager for BOINC
diff --git a/net/bounce/Makefile b/net/bounce/Makefile
index 47e51ce..8a714df 100644
--- a/net/bounce/Makefile
+++ b/net/bounce/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 1.0
PORTREVISION= 8
CATEGORIES= net security
MASTER_SITES= http://www.iagora.com/~espel/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= obrien
+ LOCAL/obrien
DISTNAME= bounce
EXTRACT_SUFX= .c
diff --git a/net/cagibi/Makefile b/net/cagibi/Makefile
index aacb73a..91eee01 100644
--- a/net/cagibi/Makefile
+++ b/net/cagibi/Makefile
@@ -4,8 +4,7 @@
PORTNAME= cagibi
PORTVERSION= 0.2.0
CATEGORIES= net devel
-MASTER_SITES= ${MASTER_SITE_KDE}
-MASTER_SITE_SUBDIR= stable/cagibi
+MASTER_SITES= KDE/stable/${PORTNAME}
MAINTAINER= kde@FreeBSD.org
COMMENT= KDE SSDP/uPNP proxy
diff --git a/net/clamz/Makefile b/net/clamz/Makefile
index 9321d0d..6449c7a 100644
--- a/net/clamz/Makefile
+++ b/net/clamz/Makefile
@@ -5,7 +5,7 @@ PORTNAME= clamz
PORTVERSION= 0.5
PORTREVISION= 4
CATEGORIES= net audio
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
MAINTAINER= glathe.helko@googlemail.com
COMMENT= Command-line program to download MP3 files from Amazon's music store
diff --git a/net/cvsup-static/Makefile b/net/cvsup-static/Makefile
index e34d21f..b79c8bc 100644
--- a/net/cvsup-static/Makefile
+++ b/net/cvsup-static/Makefile
@@ -4,8 +4,7 @@
PORTNAME= cvsup-static
PORTVERSION= 16.1h
CATEGORIES= net devel
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= delphij
+MASTER_SITES= LOCAL/delphij
PKGNAMEPREFIX= binary-
DISTNAME= cvsup-without-gui-static-${ARCH}-${PORTVERSION}
diff --git a/net/dgd-lpmud/Makefile b/net/dgd-lpmud/Makefile
index 31a93b1..51ed47d 100644
--- a/net/dgd-lpmud/Makefile
+++ b/net/dgd-lpmud/Makefile
@@ -5,7 +5,7 @@ PORTNAME= dgd-lpmud
PORTVERSION= 2.4.5
PORTREVISION= 5
CATEGORIES= net games
-MASTER_SITES= ${MASTER_SITE_LOCAL:S|%SUBDIR%|glewis/dgd|} \
+MASTER_SITES= LOCAL/glewis/dgd \
http://ftp.dworkin.nl/dgd/lib/
DISTNAME= 2.4.5-for-1.4
diff --git a/net/gnu-dico/Makefile b/net/gnu-dico/Makefile
index aa8aabe..d5187d2 100644
--- a/net/gnu-dico/Makefile
+++ b/net/gnu-dico/Makefile
@@ -5,8 +5,7 @@ PORTNAME= dico
PORTVERSION= 2.2
PORTREVISION= 6
CATEGORIES= net textproc
-MASTER_SITES= ${MASTER_SITE_GNU}
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= GNU
PKGNAMEPREFIX= gnu-
MAINTAINER= goran.tal@gmail.com
diff --git a/net/gnu-radius/Makefile b/net/gnu-radius/Makefile
index a5119b5..3743045 100644
--- a/net/gnu-radius/Makefile
+++ b/net/gnu-radius/Makefile
@@ -5,8 +5,7 @@ PORTNAME= gnu-radius
PORTVERSION= 1.6.1
PORTREVISION= 6
CATEGORIES= net
-MASTER_SITES= ${MASTER_SITE_GNU}
-MASTER_SITE_SUBDIR= radius
+MASTER_SITES= GNU/radius
DISTNAME= radius-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
diff --git a/net/googlecl/Makefile b/net/googlecl/Makefile
index 387971f..34cfdab 100644
--- a/net/googlecl/Makefile
+++ b/net/googlecl/Makefile
@@ -4,7 +4,7 @@
PORTNAME= googlecl
PORTVERSION= 0.9.14
CATEGORIES= net www python
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
MAINTAINER= sbz@FreeBSD.org
COMMENT= Command line tools for the Google Data APIs
diff --git a/net/grdesktop/Makefile b/net/grdesktop/Makefile
index cd439db..6838249 100644
--- a/net/grdesktop/Makefile
+++ b/net/grdesktop/Makefile
@@ -5,8 +5,7 @@ PORTNAME= grdesktop
PORTVERSION= 0.23
PORTREVISION= 12
CATEGORIES= net
-MASTER_SITES= ${MASTER_SITE_SAVANNAH}
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= SAVANNAH
MAINTAINER= flz@FreeBSD.org
COMMENT= GNOME frontend for the remote desktop client (rdesktop)
diff --git a/net/hexinject/Makefile b/net/hexinject/Makefile
index 6e64cef..27f4a95 100644
--- a/net/hexinject/Makefile
+++ b/net/hexinject/Makefile
@@ -4,8 +4,7 @@
PORTNAME= hexinject
PORTVERSION= 1.5
CATEGORIES= net security
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTNAME}-${PORTVERSION}
+MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= sbz@FreeBSD.org
COMMENT= HexInject is a very versatile packet injector and sniffer
diff --git a/net/icmpinfo/Makefile b/net/icmpinfo/Makefile
index a7022e6..98de7a7 100644
--- a/net/icmpinfo/Makefile
+++ b/net/icmpinfo/Makefile
@@ -4,8 +4,7 @@
PORTNAME= icmpinfo
PORTVERSION= 1.11
CATEGORIES= net sysutils
-MASTER_SITES= ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR= system/network/admin
+MASTER_SITES= SUNSITE/system/network/admin
MAINTAINER= ports@FreeBSD.org
COMMENT= Looks at the icmp messages received by the host
diff --git a/net/iet/Makefile b/net/iet/Makefile
index c285cb7..13b2c8b 100644
--- a/net/iet/Makefile
+++ b/net/iet/Makefile
@@ -8,8 +8,7 @@ CATEGORIES= net kld
MASTER_SITES= SF/iscsitarget/iscsitarget/${PORTVERSION}/
DISTNAME= iscsitarget-${PORTVERSION}
-PATCH_SITES= ${MASTER_SITE_LOCAL}
-PATCH_SITE_SUBDIR= delphij
+PATCH_SITES= LOCAL/delphij
PATCHFILES= ${PORTNAME}-${PORTVERSION}.diff.bz2
PATCH_DIST_STRIP= -p1
diff --git a/net/ifstat/Makefile b/net/ifstat/Makefile
index 662b1c7..7d9f612 100644
--- a/net/ifstat/Makefile
+++ b/net/ifstat/Makefile
@@ -5,8 +5,7 @@ PORTNAME= ifstat
PORTVERSION= 1.1
PORTREVISION= 5
CATEGORIES= net
-MASTER_SITES= http://gael.roualland.free.fr/%SUBDIR%/
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= http://gael.roualland.free.fr/${PORTNAME}/
MAINTAINER= alexey@renatasystems.org
COMMENT= Network interface statistics monitoring tool
diff --git a/net/igmpproxy/Makefile b/net/igmpproxy/Makefile
index 9c18cf2..0c93859 100644
--- a/net/igmpproxy/Makefile
+++ b/net/igmpproxy/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 0.1
PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= net
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTNAME}/${PORTVERSION}
+MASTER_SITES= SF
MAINTAINER= melifaro@ipfw.ru
COMMENT= Multicast forwarding IGMP proxy
diff --git a/net/isc-dhcp41-server/Makefile b/net/isc-dhcp41-server/Makefile
index a2e36c2..0211674 100644
--- a/net/isc-dhcp41-server/Makefile
+++ b/net/isc-dhcp41-server/Makefile
@@ -5,8 +5,7 @@ DISTVERSION= 4.1-ESV
PORTREVISION= ${DHCP_PORTREVISION}
PORTEPOCH= 2
CATEGORIES= net
-MASTER_SITES= ${MASTER_SITE_ISC}
-MASTER_SITE_SUBDIR= ${PORTNAME}/${DISTVERSION}-${PATCHLEVEL}
+MASTER_SITES= ISC/${PORTNAME}/${DISTVERSION}-${PATCHLEVEL}
PKGNAMEPREFIX= isc-
PKGNAMESUFFIX= 41-${SUBSYS}
DISTFILES= ${PORTNAME}-${DISTVERSION}-${PATCHLEVEL}${EXTRACT_SUFX}
diff --git a/net/isc-dhcp42-server/Makefile b/net/isc-dhcp42-server/Makefile
index 1527e09..ccdf555 100644
--- a/net/isc-dhcp42-server/Makefile
+++ b/net/isc-dhcp42-server/Makefile
@@ -5,8 +5,7 @@ PORTNAME= dhcp
DISTVERSION= 4.2.8
PORTREVISION= ${DHCP_PORTREVISION}
CATEGORIES= net
-MASTER_SITES= ${MASTER_SITE_ISC}
-MASTER_SITE_SUBDIR= ${PORTNAME}/${DISTVERSION}
+MASTER_SITES= ISC/${PORTNAME}/${DISTVERSION}
PKGNAMEPREFIX= isc-
PKGNAMESUFFIX= 42-${SUBSYS}
#DISTNAME= ${PORTNAME}-${DISTVERSION}-${PATCHLEVEL}
diff --git a/net/isc-dhcp43-server/Makefile b/net/isc-dhcp43-server/Makefile
index f9b83e7..e2084cb 100644
--- a/net/isc-dhcp43-server/Makefile
+++ b/net/isc-dhcp43-server/Makefile
@@ -5,8 +5,7 @@ PORTNAME= dhcp
DISTVERSION= 4.3.2
PORTREVISION= ${DHCP_PORTREVISION}
CATEGORIES= net
-MASTER_SITES= ${MASTER_SITE_ISC}
-MASTER_SITE_SUBDIR= ${PORTNAME}/${DISTVERSION}
+MASTER_SITES= ISC/${PORTNAME}/${DISTVERSION}
PKGNAMEPREFIX= isc-
PKGNAMESUFFIX= 43-${SUBSYS}
#DISTNAME= ${PORTNAME}-${DISTVERSION}-${PATCHLEVEL}
diff --git a/net/jgroups/Makefile b/net/jgroups/Makefile
index d17789e..ae8ef03 100644
--- a/net/jgroups/Makefile
+++ b/net/jgroups/Makefile
@@ -4,8 +4,7 @@
PORTNAME= jgroups
PORTVERSION= 2.12.0
CATEGORIES= net java
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= ale
+MASTER_SITES= LOCAL/ale
MAINTAINER= ale@FreeBSD.org
COMMENT= Java toolkit for reliable multicast communication
diff --git a/net/jwhois/Makefile b/net/jwhois/Makefile
index 346d957..127595a 100644
--- a/net/jwhois/Makefile
+++ b/net/jwhois/Makefile
@@ -5,8 +5,7 @@ PORTNAME= jwhois
PORTVERSION= 4.0
PORTREVISION= 3
CATEGORIES= net
-MASTER_SITES= ${MASTER_SITE_GNU}
-MASTER_SITE_SUBDIR= jwhois
+MASTER_SITES= GNU
MAINTAINER= ports@FreeBSD.org
COMMENT= Improved WHOIS client capable of selecting server to query
diff --git a/net/kio-upnp-ms/Makefile b/net/kio-upnp-ms/Makefile
index 85ba084..faa24c3 100644
--- a/net/kio-upnp-ms/Makefile
+++ b/net/kio-upnp-ms/Makefile
@@ -5,10 +5,8 @@ PORTNAME= kio-upnp-ms
DISTVERSION= 1.0.0.git20110808
PORTREVISION= 5
CATEGORIES= net devel
-#MASTER_SITES= ${MASTER_SITE_KDE}
-#MASTER_SITE_SUBDIR= stable/${PORTNAME}/${PORTVERSION}/src
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= fluffy
+#MASTER_SITES= KDE/stable/${PORTNAME}/${PORTVERSION}/src
+MASTER_SITES= LOCAL/fluffy
MAINTAINER= kde@FreeBSD.org
COMMENT= KIO slave to access UPnP MediaServers
diff --git a/net/kippo/Makefile b/net/kippo/Makefile
index 23ef597..df73422 100644
--- a/net/kippo/Makefile
+++ b/net/kippo/Makefile
@@ -4,7 +4,7 @@
PORTNAME= kippo
PORTVERSION= 0.8
CATEGORIES= net
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
MAINTAINER= culot@FreeBSD.org
COMMENT= Medium interaction ssh honeypot
diff --git a/net/libkfbapi/Makefile b/net/libkfbapi/Makefile
index c850a65..6b44aed 100644
--- a/net/libkfbapi/Makefile
+++ b/net/libkfbapi/Makefile
@@ -4,8 +4,7 @@ PORTNAME= libkfbapi
PORTVERSION= 1.0
PORTREVISION= 3
CATEGORIES= net kde
-MASTER_SITES= ${MASTER_SITE_KDE}
-MASTER_SITE_SUBDIR= stable/libkfbapi/${PORTVERSION}/src
+MASTER_SITES= KDE/stable/libkfbapi/${PORTVERSION}/src
DIST_SUBDIR= KDE
MAINTAINER= kde@FreeBSD.org
diff --git a/net/libproxy/Makefile b/net/libproxy/Makefile
index 381eb17..dba3670 100644
--- a/net/libproxy/Makefile
+++ b/net/libproxy/Makefile
@@ -6,7 +6,7 @@ PORTNAME= libproxy
PORTVERSION= 0.4.6
PORTREVISION?= 0
CATEGORIES?= net devel
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
MAINTAINER= gnome@FreeBSD.org
COMMENT?= Library that provides automatic proxy configuration management
diff --git a/net/lvwimax/Makefile b/net/lvwimax/Makefile
index 5209277..af3ea38 100644
--- a/net/lvwimax/Makefile
+++ b/net/lvwimax/Makefile
@@ -5,8 +5,7 @@ PORTNAME= lvwimax
PORTVERSION= 0.1
PORTREVISION= 1
CATEGORIES= net
-MASTER_SITES= ftp://ftp.wart.ru/pub/download/ \
- ${MASTER_SITE_LOCAL}
+MASTER_SITES= ftp://ftp.wart.ru/pub/download/
MAINTAINER= bsam@FreeBSD.org
COMMENT= Userland driver for Samsung WiMAX modems
diff --git a/net/mopd/Makefile b/net/mopd/Makefile
index b87d0d9..4005bc3 100644
--- a/net/mopd/Makefile
+++ b/net/mopd/Makefile
@@ -5,8 +5,7 @@ PORTNAME= mopd
PORTVERSION= 2.5.3
PORTREVISION= 1
CATEGORIES= net
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= obrien
+MASTER_SITES= LOCAL/obrien
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= obrien@FreeBSD.org
diff --git a/net/msend/Makefile b/net/msend/Makefile
index 359cc82..880e264 100644
--- a/net/msend/Makefile
+++ b/net/msend/Makefile
@@ -5,8 +5,7 @@ PORTNAME= msend
PORTVERSION= 3.0
PORTREVISION= 1
CATEGORIES= net
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= markp
+MASTER_SITES= LOCAL/markp
MAINTAINER= gd.workbox@gmail.com
COMMENT= Client and server for the RFC1312 message protocol
diff --git a/net/nc/Makefile b/net/nc/Makefile
index 610cdb2..9c19522 100644
--- a/net/nc/Makefile
+++ b/net/nc/Makefile
@@ -5,8 +5,7 @@ PORTNAME= nc
PORTVERSION= 1.0.1
PORTREVISION= 1
CATEGORIES= net
-MASTER_SITES= ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR= utils/file
+MASTER_SITES= SUNSITE/utils/file
DISTNAME= ncat-${PORTVERSION}
MAINTAINER= lx@redundancy.redundancy.org
diff --git a/net/netatalk3/Makefile b/net/netatalk3/Makefile
index 651aaef..7c55993 100644
--- a/net/netatalk3/Makefile
+++ b/net/netatalk3/Makefile
@@ -7,7 +7,6 @@ PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= net
MASTER_SITES= SF
-#MASTER_SITE_SUBDIR=${PORTNAME}/${PORTNAME}/3.1
PKGNAMESUFFIX= 3
MAINTAINER= marcus@FreeBSD.org
diff --git a/net/netcat/Makefile b/net/netcat/Makefile
index 643dcf9..0d554e5 100644
--- a/net/netcat/Makefile
+++ b/net/netcat/Makefile
@@ -10,8 +10,7 @@ DISTNAME= nc${PORTVERSION:S/.//}
EXTRACT_SUFX= .tgz
#PATCH_SITES= ftp://sith.mimuw.edu.pl/pub/users/baggins/IPv6/
-PATCH_SITES= ${MASTER_SITE_GENTOO}
-PATCH_SITE_SUBDIR= distfiles
+PATCH_SITES= GENTOO
PATCHFILES= nc-v6-20000918.patch.gz
PATCH_DIST_STRIP= -p1
diff --git a/net/netembryo/Makefile b/net/netembryo/Makefile
index 683bd1a..b2474f4 100644
--- a/net/netembryo/Makefile
+++ b/net/netembryo/Makefile
@@ -5,10 +5,9 @@ PORTNAME= netembryo
PORTVERSION= 0.1.1
PORTREVISION= 2
CATEGORIES= net
-MASTER_SITES= ${MASTER_SITE_LOCAL} \
+MASTER_SITES= LOCAL/rakuco \
http://pkgs.fedoraproject.org/repo/pkgs/netembryo/netembryo-0.1.1.tar.bz2/d5a3c96b37fe3e4fb1c49df1f7a4a16f/ \
http://lscube.org/files/downloads/netembryo/
-MASTER_SITE_SUBDIR= rakuco
MAINTAINER= ports@FreeBSD.org
COMMENT= Network abstraction library
diff --git a/net/netpipes/Makefile b/net/netpipes/Makefile
index 4c24f28..92a2500 100644
--- a/net/netpipes/Makefile
+++ b/net/netpipes/Makefile
@@ -4,8 +4,7 @@
PORTNAME= netpipes
PORTVERSION= 4.2
CATEGORIES= net
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR=kris
+MASTER_SITES= LOCAL/kris
DISTNAME= netpipes-4.2-export
MAINTAINER= doconnor@gsoft.com.au
diff --git a/net/netselect/Makefile b/net/netselect/Makefile
index dd04789..3813ecd 100644
--- a/net/netselect/Makefile
+++ b/net/netselect/Makefile
@@ -5,7 +5,7 @@ PORTNAME= netselect
PORTVERSION= 0.3
CATEGORIES= net
MASTER_SITES= http://apenwarr.ca/netselect/ \
- GENTOO/distfiles
+ GENTOO
MAINTAINER= ports@FreeBSD.org
COMMENT= Ultrafast implementation of ping
diff --git a/net/ntraceroute/Makefile b/net/ntraceroute/Makefile
index a07df8a..c17a8bc 100644
--- a/net/ntraceroute/Makefile
+++ b/net/ntraceroute/Makefile
@@ -5,9 +5,8 @@ PORTNAME= ntraceroute
PORTVERSION= 6.4.2
PORTREVISION= 1
CATEGORIES= net
-MASTER_SITES= ${MASTER_SITE_NETBSD} \
+MASTER_SITES= NETBSD/traceroute-nanog \
http://mirrors.rit.edu/zi/
-MASTER_SITE_SUBDIR= traceroute-nanog
DISTNAME= traceroute.c
EXTRACT_SUFX=
DIST_SUBDIR= ${PORTNAME}
diff --git a/net/openbgpd/Makefile b/net/openbgpd/Makefile
index 73b5e85..c94b12b 100644
--- a/net/openbgpd/Makefile
+++ b/net/openbgpd/Makefile
@@ -4,10 +4,8 @@ PORTNAME= openbgpd
PORTVERSION= 5.2.20121209
PORTREVISION= 2
CATEGORIES= net
-MASTER_SITES= ${MASTER_SITE_OPENBSD}
-MASTER_SITE_SUBDIR= OpenBGPD
+MASTER_SITES= OPENBSD/OpenBGPD
DISTNAME= ${PORTNAME}-4.6
-EXTRACT_SUFX= .tgz
DIST_SUBDIR= ${PORTNAME}
MAINTAINER= hrs@FreeBSD.org
@@ -19,7 +17,7 @@ LICENSE_FILE= ${FILESDIR}/COPYING
CONFLICTS= zebra-[0-9]* quagga-[0-9]*
WRKSRC= ${WRKDIR}
-USES= uidfix
+USES= uidfix tar:tgz
USE_RC_SUBR= ${PORTNAME}
PLIST_FILES= sbin/bgpctl sbin/bgpd man/man5/bgpd.conf.5.gz \
man/man8/bgpctl.8.gz man/man8/bgpd.8.gz
diff --git a/net/opendpi/Makefile b/net/opendpi/Makefile
index 09e7965..d6178f4 100644
--- a/net/opendpi/Makefile
+++ b/net/opendpi/Makefile
@@ -5,7 +5,7 @@ PORTNAME= opendpi
PORTVERSION= 1.2.0
PORTREVISION= 1
CATEGORIES= net
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
MAINTAINER= fernando@netfilter.com.br
COMMENT= Open source deep packet inspection engine
diff --git a/net/openntpd/Makefile b/net/openntpd/Makefile
index 21b25af..48d7160 100644
--- a/net/openntpd/Makefile
+++ b/net/openntpd/Makefile
@@ -5,8 +5,7 @@ PORTVERSION= 5.7p4
PORTREVISION= 1
PORTEPOCH= 2
CATEGORIES= net
-MASTER_SITES= ${MASTER_SITE_OPENBSD}
-MASTER_SITE_SUBDIR= OpenNTPD
+MASTER_SITES= OPENBSD/OpenNTPD
MAINTAINER= naddy@FreeBSD.org
COMMENT= Network Time Protocol (NTP) daemon
diff --git a/net/ostinato/Makefile b/net/ostinato/Makefile
index d984707..7c62880 100644
--- a/net/ostinato/Makefile
+++ b/net/ostinato/Makefile
@@ -5,8 +5,8 @@ PORTNAME= ostinato
PORTVERSION= 0.5.1
PORTREVISION= 2
CATEGORIES= net security
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
-DISTNAME= ${PORTNAME}-src-${PORTVERSION}${EXTRACTSUFFIX}
+MASTER_SITES= GOOGLE_CODE
+DISTNAME= ${PORTNAME}-src-${PORTVERSION}
MAINTAINER= zeising@FreeBSD.org
COMMENT= Packet crafter/generator and analyzer with friendly GUI
diff --git a/net/p5-Net-CascadeCopy/Makefile b/net/p5-Net-CascadeCopy/Makefile
index 9596a38..ace2705 100644
--- a/net/p5-Net-CascadeCopy/Makefile
+++ b/net/p5-Net-CascadeCopy/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 0.2.6
PORTREVISION= 2
CATEGORIES= net perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Net
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
diff --git a/net/p5-Net-GrowlClient/Makefile b/net/p5-Net-GrowlClient/Makefile
index f69a58c..b40a01b 100644
--- a/net/p5-Net-GrowlClient/Makefile
+++ b/net/p5-Net-GrowlClient/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 0.02
PORTREVISION= 2
CATEGORIES= net perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Net
PKGNAMEPREFIX= p5-
MAINTAINER= markun@onohara.to
diff --git a/net/p5-Net-IRR/Makefile b/net/p5-Net-IRR/Makefile
index ce563c3..1e87e1d 100644
--- a/net/p5-Net-IRR/Makefile
+++ b/net/p5-Net-IRR/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 0.08
PORTREVISION= 1
CATEGORIES= net perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Net
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
diff --git a/net/p5-Net-Proxy/Makefile b/net/p5-Net-Proxy/Makefile
index 6026869..0b67968 100644
--- a/net/p5-Net-Proxy/Makefile
+++ b/net/p5-Net-Proxy/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 0.13
PORTREVISION= 1
CATEGORIES= net perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Net
PKGNAMEPREFIX= p5-
MAINTAINER= jadawin@FreeBSD.org
diff --git a/net/p5-Net-Trackback/Makefile b/net/p5-Net-Trackback/Makefile
index 2ca11c0..4a39d16 100644
--- a/net/p5-Net-Trackback/Makefile
+++ b/net/p5-Net-Trackback/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 1.01
PORTREVISION= 1
CATEGORIES= net perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Net
PKGNAMEPREFIX= p5-
MAINTAINER= coryking@mozimedia.com
diff --git a/net/p5-POE-Component-PubSub/Makefile b/net/p5-POE-Component-PubSub/Makefile
index cb5451c..c915150 100644
--- a/net/p5-POE-Component-PubSub/Makefile
+++ b/net/p5-POE-Component-PubSub/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 0.05
PORTREVISION= 1
CATEGORIES= net perl5
MASTER_SITES= CPAN
-#MASTER_SITE_SUBDIR= CPAN:nperez
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
diff --git a/net/p5-PlRPC/Makefile b/net/p5-PlRPC/Makefile
index 9e2b2fe..9ee1ab2 100644
--- a/net/p5-PlRPC/Makefile
+++ b/net/p5-PlRPC/Makefile
@@ -5,8 +5,7 @@ PORTNAME= PlRPC
PORTVERSION= 0.2020
PORTREVISION= 2
CATEGORIES= net perl5
-MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= RPC
+MASTER_SITES= CPAN/RPC
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
diff --git a/net/p5-Samba-LDAP/Makefile b/net/p5-Samba-LDAP/Makefile
index 9d6b263..6bbb25a 100644
--- a/net/p5-Samba-LDAP/Makefile
+++ b/net/p5-Samba-LDAP/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 0.05
PORTREVISION= 2
CATEGORIES= net perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Samba
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
diff --git a/net/p5-Socks/Makefile b/net/p5-Socks/Makefile
index 7229236..2e0e3d5 100644
--- a/net/p5-Socks/Makefile
+++ b/net/p5-Socks/Makefile
@@ -5,8 +5,7 @@ PORTNAME= SOCKS
PORTVERSION= 0.03
PORTREVISION= 1
CATEGORIES= net perl5
-MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Net
+MASTER_SITES= CPAN/Net
PKGNAMEPREFIX= p5-
MAINTAINER= bofh@FreeBSD.org
diff --git a/net/pload/Makefile b/net/pload/Makefile
index afc252a..fe990c0 100644
--- a/net/pload/Makefile
+++ b/net/pload/Makefile
@@ -5,9 +5,8 @@ PORTNAME= pload
PORTVERSION= 0.9.5
PORTREVISION= 4
CATEGORIES= net sysutils
-MASTER_SITES= ${MASTER_SITE_LOCAL} \
+MASTER_SITES= LOCAL/pav \
http://opal.com/jr/freebsd/ports/net/pload/
-MASTER_SITE_SUBDIR= pav
MAINTAINER= fbsd@opal.com
COMMENT= X11 program to display network traffic graphs
diff --git a/net/py-amqplib/Makefile b/net/py-amqplib/Makefile
index 4b19fed..9c37bb9 100644
--- a/net/py-amqplib/Makefile
+++ b/net/py-amqplib/Makefile
@@ -5,17 +5,16 @@ PORTNAME= amqplib
PORTVERSION= 1.0.2
PORTREVISION= 1
CATEGORIES= net python
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} \
+MASTER_SITES= GOOGLE_CODE \
CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-EXTRACT_SUFX= .tgz
MAINTAINER= lwhsu@FreeBSD.org
COMMENT= AMQP Client Library
PROJECTHOST= py-amqplib
-USES= python
+USES= python tar:tgz
USE_PYTHON= distutils autoplist
.include <bsd.port.mk>
diff --git a/net/py-ndg_httpsclient/Makefile b/net/py-ndg_httpsclient/Makefile
index dd61ff3..9c327ba 100644
--- a/net/py-ndg_httpsclient/Makefile
+++ b/net/py-ndg_httpsclient/Makefile
@@ -4,8 +4,7 @@
PORTNAME= ndg_httpsclient
PORTVERSION= 0.3.3
CATEGORIES= net python
-MASTER_SITES= CHEESESHOP
-MASTER_SITE_SUBDIR= source/${DISTNAME:C/(.).*/\1/}/${PORTNAME:S/_/-/}
+MASTER_SITES= CHEESESHOP/source/${DISTNAME:C/(.).*/\1/}/${PORTNAME:S/_/-/}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= olivierd@FreeBSD.org
diff --git a/net/py-pypcap/Makefile b/net/py-pypcap/Makefile
index e00f43a..f2edbd6 100644
--- a/net/py-pypcap/Makefile
+++ b/net/py-pypcap/Makefile
@@ -5,7 +5,7 @@ PORTNAME= pypcap
PORTVERSION= 1.1
PORTREVISION= 5
CATEGORIES= net python
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= wxs@FreeBSD.org
diff --git a/net/py-pyvmomi/Makefile b/net/py-pyvmomi/Makefile
index 38c94f5..5237008 100644
--- a/net/py-pyvmomi/Makefile
+++ b/net/py-pyvmomi/Makefile
@@ -4,8 +4,7 @@
PORTNAME= pyvmomi
DISTVERSION= 5.5.0-2014.1.1
CATEGORIES= net python
-MASTER_SITES= CHEESESHOP
-MASTER_SITE_SUBDIR= source/p/${PORTNAME}
+MASTER_SITES= CHEESESHOP/source/p/${PORTNAME}
MAINTAINER= robak@FreeBSD.org
COMMENT= Python SDK for the VMware vSphere API of ESX, ESXi, and vCenter
diff --git a/net/rinetd/Makefile b/net/rinetd/Makefile
index e46f8d1..a3569fc 100644
--- a/net/rinetd/Makefile
+++ b/net/rinetd/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 0.62
PORTREVISION= 4
CATEGORIES= net
MASTER_SITES= http://www.boutell.com/rinetd/http/ \
- ${MASTER_SITE_GENTOO}
-MASTER_SITE_SUBDIR= distfiles
+ GENTOO
DISTNAME= rinetd
MAINTAINER= garga@FreeBSD.org
diff --git a/net/rsync-bpc/Makefile b/net/rsync-bpc/Makefile
index 359f334..9674e0b 100644
--- a/net/rsync-bpc/Makefile
+++ b/net/rsync-bpc/Makefile
@@ -4,8 +4,7 @@
PORTNAME= rsync-bpc
PORTVERSION= 3.0.9.3
CATEGORIES= net
-MASTER_SITES= SF
-MASTER_SITE_SUBDIR= backuppc/backuppc-beta/4.0.0alpha3
+MASTER_SITES= SF/backuppc/backuppc-beta/4.0.0alpha3
MAINTAINER= moiseev@mezonplus.ru
COMMENT= Modified rsync that used as part of BackupPC
diff --git a/net/rsync/Makefile b/net/rsync/Makefile
index d242a1e..73df13a 100644
--- a/net/rsync/Makefile
+++ b/net/rsync/Makefile
@@ -5,13 +5,12 @@ PORTNAME= rsync
PORTVERSION= 3.1.1
PORTREVISION= 3
CATEGORIES= net ipv6
-MASTER_SITES= http://rsync.samba.org/ftp/%SUBDIR%/ \
- ftp://ftp.samba.org/pub/%SUBDIR%/ \
- ftp://ftp.sunet.se/pub/unix/admin/%SUBDIR%/ \
- ftp://ftp.fu-berlin.de/pub/unix/network/%SUBDIR%/ \
+MASTER_SITES= http://rsync.samba.org/ftp/rsync/ \
+ ftp://ftp.samba.org/pub/rsync/ \
+ ftp://ftp.sunet.se/pub/unix/admin/rsync/ \
+ ftp://ftp.fu-berlin.de/pub/unix/network/rsync/ \
http://www.mirrorservice.org/sites/rsync.samba.org/ \
LOCAL/ehaupt/rsync
-MASTER_SITE_SUBDIR= rsync
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= ehaupt@FreeBSD.org
diff --git a/net/samba36/Makefile b/net/samba36/Makefile
index 09b88eb..feb64d8 100644
--- a/net/samba36/Makefile
+++ b/net/samba36/Makefile
@@ -4,8 +4,7 @@ PORTNAME= ${SAMBA_BASENAME}36
PORTVERSION= 3.6.25
PORTREVISION?= 0
CATEGORIES?= net
-MASTER_SITES= ${MASTER_SITE_SAMBA}
-MASTER_SITE_SUBDIR= samba samba/stable samba/pre
+MASTER_SITES= SAMBA/samba SAMBA/samba/stable SAMBA/samba/pre
DISTNAME= ${SAMBA_BASENAME}-${PORTVERSION:S|.p|pre|:S|.r|rc|:S|.t|tp|:S|.a|alpha|}
MAINTAINER?= timur@FreeBSD.org
diff --git a/net/samba4/Makefile b/net/samba4/Makefile
index 5195203..994d308 100644
--- a/net/samba4/Makefile
+++ b/net/samba4/Makefile
@@ -5,8 +5,7 @@ PORTNAME?= ${SAMBA4_BASENAME}4
PORTVERSION?= ${SAMBA4_VERSION}
PORTREVISION?= 0
CATEGORIES?= net
-MASTER_SITES= ${MASTER_SITE_SAMBA}
-MASTER_SITE_SUBDIR= samba/stable samba/rc
+MASTER_SITES= SAMBA/samba/stable SAMBA/samba/rc
DISTNAME= ${SAMBA4_DISTNAME}
MAINTAINER?= timur@FreeBSD.org
diff --git a/net/samba41/Makefile b/net/samba41/Makefile
index b6ab84c..37dd8e2 100644
--- a/net/samba41/Makefile
+++ b/net/samba41/Makefile
@@ -5,8 +5,7 @@ PORTNAME?= ${SAMBA4_BASENAME}41
PORTVERSION?= ${SAMBA4_VERSION}
PORTREVISION?= 0
CATEGORIES?= net
-MASTER_SITES= ${MASTER_SITE_SAMBA}
-MASTER_SITE_SUBDIR= samba/stable samba/rc
+MASTER_SITES= SAMBA/samba/stable SAMBA/samba/rc
DISTNAME= ${SAMBA4_DISTNAME}
MAINTAINER?= timur@FreeBSD.org
diff --git a/net/samplicator/Makefile b/net/samplicator/Makefile
index 7dd4674..facbba8 100644
--- a/net/samplicator/Makefile
+++ b/net/samplicator/Makefile
@@ -4,8 +4,7 @@ PORTNAME= samplicator
PORTVERSION= 1.3.7.b6
PORTREVISION= 2
CATEGORIES= net
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
-MASTER_SITE_SUBDIR= samplicator
+MASTER_SITES= GOOGLE_CODE
DISTNAME= samplicator-1.3.7-beta6
MAINTAINER= me@falz.net
diff --git a/net/smb4k-kde4/Makefile b/net/smb4k-kde4/Makefile
index 9d2d7a5..18cc69e 100644
--- a/net/smb4k-kde4/Makefile
+++ b/net/smb4k-kde4/Makefile
@@ -5,8 +5,7 @@ PORTNAME= smb4k-kde4
PORTVERSION= 0.10.9
PORTREVISION= 11
CATEGORIES= net kde
-MASTER_SITES= ${MASTER_SITE_BERLIOS}
-MASTER_SITE_SUBDIR= smb4k
+MASTER_SITES= SF/smb4k
DISTNAME= smb4k-${PORTVERSION}
MAINTAINER= jpaetzel@FreeBSD.org
diff --git a/net/sniffit/Makefile b/net/sniffit/Makefile
index 84c9ea6..ff57a0f 100644
--- a/net/sniffit/Makefile
+++ b/net/sniffit/Makefile
@@ -8,9 +8,8 @@ CATEGORIES= net security
MASTER_SITES= http://www.mavetju.org/download/adopted/
DISTNAME= sniffit.0.3.7.beta
-PATCH_SITES= ${MASTER_SITE_DEBIAN_POOL} \
- http://www.mavetju.org/download/adopted/:patches
-PATCHFILES= sniffit_0.3.7.beta-10.diff.gz:patches
+PATCH_SITES= http://www.mavetju.org/download/adopted/
+PATCHFILES= sniffit_0.3.7.beta-10.diff.gz
PATCH_DIST_STRIP= -p1
MAINTAINER= edwin@mavetju.org
diff --git a/net/stf-6rd-kmod/Makefile b/net/stf-6rd-kmod/Makefile
index 88af8a7..e70649d 100644
--- a/net/stf-6rd-kmod/Makefile
+++ b/net/stf-6rd-kmod/Makefile
@@ -3,8 +3,7 @@
PORTNAME= stf
PORTVERSION= 0.${SVN_REV}
CATEGORIES= net ipv6
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= kuriyama
+MASTER_SITES= LOCAL/kuriyama
PKGNAMESUFFIX= -6rd-kmod
DISTNAME= freebsd-stf-${OSREL}-${PORTVERSION}
diff --git a/net/suckblow/Makefile b/net/suckblow/Makefile
index fbc12bb..a698ba7 100644
--- a/net/suckblow/Makefile
+++ b/net/suckblow/Makefile
@@ -4,8 +4,7 @@
PORTNAME= suckblow
PORTVERSION= 1.1
CATEGORIES= net
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= archie
+MASTER_SITES= LOCAL/archie
MAINTAINER= ports@FreeBSD.org
COMMENT= Two companion utilities for transferring data over a TCP socket
diff --git a/net/tcpcat/Makefile b/net/tcpcat/Makefile
index 10f35b4..83837e5 100644
--- a/net/tcpcat/Makefile
+++ b/net/tcpcat/Makefile
@@ -5,8 +5,7 @@ PORTNAME= tcpcat
PORTVERSION= 1.2.0
CATEGORIES= net
MASTER_SITES= http://ess4.engr.uvic.ca/proj/tcpcat/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= roam/net
+ LOCAL/roam/net
MAINTAINER= ports@FreeBSD.org
COMMENT= Simple utility for sending/receiving data over a TCP or a Unix-domain socket
diff --git a/net/tcpshow/Makefile b/net/tcpshow/Makefile
index 47e30b9..463bfa9 100644
--- a/net/tcpshow/Makefile
+++ b/net/tcpshow/Makefile
@@ -5,8 +5,7 @@ PORTNAME= tcpshow
PORTVERSION= 1.74
PORTREVISION= 1
CATEGORIES= net security
-MASTER_SITES= LOCAL
-MASTER_SITE_SUBDIR= obrien
+MASTER_SITES= LOCAL/obrien
DISTFILES= tcpshow.c tcpshow.1
MAINTAINER= obrien@FreeBSD.org
diff --git a/net/trafshow3/Makefile b/net/trafshow3/Makefile
index 7b4dd34..0279458 100644
--- a/net/trafshow3/Makefile
+++ b/net/trafshow3/Makefile
@@ -6,10 +6,8 @@ PORTVERSION= 3.1
PORTREVISION= 6
PORTEPOCH= 1
CATEGORIES= net
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= sem
+MASTER_SITES= LOCAL/sem
PKGNAMESUFFIX= 3
-EXTRACT_SUFX= .tgz
MAINTAINER= sem@FreeBSD.org
COMMENT= Full screen visualization of network traffic (an ancient version)
@@ -21,6 +19,7 @@ CONFLICTS= trafshow-[45].*
LIB_DEPENDS= libslang.so:${PORTSDIR}/devel/libslang2
.endif
+USES= tar:tgz
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib
diff --git a/net/tramp/Makefile b/net/tramp/Makefile
index e9d7898..763385d 100644
--- a/net/tramp/Makefile
+++ b/net/tramp/Makefile
@@ -5,8 +5,7 @@ PORTNAME= tramp
PORTVERSION= 2.2.7
PORTREVISION= 2
CATEGORIES= net elisp
-MASTER_SITES= ${MASTER_SITE_GNU}
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= GNU
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
MAINTAINER= kuriyama@FreeBSD.org
diff --git a/net/tridiavnc/Makefile b/net/tridiavnc/Makefile
index 23d5dfe..c86ac2e 100644
--- a/net/tridiavnc/Makefile
+++ b/net/tridiavnc/Makefile
@@ -5,8 +5,7 @@ PORTNAME= tridiavnc
PORTVERSION= 1.4
PORTREVISION= 5
CATEGORIES= net
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR=dwcjr
+MASTER_SITES= LOCAL/dwcjr
DISTNAME= DevVNC_unix
MAINTAINER= ports@FreeBSD.org
diff --git a/net/uget/Makefile b/net/uget/Makefile
index 947ae6d..042a2ee 100644
--- a/net/uget/Makefile
+++ b/net/uget/Makefile
@@ -4,8 +4,7 @@
PORTNAME= uget
PORTVERSION= 2.0
CATEGORIES= net
-MASTER_SITES= SF
-MASTER_SITE_SUBDIR= urlget/${PORTNAME}%20%28stable%29/${PORTVERSION}
+MASTER_SITES= SF/urlget/${PORTNAME}%20%28stable%29/${PORTVERSION}
MAINTAINER= olivierd@FreeBSD.org
COMMENT= Download manager application
diff --git a/net/vblade/Makefile b/net/vblade/Makefile
index aea4d9c..214ca01 100644
--- a/net/vblade/Makefile
+++ b/net/vblade/Makefile
@@ -5,9 +5,7 @@ PORTNAME= vblade
PORTVERSION= 21
PORTREVISION= 1
CATEGORIES= net
-MASTER_SITES= SF
-MASTER_SITE_SUBDIR= aoetools/${PORTNAME}/${PORTVERSION}
-EXTRACT_SUFX= .tgz
+MASTER_SITES= SF/aoetools/${PORTNAME}/${PORTVERSION}
MAINTAINER= fjoe@FreeBSD.org
COMMENT= Virtual EtherDrive(R) blade AoE target
@@ -18,6 +16,7 @@ MAKE_ARGS= PLATFORM=freebsd\
INSTALL_MAN="${INSTALL_MAN}"
MAKEFILE= makefile
ALL_TARGET=
+USES= tar:tgz
PLIST_FILES= sbin/vblade sbin/vbladed man/man8/vblade.8.gz
diff --git a/net/vnc/Makefile b/net/vnc/Makefile
index 817f81c..60a2168 100644
--- a/net/vnc/Makefile
+++ b/net/vnc/Makefile
@@ -42,8 +42,7 @@ BROKEN= Does not compile on arm
.endif
.if ${PORT_OPTIONS:MSERVER}
-MASTER_SITES+= ${MASTER_SITE_XORG:S/$/:x/}
-MASTER_SITE_SUBDIR+= 4.3.0/:x
+MASTER_SITES+= XORG/4.3.0/:x
DISTFILES+= X430src-1.tgz:x \
X430src-2.tgz:x \
X430src-3.tgz:x
diff --git a/net/wmnd/Makefile b/net/wmnd/Makefile
index 8862edd..060b581 100644
--- a/net/wmnd/Makefile
+++ b/net/wmnd/Makefile
@@ -5,7 +5,6 @@ PORTNAME= wmnd
PORTVERSION= 0.4.17
CATEGORIES= net
MASTER_SITES= http://www.thregr.org/~wavexx/software/wmnd/releases/
-MASTER_SITE_SUBDIR= distfiles
MAINTAINER= garga@FreeBSD.org
COMMENT= Improved network monitoring dock app (with tons of features)
diff --git a/net/wmnet/Makefile b/net/wmnet/Makefile
index 7a85539..8da67bd 100644
--- a/net/wmnet/Makefile
+++ b/net/wmnet/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 1.2
PORTREVISION= 3
CATEGORIES= net windowmaker
MASTER_SITES= ftp://ftp.enteract.com/users/rneswold/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= novel
+ LOCAL/novel
MAINTAINER= novel@FreeBSD.org
COMMENT= Network bandwidth monitor intended for the WindowMaker dock
diff --git a/net/wmwifi/Makefile b/net/wmwifi/Makefile
index 16a4330..654eece 100644
--- a/net/wmwifi/Makefile
+++ b/net/wmwifi/Makefile
@@ -7,8 +7,7 @@ DISTVERSIONSUFFIX=-bsd
PORTREVISION= 4
CATEGORIES= net
MASTER_SITES= http://digitalssg.net/debian/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= uqs
+ LOCAL/uqs
MAINTAINER= uqs@FreeBSD.org
COMMENT= Dockapp displaying the signal strength of WiFi connection
diff --git a/net/xpvm/Makefile b/net/xpvm/Makefile
index 099f4c0..78fc2ca 100644
--- a/net/xpvm/Makefile
+++ b/net/xpvm/Makefile
@@ -5,8 +5,7 @@ PORTNAME= xpvm
PORTVERSION= 1.2.5
PORTREVISION= 4
CATEGORIES= net parallel
-MASTER_SITES= NL
-MASTER_SITE_SUBDIR= pvm3/xpvm
+MASTER_SITES= NL/pvm3/xpvm
DISTNAME= XPVM.src.${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
diff --git a/net/yconalyzer/Makefile b/net/yconalyzer/Makefile
index 06e3595..d6593b3 100644
--- a/net/yconalyzer/Makefile
+++ b/net/yconalyzer/Makefile
@@ -5,8 +5,7 @@ PORTNAME= yconalyzer
PORTVERSION= 1.0.4
PORTREVISION= 1
CATEGORIES= net
-MASTER_SITES= SF
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= SF/${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= TCP Traffic Analyzer
diff --git a/news/atp/Makefile b/news/atp/Makefile
index 7e87ef6..9bfa3f0 100644
--- a/news/atp/Makefile
+++ b/news/atp/Makefile
@@ -5,8 +5,7 @@ PORTNAME= atp
PORTVERSION= 1.50
PORTREVISION= 2
CATEGORIES= news
-MASTER_SITES= ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR= system/bbs/mail
+MASTER_SITES= SUNSITE/system/bbs/mail
DISTFILES= ${DISTNAME}-src.tar.gz
MAINTAINER= ports@FreeBSD.org
diff --git a/news/husky/Makefile.local b/news/husky/Makefile.local
index 92ce8ff..a0c90a6 100644
--- a/news/husky/Makefile.local
+++ b/news/husky/Makefile.local
@@ -11,8 +11,7 @@ PORTEPOCH= 1
MAINTAINER= osharoiko@gmail.com
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= husky/husky/1.9-current/2014.05.19
+MASTER_SITES= SF/husky/husky/1.9-current/2014.05.19
DISTNAME= husky-all-1.9-source-20140519
HUSKY_ROOTDIR= ${WRKDIR}/husky
diff --git a/news/ifmail/Makefile b/news/ifmail/Makefile
index 24ec38d..4b55eb2 100644
--- a/news/ifmail/Makefile
+++ b/news/ifmail/Makefile
@@ -4,8 +4,7 @@ PORTNAME= ifmail
PORTVERSION= 2.15
PORTREVISION= 5
CATEGORIES= news comms
-MASTER_SITES= ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR= system/fido
+MASTER_SITES= SUNSITE/system/fido
MAINTAINER= dinoex@FreeBSD.org
COMMENT= FidoNet(tm) support package for UN*X platform
diff --git a/news/inn/Makefile b/news/inn/Makefile
index 735fa8f..b072522 100644
--- a/news/inn/Makefile
+++ b/news/inn/Makefile
@@ -6,8 +6,7 @@ PORTVERSION?= 2.5.4
PORTREVISION?= 2
CATEGORIES= news ipv6
# Master distribution broken
-MASTER_SITES?= ${MASTER_SITE_ISC}
-MASTER_SITE_SUBDIR?= ${PORTNAME}
+MASTER_SITES?= ISC/${PORTNAME}
MAINTAINER= johans@FreeBSD.org
COMMENT= InterNetNews -- the Internet meets Netnews
diff --git a/news/knews/Makefile b/news/knews/Makefile
index 5511800..cc2bc82 100644
--- a/news/knews/Makefile
+++ b/news/knews/Makefile
@@ -5,8 +5,7 @@ PORTNAME= knews
PORTVERSION= 1.0b.1
PORTREVISION= 13
CATEGORIES= news
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR=dinoex
+MASTER_SITES= LOCAL/dinoex
MAINTAINER= dinoex@FreeBSD.org
COMMENT= Threaded nntp newsreader for X
diff --git a/news/lusernet/Makefile b/news/lusernet/Makefile
index 1a5aa39..e7543e4 100644
--- a/news/lusernet/Makefile
+++ b/news/lusernet/Makefile
@@ -4,8 +4,7 @@ PORTNAME= lusernet
PORTVERSION= 0.4.2
PORTREVISION= 4
CATEGORIES= news gnustep
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= dinoex
+MASTER_SITES= LOCAL/dinoex
DISTNAME= LuserNET-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
diff --git a/news/newsfetch/Makefile b/news/newsfetch/Makefile
index aa83f70..56178b3 100644
--- a/news/newsfetch/Makefile
+++ b/news/newsfetch/Makefile
@@ -5,8 +5,7 @@ PORTNAME= newsfetch
PORTVERSION= 1.21
PORTREVISION= 2
CATEGORIES= news
-MASTER_SITES= ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR= system/news/readers
+MASTER_SITES= SUNSITE/system/news/readers
MAINTAINER= ports@FreeBSD.org
COMMENT= Download news articles from NNTP server
diff --git a/news/p5-NNTPClient/Makefile b/news/p5-NNTPClient/Makefile
index e4a133d..d73336b 100644
--- a/news/p5-NNTPClient/Makefile
+++ b/news/p5-NNTPClient/Makefile
@@ -5,8 +5,7 @@ PORTNAME= NNTPClient
PORTVERSION= 0.37
PORTREVISION= 1
CATEGORIES= news perl5
-MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= News
+MASTER_SITES= CPAN/News
PKGNAMEPREFIX= p5-
MAINTAINER= gary@hayers.org
diff --git a/news/pgpmoose/Makefile b/news/pgpmoose/Makefile
index 064dd49..746b229 100644
--- a/news/pgpmoose/Makefile
+++ b/news/pgpmoose/Makefile
@@ -6,8 +6,7 @@ PORTREVISION= 1
CATEGORIES= news security
# Distribution broken
# MASTER_SITES= http://people.qualcomm.com/ggr/
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= dinoex
+MASTER_SITES= LOCAL/dinoex
DISTNAME= PGPMoose
EXTRACT_SUFX= .tar.Z
diff --git a/news/plor/Makefile b/news/plor/Makefile
index cca323d..6357dea 100644
--- a/news/plor/Makefile
+++ b/news/plor/Makefile
@@ -5,8 +5,7 @@ PORTNAME= plor
PORTVERSION= 0.3.3
PORTREVISION= 1
CATEGORIES= news
-MASTER_SITES= ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR= system/bbs/mail
+MASTER_SITES= SUNSITE/system/bbs/mail
MAINTAINER= ports@FreeBSD.org
COMMENT= Alpha-release reader for reading SOUP and QWK packets
diff --git a/news/slrnface/Makefile b/news/slrnface/Makefile
index a39b1b1..9ee4d5c 100644
--- a/news/slrnface/Makefile
+++ b/news/slrnface/Makefile
@@ -5,8 +5,7 @@ PORTNAME= slrnface
PORTVERSION= 2.1.1
PORTREVISION= 6
CATEGORIES= news
-MASTER_SITES= ${MASTER_SITE_DEBIAN}
-MASTER_SITE_SUBDIR= pool/main/s/${PORTNAME}
+MASTER_SITES= DEBIAN
DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
MAINTAINER= ports@FreeBSD.org
diff --git a/ports-mgmt/p5-FreeBSD-Ports/Makefile b/ports-mgmt/p5-FreeBSD-Ports/Makefile
index 36dbf99..1101b05 100644
--- a/ports-mgmt/p5-FreeBSD-Ports/Makefile
+++ b/ports-mgmt/p5-FreeBSD-Ports/Makefile
@@ -5,8 +5,7 @@ PORTNAME= FreeBSD-Ports
PORTVERSION= 0.04
PORTREVISION= 1
CATEGORIES= ports-mgmt perl5
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= tom
+MASTER_SITES= LOCAL/tom
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
diff --git a/ports-mgmt/portsearch/Makefile b/ports-mgmt/portsearch/Makefile
index dff81b6..6332605 100644
--- a/ports-mgmt/portsearch/Makefile
+++ b/ports-mgmt/portsearch/Makefile
@@ -5,8 +5,7 @@ PORTNAME= portsearch
PORTVERSION= 1.3.4
CATEGORIES= ports-mgmt
MASTER_SITES= http://people.freebsd.org/~vd/portsearch/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= vd/portsearch
+ LOCAL/vd/portsearch
MAINTAINER= vd@FreeBSD.org
COMMENT= Port searching tool that supports search by packing list files
diff --git a/ports-mgmt/porttree/Makefile b/ports-mgmt/porttree/Makefile
index c28681b..252cd93 100644
--- a/ports-mgmt/porttree/Makefile
+++ b/ports-mgmt/porttree/Makefile
@@ -4,7 +4,7 @@
PORTNAME= porttree
PORTVERSION= 0.3.r${SVN_REV}
CATEGORIES= ports-mgmt python
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
MAINTAINER= Vladimir.Chukharev@gmail.com
COMMENT= Show dependences of FreeBSD port as pseudo graphical tree
diff --git a/print/a2ps/Makefile b/print/a2ps/Makefile
index 0685dcf..c2813f5 100644
--- a/print/a2ps/Makefile
+++ b/print/a2ps/Makefile
@@ -5,9 +5,7 @@ PORTNAME= a2ps
PORTVERSION= 4.13b
PORTREVISION= 6
CATEGORIES= print
-MASTER_SITES= ${MASTER_SITE_GNU} \
- ${MASTER_SITE_LOCAL:S/$/:i18n/}
-MASTER_SITE_SUBDIR= ${PORTNAME} hrs/a2ps/:i18n
+MASTER_SITES= GNU LOCAL/hrs/a2ps/:i18n
MAINTAINER= dinoex@FreeBSD.org
COMMENT= Formats an ASCII file for printing on a postscript printer
diff --git a/print/abc2mtex/Makefile b/print/abc2mtex/Makefile
index 038fbb2..4021d84 100644
--- a/print/abc2mtex/Makefile
+++ b/print/abc2mtex/Makefile
@@ -4,8 +4,7 @@
PORTNAME= abc2mtex
PORTVERSION= 1.6.1
CATEGORIES= print
-MASTER_SITES= ${MASTER_SITE_TEX_CTAN}
-MASTER_SITE_SUBDIR= support/abc2mtex
+MASTER_SITES= TEX_CTAN/support/abc2mtex
DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= joerg@FreeBSD.org
diff --git a/print/adobe-cmaps/Makefile b/print/adobe-cmaps/Makefile
index 609a997..4420a2c 100644
--- a/print/adobe-cmaps/Makefile
+++ b/print/adobe-cmaps/Makefile
@@ -5,8 +5,7 @@ PORTNAME= adobe-cmaps
PORTVERSION= 20051217
PORTREVISION= 3
CATEGORIES= print
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= hrs/adobe
+MASTER_SITES= LOCAL/hrs/adobe
DISTFILES= ac15.tar.gz ag15.tar.gz \
ai0.tar.gz aj16.tar.gz \
aj20.tar.gz ak12.tar.gz rksj-cmaps.tar.gz
diff --git a/print/alignmargins/Makefile b/print/alignmargins/Makefile
index b9649ff..9dbfc43 100644
--- a/print/alignmargins/Makefile
+++ b/print/alignmargins/Makefile
@@ -5,9 +5,8 @@ PORTNAME= alignmargins
PORTVERSION= 1.0
PORTREVISION= 1
CATEGORIES= print
-MASTER_SITES= ${MASTER_SITE_LOCAL} \
+MASTER_SITES= LOCAL/lofi \
http://www.linuxprinting.org/download/printing/
-MASTER_SITE_SUBDIR=lofi
DISTFILES= alignmargins align.ps
MAINTAINER= ports@FreeBSD.org
diff --git a/print/asprint/Makefile b/print/asprint/Makefile
index f4a4e11..9ba1b91 100644
--- a/print/asprint/Makefile
+++ b/print/asprint/Makefile
@@ -5,8 +5,7 @@ PORTNAME= asprint
PORTVERSION= 1.0
PORTREVISION= 3
CATEGORIES= print
-MASTER_SITES= ${MASTER_SITE_AFTERSTEP}
-MASTER_SITE_SUBDIR= apps/asprint
+MASTER_SITES= AFTERSTEP/apps/asprint
DISTNAME= asprint
MAINTAINER= ports@FreeBSD.org
diff --git a/print/auctex/Makefile b/print/auctex/Makefile
index 3824b05..a350468 100644
--- a/print/auctex/Makefile
+++ b/print/auctex/Makefile
@@ -5,8 +5,7 @@ PORTNAME= auctex
PORTVERSION= 11.88
PORTREVISION= 2
CATEGORIES= print elisp
-MASTER_SITES= ${MASTER_SITE_GNU}
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= GNU
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
MAINTAINER= hrs@FreeBSD.org
diff --git a/print/bibview/Makefile b/print/bibview/Makefile
index 57c1ee2..02fb1c3 100644
--- a/print/bibview/Makefile
+++ b/print/bibview/Makefile
@@ -5,8 +5,7 @@ PORTNAME= bibview
PORTVERSION= 2.2
PORTREVISION= 2
CATEGORIES= print databases
-MASTER_SITES= ${MASTER_SITE_TEX_CTAN}
-MASTER_SITE_SUBDIR= biblio/bibtex/utils/bibview-2.0
+MASTER_SITES= TEX_CTAN/biblio/bibtex/utils/bibview-2.0
MAINTAINER= ports@FreeBSD.org
COMMENT= Graphical interface for manipulating BibTeX bibliography databases
diff --git a/print/cm-super/Makefile b/print/cm-super/Makefile
index a4df3fe..ad1ae76 100644
--- a/print/cm-super/Makefile
+++ b/print/cm-super/Makefile
@@ -5,10 +5,8 @@ PORTNAME= cm-super
PORTVERSION= 0.3.4
PORTREVISION= 5
CATEGORIES= print x11-fonts
-MASTER_SITES= LOCAL
-MASTER_SITE_SUBDIR= hrs
-#MASTER_SITES= ${MASTER_SITE_TEX_CTAN}
-#MASTER_SITE_SUBDIR= fonts/ps-type1
+MASTER_SITES= LOCAL/hrs
+#MASTER_SITES= TEX_CTAN/fonts/ps-type1
#DISTNAME= ${PORTNAME}
MAINTAINER= hrs@FreeBSD.org
diff --git a/print/dot2tex/Makefile b/print/dot2tex/Makefile
index b3fd70d..bfbb51f 100644
--- a/print/dot2tex/Makefile
+++ b/print/dot2tex/Makefile
@@ -5,7 +5,7 @@ PORTNAME= dot2tex
PORTVERSION= 2.8.7
PORTREVISION= 1
CATEGORIES= print
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
MAINTAINER= romain@FreeBSD.org
COMMENT= Graphviz to LaTeX converter
diff --git a/print/font-amsfonts/Makefile b/print/font-amsfonts/Makefile
index d04bf56..aa91b66 100644
--- a/print/font-amsfonts/Makefile
+++ b/print/font-amsfonts/Makefile
@@ -5,8 +5,7 @@ PORTNAME= amsfonts
PORTVERSION= 3.02
PORTREVISION= 3
CATEGORIES= print
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= hrs
+MASTER_SITES= LOCAL/hrs
PKGNAMEPREFIX= font-
DIST_SUBDIR= teTeX
diff --git a/print/foo2zjs/Makefile b/print/foo2zjs/Makefile
index 6e04742..e15f03d 100644
--- a/print/foo2zjs/Makefile
+++ b/print/foo2zjs/Makefile
@@ -4,8 +4,8 @@
PORTNAME= foo2zjs
PORTVERSION= 20140417
CATEGORIES= print
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} \
- ${MASTER_SITE_LOCAL:S,$,bsam/${PORTNAME}/,} \
+MASTER_SITES= GOOGLE_CODE \
+ LOCAL/bsam/${PORTNAME} \
ftp://ftp.wart.ru/pub/FreeBSD/ports/distfiles/
MAINTAINER= ports@FreeBSD.org
diff --git a/print/foomatic-db/Makefile b/print/foomatic-db/Makefile
index 51e5f1f..f3eadd6 100644
--- a/print/foomatic-db/Makefile
+++ b/print/foomatic-db/Makefile
@@ -4,8 +4,7 @@
PORTNAME= db
PORTVERSION= 20150415
CATEGORIES= print
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= danilo
+MASTER_SITES= LOCAL/danilo
PKGNAMEPREFIX= foomatic-
DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${FOOMATICVER}-${PORTVERSION}
diff --git a/print/foxitreader/Makefile b/print/foxitreader/Makefile
index 5f1545d..4484fd4 100644
--- a/print/foxitreader/Makefile
+++ b/print/foxitreader/Makefile
@@ -5,9 +5,8 @@ PORTNAME= foxitreader
PORTVERSION= 1.1.0
PORTREVISION= 3
CATEGORIES= print
-MASTER_SITES= http://cdn04.foxitsoftware.com/pub/foxit/%SUBDIR%/:reader,manual
-MASTER_SITE_SUBDIR= reader/desktop/linux/1.x/${PORTVERSION:R}/enu/:reader \
- manual/enu/:manual
+MASTER_SITES= http://cdn04.foxitsoftware.com/pub/foxit/reader/desktop/linux/1.x/${PORTVERSION:R}/enu/:reader
+
DISTFILES= FoxitReader-${PORTVERSION}.tar.bz2:reader
EXTRACT_ONLY= FoxitReader-${PORTVERSION}.tar.bz2
@@ -33,6 +32,7 @@ WRKSRC= ${WRKDIR}/${PORTVERSION:R}-release
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
+MASTER_SITES+= http://cdn04.foxitsoftware.com/pub/foxit/manual/enu/:manual
DISTFILES+= FoxitReader${PORTVERSION:R}ForLinux_Manual.pdf:manual
.endif
diff --git a/print/ghostscript7/Makefile b/print/ghostscript7/Makefile
index 8417584..4faa29c 100644
--- a/print/ghostscript7/Makefile
+++ b/print/ghostscript7/Makefile
@@ -7,10 +7,7 @@ PORTREVISION= 31
CATEGORIES= print
MASTER_SITES= SF/ghostscript/gnu-gs/${PORTVERSION}:gs_srcs \
ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/gnu/gs${PORTVERSION:S/.//}/:gs_srcs \
- ${MASTER_SITE_PORTS_JP:S/$/:ports_jp,ports_jp_gs/}
-MASTER_SITE_SUBDIR= \
- ghostscript/:gs_srcs \
- ./:ports_jp
+ PORTS_JP:ports_jp,ports_jp_gs
PKGNAMESUFFIX= 7
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:gs_srcs
DIST_SUBDIR= ${PORTNAME}
diff --git a/print/ghostscript7/files/Makefile.bjc250 b/print/ghostscript7/files/Makefile.bjc250
index 222c9e2..bafe557 100644
--- a/print/ghostscript7/files/Makefile.bjc250
+++ b/print/ghostscript7/files/Makefile.bjc250
@@ -2,8 +2,7 @@
# BJC250 - additional driver for Canon BJC-210/240/250/265/1000
# http://bjc250gs.sourceforge.net/
-MASTER_SITES+= ${MASTER_SITE_SOURCEFORGE:S/$/:bjc250/}
-MASTER_SITE_SUBDIR+= bjc250gs/:bjc250
+MASTER_SITES+= SOURCEFORGE/bjc250gs/:bjc250
DISTFILES+= gs7.05-bjc250-v0.756.diff.gz:bjc250
EXTRADEVMKFILE+= ${FILESDIR}/bjc250.contrib.mak
diff --git a/print/ghostscript7/files/Makefile.cpca b/print/ghostscript7/files/Makefile.cpca
index e485161..b819d75 100644
--- a/print/ghostscript7/files/Makefile.cpca
+++ b/print/ghostscript7/files/Makefile.cpca
@@ -2,7 +2,7 @@
# CPCA - additional driver for Canon CPCA printers
# http://cweb.canon.jp/open-mie/technical/index-j.html
-MASTER_SITES+= ${MASTER_SITE_LOCAL:S/%SUBDIR%/pav/:S/$/:cpca/}
+MASTER_SITES+= LOCAL/pav:cpca
DISTFILES+= canon-lips4-1.0.0-651.tgz:cpca
EXTRADEVMKFILE+=${WRKSRC}/src/cpca_gdev.mak
diff --git a/print/ghostscript7/files/Makefile.eplaser b/print/ghostscript7/files/Makefile.eplaser
index 7a5debd..9aa186d 100644
--- a/print/ghostscript7/files/Makefile.eplaser
+++ b/print/ghostscript7/files/Makefile.eplaser
@@ -2,8 +2,7 @@
# EPLASER - additional driver for ESC/Page printers, by EPSON AVASYS Corp.
# http://www.avasys.jp/english/linux_e/index.html
-MASTER_SITES+= ${MASTER_SITE_LOCAL}:eplaser
-MASTER_SITE_SUBDIR+= arved/:eplaser
+MASTER_SITES+= LOCAL/arved/:eplaser
DISTFILES+= eplaser-3.1.4-705.tgz:eplaser
EXTRADEVMKFILE+= ${WRKSRC}/eplaser/gdevescv7.mak \
${WRKSRC}/eplaser/gdevesmv7.mak
diff --git a/print/ghostscript7/files/Makefile.gprint b/print/ghostscript7/files/Makefile.gprint
index 11ab968..f6d304b 100644
--- a/print/ghostscript7/files/Makefile.gprint
+++ b/print/ghostscript7/files/Makefile.gprint
@@ -9,8 +9,7 @@
#
# For that reason, integration of stp driver is disabled by default.
-MASTER_SITES+= ${MASTER_SITE_SOURCEFORGE:S/%SUBDIR%/gimp-print/:S/$/:gprint/} \
-MASTER_SITE_SUBDIR= gimp-print/:gprint
+MASTER_SITES+= SOURCEFORGE/gimp-print/:gprint
DISTFILES+= gimp-print-4.2.7.tar.gz:gprint
EXTRADEVMKFILE+= ${FILESDIR}/stp.contrib.mak
diff --git a/print/ghostscript7/files/Makefile.lex7000 b/print/ghostscript7/files/Makefile.lex7000
index 48377a0..9c72af4 100644
--- a/print/ghostscript7/files/Makefile.lex7000
+++ b/print/ghostscript7/files/Makefile.lex7000
@@ -2,7 +2,7 @@
# LEX7000 - additional driver for Lexmark 2050/3200/5700/7000
# http://bimbo.fjfi.cvut.cz/~paluch/l7kdriver/
-MASTER_SITES+= ${MASTER_SITE_LOCAL:S/%SUBDIR%/pav/:S/$/:lex7000/}
+MASTER_SITES+= LOCAL/pav:lex7000
DISTFILES+= gs6.0.lexmark7000.patch:lex7000
EXTRADEVMKFILE+= ${FILESDIR}/lex7000.contrib.mak
diff --git a/print/ghostscript7/files/Makefile.lx5000 b/print/ghostscript7/files/Makefile.lx5000
index bf636d6..b801989 100644
--- a/print/ghostscript7/files/Makefile.lx5000
+++ b/print/ghostscript7/files/Makefile.lx5000
@@ -2,7 +2,7 @@
# LX5000 - additional driver for Lexmark 5000/Z51/Z82
# http://homepage.powerup.com.au/~pbwest/lexmark/lexmark.html
-MASTER_SITES+= ${MASTER_SITE_LOCAL:S/%SUBDIR%/pav/:S/$/:lx5000/}
+MASTER_SITES+= LOCAL/pav:lx5000
DISTFILES+= gdevlx50.c:lx5000
EXTRADEVMKFILE+= ${FILESDIR}/lx5000.contrib.mak
diff --git a/print/ghostscript8/Makefile b/print/ghostscript8/Makefile
index 9b29fee..f7b7975 100644
--- a/print/ghostscript8/Makefile
+++ b/print/ghostscript8/Makefile
@@ -9,7 +9,6 @@ MASTER_SITES= http://downloads.ghostscript.com/public/:gs_srcs \
SF/ghostscript/GPL%20Ghostscript/${PORTVERSION}:gs_srcs \
ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/GPL/gs${PORTVERSION:S/.//}/:gs_srcs \
http://www.humblesoft.com/pub/:epag
-MASTER_SITE_SUBDIR= ghostscript/:gs_srcs
PKGNAMESUFFIX= 8
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:gs_srcs ${EPAG_SRCS}:epag
DIST_SUBDIR= ${PORTNAME}
diff --git a/print/ghostscript9-agpl/Makefile b/print/ghostscript9-agpl/Makefile
index a95c283..31cd9df 100644
--- a/print/ghostscript9-agpl/Makefile
+++ b/print/ghostscript9-agpl/Makefile
@@ -8,7 +8,6 @@ MASTER_SITES= http://downloads.ghostscript.com/public/:gs_srcs \
SF/ghostscript/GPL%20Ghostscript/${PORTVERSION}:gs_srcs \
ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/GPL/gs${PORTVERSION:S/.//}/:gs_srcs \
http://www.humblesoft.com/pub/:epag
-MASTER_SITE_SUBDIR= ghostscript/:gs_srcs
PKGNAMESUFFIX= 9-agpl
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:gs_srcs ${EPAG_SRCS}:epag
DIST_SUBDIR= ${PORTNAME}
diff --git a/print/ghostscript9/Makefile b/print/ghostscript9/Makefile
index 8cc82c8..a051395b 100644
--- a/print/ghostscript9/Makefile
+++ b/print/ghostscript9/Makefile
@@ -8,7 +8,6 @@ MASTER_SITES= http://downloads.ghostscript.com/public/:gs_srcs \
SF/ghostscript/GPL%20Ghostscript/${PORTVERSION}:gs_srcs \
ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/GPL/gs${PORTVERSION:S/.//}/:gs_srcs \
http://www.humblesoft.com/pub/:epag
-MASTER_SITE_SUBDIR= ghostscript/:gs_srcs
PKGNAMESUFFIX= 9
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:gs_srcs ${EPAG_SRCS}:epag
DIST_SUBDIR= ${PORTNAME}
diff --git a/print/html2latex/Makefile b/print/html2latex/Makefile
index 9deddc0..850d418 100644
--- a/print/html2latex/Makefile
+++ b/print/html2latex/Makefile
@@ -4,8 +4,7 @@
PORTNAME= html2latex
PORTVERSION= 0.9c
CATEGORIES= print
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= joerg
+MASTER_SITES= LOCAL/joerg
MAINTAINER= joerg@FreeBSD.org
COMMENT= Convert HTML document into LaTeX
diff --git a/print/kde_poster/Makefile b/print/kde_poster/Makefile
index 98350e5..47e080c 100644
--- a/print/kde_poster/Makefile
+++ b/print/kde_poster/Makefile
@@ -5,8 +5,7 @@ PORTNAME= kde_poster
PORTVERSION= 1.0
PORTREVISION= 1
CATEGORIES= print kde
-MASTER_SITES= ${MASTER_SITE_KDE}
-MASTER_SITE_SUBDIR= printing
+MASTER_SITES= KDE/printing
DISTNAME= poster
MAINTAINER= ports@FreeBSD.org
diff --git a/print/latex-ltablex/Makefile b/print/latex-ltablex/Makefile
index b6a2549..0373f44 100644
--- a/print/latex-ltablex/Makefile
+++ b/print/latex-ltablex/Makefile
@@ -6,10 +6,8 @@ PORTREVISION= 2
CATEGORIES= print
# As of 2012-08-24, some mirrors are returning a tarball with a
# different checksum, so I am mirroring it locally instead.
-# MASTER_SITES= ${MASTER_SITE_TEX_CTAN}
-# MASTER_SITE_SUBDIR= macros/latex/contrib
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= rakuco/latex
+# MASTER_SITES= TEX_CTAN/macros/latex/contrib
+MASTER_SITES= LOCAL/rakuco/latex
PKGNAMEPREFIX= latex-
DIST_SUBDIR= latex
diff --git a/print/latex-resume/Makefile b/print/latex-resume/Makefile
index d58ccf6..0d3c4c0 100644
--- a/print/latex-resume/Makefile
+++ b/print/latex-resume/Makefile
@@ -5,8 +5,7 @@ PORTNAME= resume
PORTVERSION= 20010823
PORTREVISION= 3
CATEGORIES= print
-MASTER_SITES= ${MASTER_SITE_TEX_CTAN}
-MASTER_SITE_SUBDIR= macros/latex/contrib/${PORTNAME}
+MASTER_SITES= TEX_CTAN/macros/latex/contrib/${PORTNAME}
PKGNAMEPREFIX= latex-
DISTNAME= res
EXTRACT_SUFX= .cls
diff --git a/print/latex2rtf/Makefile b/print/latex2rtf/Makefile
index 328829a..f371a90 100644
--- a/print/latex2rtf/Makefile
+++ b/print/latex2rtf/Makefile
@@ -5,7 +5,7 @@ PORTNAME= latex2rtf
PORTVERSION= 2.3.8
CATEGORIES= print
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-unix/${PORTVERSION} \
- ${MASTER_SITE_TEX_CTAN}
+ TEX_CTAN
MAINTAINER= danilo@FreeBSD.org
COMMENT= Translator from LaTeX to RTF
diff --git a/print/libotf/Makefile b/print/libotf/Makefile
index 85f030f..b248724 100644
--- a/print/libotf/Makefile
+++ b/print/libotf/Makefile
@@ -5,8 +5,7 @@ PORTNAME= libotf
PORTVERSION= 0.9.13
PORTREVISION= 2
CATEGORIES= print devel textproc
-MASTER_SITES= ${MASTER_SITE_SAVANNAH}:m17n
-MASTER_SITE_SUBDIR= m17n
+MASTER_SITES= SAVANNAH/m17n
MAINTAINER= nikola.lecic@anthesphoria.net
COMMENT= Library for handling OpenType fonts
diff --git a/print/libpaper/Makefile b/print/libpaper/Makefile
index 96934ca..5f7a480 100644
--- a/print/libpaper/Makefile
+++ b/print/libpaper/Makefile
@@ -4,8 +4,7 @@
PORTNAME= libpaper
PORTVERSION= 1.1.24.3
CATEGORIES= print
-MASTER_SITES= ${MASTER_SITE_DEBIAN}
-MASTER_SITE_SUBDIR= pool/main/libp/libpaper
+MASTER_SITES= DEBIAN
DISTNAME= ${PORTNAME}_${PORTVERSION:C/.([0-9]+)$/+nmu\1/}
MAINTAINER= hrs@FreeBSD.org
diff --git a/print/openprinting/Makefile b/print/openprinting/Makefile
index 50d3e3e..fc5419d 100644
--- a/print/openprinting/Makefile
+++ b/print/openprinting/Makefile
@@ -5,9 +5,7 @@ PORTNAME= openprinting
PORTVERSION= 1.0
PORTREVISION= 4
CATEGORIES= print net
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR=\
- openprinting/papi/1.0%20Beta
+MASTER_SITES= SF/openprinting/papi/1.0%20Beta
DISTNAME= papi-${PORTVERSION}_beta
DIST_SUBDIR= ${PORTNAME}
diff --git a/print/pdfbox/Makefile b/print/pdfbox/Makefile
index 5fd5b7a..522e91d 100644
--- a/print/pdfbox/Makefile
+++ b/print/pdfbox/Makefile
@@ -4,8 +4,7 @@
PORTNAME= pdfbox
PORTVERSION= 1.8.9
CATEGORIES= print textproc java
-MASTER_SITES= ${MASTER_SITE_APACHE:S,%SUBDIR%,pdfbox/${PORTVERSION},}
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= APACHE/pdfbox/${PORTVERSION}
DISTFILES= ${JAR_NAMES:S/$/-${PORTVERSION}.jar/}
MAINTAINER= ale@FreeBSD.org
diff --git a/print/pic2fig/Makefile b/print/pic2fig/Makefile
index cd44f95..05440b0 100644
--- a/print/pic2fig/Makefile
+++ b/print/pic2fig/Makefile
@@ -5,8 +5,7 @@ PORTNAME= pic2fig
PORTVERSION= 1.4
PORTREVISION= 2
CATEGORIES= print
-MASTER_SITES= ${MASTER_SITE_XCONTRIB}
-MASTER_SITE_SUBDIR= utilities
+MASTER_SITES= XCONTRIB/utilities
MAINTAINER= ports@FreeBSD.org
COMMENT= Pic format to fig format converter
diff --git a/print/pkfonts300/Makefile b/print/pkfonts300/Makefile
index 3ad7cb1..5673760 100644
--- a/print/pkfonts300/Makefile
+++ b/print/pkfonts300/Makefile
@@ -4,8 +4,7 @@
PORTNAME= pkfonts${RESOLUTION}
PORTVERSION= 1.0
CATEGORIES= print
-MASTER_SITES= ${MASTER_SITE_PORTS_JP}
-MASTER_SITE_SUBDIR= pkfonts
+MASTER_SITES= PORTS_JP/pkfonts
DISTFILES= pk${RESOLUTION}.tar.gz
# see below for RESOLUTION definition
diff --git a/print/pstotext/Makefile b/print/pstotext/Makefile
index 4b68161..06387a5 100644
--- a/print/pstotext/Makefile
+++ b/print/pstotext/Makefile
@@ -5,11 +5,10 @@ PORTNAME= pstotext
PORTVERSION= 1.9
PORTREVISION= 4
CATEGORIES= print
-MASTER_SITES= http://ftp.gwdg.de/pub/%SUBDIR%/ \
- http://ftp.sunet.se/pub/text-processing/postscript/interpreters/%SUBDIR%/ \
- http://gd.tuwien.ac.at/pub/publishing/%SUBDIR%/ \
+MASTER_SITES= http://ftp.gwdg.de/pub/ghostscript/contrib/ \
+ http://ftp.sunet.se/pub/text-processing/postscript/interpreters/ghostscript/contrib/ \
+ http://gd.tuwien.ac.at/pub/publishing/ghostscript/contrib/ \
http://fossies.org/unix/misc/
-MASTER_SITE_SUBDIR= ghostscript/contrib
MAINTAINER= ports@FreeBSD.org
COMMENT= PostScript to Text converter
diff --git a/print/psutils/Makefile b/print/psutils/Makefile
index 7183abc..302d446 100644
--- a/print/psutils/Makefile
+++ b/print/psutils/Makefile
@@ -7,8 +7,7 @@ PORTREVISION= 5
CATEGORIES= print
MASTER_SITES= ftp://ftp.dcs.ed.ac.uk/pub/ajcd/ \
ftp://ftp.knackered.org/pub/psutils/ \
- ${MASTER_SITE_TEX_CTAN}
-MASTER_SITE_SUBDIR= support/psutils
+ TEX_CTAN/support/psutils
DISTNAME= psutils-p17
MAINTAINER= hrs@FreeBSD.org
diff --git a/print/py-reportlab1/Makefile b/print/py-reportlab1/Makefile
index 544f3c4..135c4d9 100644
--- a/print/py-reportlab1/Makefile
+++ b/print/py-reportlab1/Makefile
@@ -6,9 +6,8 @@ PORTVERSION= 1.21.2
PORTREVISION= 3
CATEGORIES= print python
MASTER_SITES= http://www.reportlab.com/ftp/ \
- ${MASTER_SITE_LOCAL:S/$/:accel/} \
+ LOCAL/erwin/:accel \
http://www.cs.nctu.edu.tw/~lwhsu/ports/distfiles/:accel
-MASTER_SITE_SUBDIR= erwin/:accel
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
PKGNAMESUFFIX= 1
DISTFILES= reportlab-${PORTVERSION}.tar.gz \
diff --git a/print/tex/Makefile b/print/tex/Makefile
index 7280d84..35241ab 100644
--- a/print/tex/Makefile
+++ b/print/tex/Makefile
@@ -5,10 +5,8 @@ PORTNAME= tex
PORTVERSION= 3.14159
PORTREVISION= 3
CATEGORIES= print
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= mikeh
-#${MASTER_SITE_TEX_CTAN} XXX distfiles disappeared/moved?
-#MASTER_SITE_SUBDIR= systems/web2c
+MASTER_SITES= LOCAL/mikeh
+#TEX_CTAN/systems/web2c XXX distfiles disappeared/moved?
DISTNAME= web2c-7.2
DISTFILES= web2c-7.2b.tar.gz web-7.2a.tar.gz tex_base.tar.gz cm_tfm.tar.gz \
mf_lib.tar.gz cm_mf.tar.gz modes.mf
diff --git a/print/trueprint/Makefile b/print/trueprint/Makefile
index a9da3f4..cb92997 100644
--- a/print/trueprint/Makefile
+++ b/print/trueprint/Makefile
@@ -4,8 +4,7 @@
PORTNAME= trueprint
PORTVERSION= 5.4
CATEGORIES= print
-MASTER_SITES= ${MASTER_SITE_GNU}
-MASTER_SITE_SUBDIR= trueprint
+MASTER_SITES= GNU
MAINTAINER= danilo@FreeBSD.org
COMMENT= Print program listings on postscript printer
diff --git a/russian/artwiz-ru/Makefile b/russian/artwiz-ru/Makefile
index 6d2c0e8..0314fd1 100644
--- a/russian/artwiz-ru/Makefile
+++ b/russian/artwiz-ru/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 20041031
PORTREVISION= 3
CATEGORIES= russian x11-fonts
MASTER_SITES= http://dev.gentoo.org/~sergey/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= novel
+ LOCAL/novel
DISTNAME= artwiz_ru
MAINTAINER= novel@FreeBSD.org
diff --git a/russian/bugzilla44/Makefile b/russian/bugzilla44/Makefile
index dd84096..d496ab6 100644
--- a/russian/bugzilla44/Makefile
+++ b/russian/bugzilla44/Makefile
@@ -3,8 +3,7 @@
PORTNAME= bugzilla
PORTVERSION= 4.4.4
CATEGORIES= russian
-MASTER_SITES= SF
-MASTER_SITE_SUBDIR=bugzilla-ru/bugzilla-${PORTVERSION:R}-ru/${PORTVERSION}
+MASTER_SITES= SF/bugzilla-ru/bugzilla-${PORTVERSION:R}-ru/${PORTVERSION}
DISTNAME= bugzilla-${PORTVERSION}-ru-20140422
MAINTAINER= bz-ports@FreeBSD.org
diff --git a/science/crf++/Makefile b/science/crf++/Makefile
index 6ca7508..f64ca10 100644
--- a/science/crf++/Makefile
+++ b/science/crf++/Makefile
@@ -5,8 +5,7 @@ PORTNAME= crf++
PORTVERSION= 0.54
PORTREVISION= 1
CATEGORIES= science math
-MASTER_SITES= SF/crfpp/crfpp/${PORTVERSION} \
- ${MASTER_SITE_LOCAL}
+MASTER_SITES= SF/crfpp/crfpp/${PORTVERSION}
DISTNAME= CRF++-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
diff --git a/science/fisicalab/Makefile b/science/fisicalab/Makefile
index 80269f6..dd13571 100644
--- a/science/fisicalab/Makefile
+++ b/science/fisicalab/Makefile
@@ -4,8 +4,7 @@ PORTNAME= fisicalab
PORTVERSION= 0.3.3
PORTREVISION= 2
CATEGORIES= science gnustep
-MASTER_SITES= ${MASTER_SITE_SAVANNAH}
-MASTER_SITE_SUBDIR= fisicalab
+MASTER_SITES= SAVANNAH
MAINTAINER= theraven@FreeBSD.org
COMMENT= Physics simulation program for educational use
diff --git a/science/gchemutils/Makefile b/science/gchemutils/Makefile
index d25b624..5cb08b6 100644
--- a/science/gchemutils/Makefile
+++ b/science/gchemutils/Makefile
@@ -4,8 +4,7 @@
PORTNAME= gchemutils
PORTVERSION= 0.14.10
CATEGORIES= science
-MASTER_SITES= ${MASTER_SITE_SAVANNAH}
-MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTVERSION:R}
+MASTER_SITES= SAVANNAH/${PORTNAME}/${PORTVERSION:R}
DISTNAME= gnome-chemistry-utils-${PORTVERSION}
MAINTAINER= kwm@FreeBSD.org
diff --git a/science/p5-Geo-Coordinates-Converter/Makefile b/science/p5-Geo-Coordinates-Converter/Makefile
index f38f1df..1e626ac 100644
--- a/science/p5-Geo-Coordinates-Converter/Makefile
+++ b/science/p5-Geo-Coordinates-Converter/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 0.13
PORTREVISION= 1
CATEGORIES= science geography perl5
MASTER_SITES= CPAN
-#MASTER_SITE_SUBDIR= CPAN:YAPPO
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
diff --git a/science/py-pydicom/Makefile b/science/py-pydicom/Makefile
index bcd9a78..7e30622 100644
--- a/science/py-pydicom/Makefile
+++ b/science/py-pydicom/Makefile
@@ -4,7 +4,7 @@
PORTNAME= pydicom
PORTVERSION= 0.9.8
CATEGORIES= science python
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= wen@FreeBSD.org
diff --git a/science/py-scikit-learn/Makefile b/science/py-scikit-learn/Makefile
index 0afb03f..0c27f0a 100644
--- a/science/py-scikit-learn/Makefile
+++ b/science/py-scikit-learn/Makefile
@@ -4,8 +4,7 @@
PORTNAME= scikit-learn
PORTVERSION= 0.16.0
CATEGORIES= science python
-MASTER_SITES= ${MASTER_SITE_CHEESESHOP}
-MASTER_SITE_SUBDIR=source/s/scikit-learn
+MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= demon@FreeBSD.org
diff --git a/science/simsmith/Makefile b/science/simsmith/Makefile
index f460a59..1c23465 100644
--- a/science/simsmith/Makefile
+++ b/science/simsmith/Makefile
@@ -5,8 +5,7 @@ PORTNAME= simsmith
PORTVERSION= 9.9
CATEGORIES= science hamradio
MASTER_SITES= http://ae6ty.com/Smith_Charts_files/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= shurd
+ LOCAL/shurd
DISTNAME= SimSmith9p9
EXTRACT_SUFX= .jar
EXTRACT_ONLY=
diff --git a/science/xfce4-equake-plugin/Makefile b/science/xfce4-equake-plugin/Makefile
index 38e50b7..6157a0c 100644
--- a/science/xfce4-equake-plugin/Makefile
+++ b/science/xfce4-equake-plugin/Makefile
@@ -4,8 +4,7 @@
PORTNAME= xfce4-equake-plugin
PORTVERSION= 1.3.7
CATEGORIES= science xfce
-MASTER_SITES= XFCE
-MASTER_SITE_SUBDIR= src/panel-plugins/${PORTNAME}/${PORTVERSION:R}
+MASTER_SITES= XFCE/src/panel-plugins/${PORTNAME}/${PORTVERSION:R}
DIST_SUBDIR= xfce4
MAINTAINER= xfce@FreeBSD.org
diff --git a/security/ADMsmb/Makefile b/security/ADMsmb/Makefile
index 8f51425..95ccff2 100644
--- a/security/ADMsmb/Makefile
+++ b/security/ADMsmb/Makefile
@@ -4,8 +4,7 @@
PORTNAME= ADMsmb
PORTVERSION= 0.3
CATEGORIES= security
-MASTER_SITES= ${MASTER_SITE_PACKETSTORM}
-MASTER_SITE_SUBDIR= groups/ADM
+MASTER_SITES= PACKETSTORM/groups/ADM
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
diff --git a/security/ADMsnmp/Makefile b/security/ADMsnmp/Makefile
index c2bbec3..3bb613a 100644
--- a/security/ADMsnmp/Makefile
+++ b/security/ADMsnmp/Makefile
@@ -6,14 +6,14 @@ PORTVERSION= 0.1
CATEGORIES= security
MASTER_SITES= ftp://adm.freelsd.net/pub/ADM/ \
http://adm.freelsd.net/ADM/ \
- ${MASTER_SITE_PACKETSTORM:=groups/ADM/}
+ PACKETSTORM/groups/ADM
DISTNAME= ${PORTNAME}.${PORTVERSION}
-EXTRACT_SUFX= .tgz
MAINTAINER= onatan@gmail.com
COMMENT= SNMP audit scanner
WRKSRC= ${WRKDIR}/ADMsnmp
+USES= tar:tgz
do-build:
${CC} ${CFLAGS} -DPORTSHAREDIR="${PREFIX}/share/ADMsnmp" \
diff --git a/security/amap/Makefile b/security/amap/Makefile
index 3132004..4975a33 100644
--- a/security/amap/Makefile
+++ b/security/amap/Makefile
@@ -5,8 +5,7 @@ PORTNAME= amap
PORTVERSION= 5.2
PORTREVISION= 1
CATEGORIES= security
-MASTER_SITES= ${MASTER_SITE_PACKETSTORM}
-MASTER_SITE_SUBDIR= groups/thc
+MASTER_SITES= PACKETSTORM/groups/thc
MAINTAINER= onatan@gmail.com
COMMENT= Application mapper
diff --git a/security/amavis-stats/Makefile b/security/amavis-stats/Makefile
index db58d99..ae7bf49 100644
--- a/security/amavis-stats/Makefile
+++ b/security/amavis-stats/Makefile
@@ -5,8 +5,7 @@ PORTNAME= amavis-stats
PORTVERSION= 0.1.12
PORTREVISION= 4
CATEGORIES= security
-MASTER_SITES= LOCAL
-MASTER_SITE_SUBDIR= feld
+MASTER_SITES= LOCAL/feld
MAINTAINER= feld@FreeBSD.org
COMMENT= Simple AMaViS statistics generator based on rrdtool
diff --git a/security/apache-xml-security-c/Makefile b/security/apache-xml-security-c/Makefile
index 90dcfcf..6ea0679 100644
--- a/security/apache-xml-security-c/Makefile
+++ b/security/apache-xml-security-c/Makefile
@@ -5,8 +5,7 @@ PORTNAME= xml-security-c
PORTVERSION= 1.7.2
PORTREVISION= 1
CATEGORIES= security
-MASTER_SITES= ${MASTER_SITE_APACHE}
-MASTER_SITE_SUBDIR=santuario/c-library
+MASTER_SITES= APACHE/santuario/c-library
PKGNAMEPREFIX= apache-
MAINTAINER= girgen@FreeBSD.org
diff --git a/security/arirang/Makefile b/security/arirang/Makefile
index 021af39..68e39c5 100644
--- a/security/arirang/Makefile
+++ b/security/arirang/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 2.03
PORTEPOCH= 1
CATEGORIES= security www
MASTER_SITES= http://monkey.org/~pilot/arirang/
-MASTER_SITE_SUBDIR= UNIX/cgi-scanners
MAINTAINER= ports@FreeBSD.org
COMMENT= Powerful webserver security scanner for network
diff --git a/security/axTLS/Makefile b/security/axTLS/Makefile
index 15d6eab..ae7e66a 100644
--- a/security/axTLS/Makefile
+++ b/security/axTLS/Makefile
@@ -5,8 +5,7 @@ PORTNAME= axTLS
PORTVERSION= 1.4.9
PORTREVISION= 2
CATEGORIES= security devel net
-MASTER_SITES= SF
-MASTER_SITE_SUBDIR= ${PORTNAME:tl}/${PORTVERSION}
+MASTER_SITES= SF/${PORTNAME:tl}/${PORTVERSION}
MAINTAINER= umq@ueo.co.jp
COMMENT= SSL/TLS client/server library implementation
diff --git a/security/blindelephant/Makefile b/security/blindelephant/Makefile
index cc37507..9770135 100644
--- a/security/blindelephant/Makefile
+++ b/security/blindelephant/Makefile
@@ -5,9 +5,8 @@ PORTNAME= blindelephant
PORTVERSION= 1.0
PORTREVISION= 20100819
CATEGORIES= security www
-MASTER_SITES= ${MASTER_SITE_LOCAL} \
+MASTER_SITES= LOCAL/niels \
http://people.freebsd.org/~niels/distfiles/
-MASTER_SITE_SUBDIR= niels
DISTNAME= ${PORTNAME}-${PORTREVISION}
MAINTAINER= ports@FreeBSD.org
diff --git a/security/bruteforceblocker/Makefile b/security/bruteforceblocker/Makefile
index f53fa59..b2f68a6 100644
--- a/security/bruteforceblocker/Makefile
+++ b/security/bruteforceblocker/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 1.2.3
PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= http://danger.rulez.sk/projects/bruteforceblocker/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= pav
+ LOCAL/pav
MAINTAINER= danger@FreeBSD.org
COMMENT= Checks for SSH bruteforce and blocks given IPs
diff --git a/security/bsmtrace/Makefile b/security/bsmtrace/Makefile
index adfa8e2..661f005 100644
--- a/security/bsmtrace/Makefile
+++ b/security/bsmtrace/Makefile
@@ -5,8 +5,7 @@ PORTNAME= bsmtrace
PORTVERSION= 1.4
PORTREVISION= 0
CATEGORIES= security
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= csjp
+MASTER_SITES= LOCAL/csjp
MAINTAINER= alm@FreeBSD.org
COMMENT= BSM based intrusion detection system
diff --git a/security/ccsrch/Makefile b/security/ccsrch/Makefile
index 651eb61..c649918 100644
--- a/security/ccsrch/Makefile
+++ b/security/ccsrch/Makefile
@@ -5,9 +5,7 @@ PORTNAME= ccsrch
PORTVERSION= 1.0.3
PORTREVISION= 1
CATEGORIES= security
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTNAME}/Version%20${PORTVERSION}
-EXTRACT_SUFX= .tgz
+MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/Version%20${PORTVERSION}
MAINTAINER= pavelivolkov@gmail.com
COMMENT= Is a tool that searches for credit card numbers (PAN) and track data
@@ -16,6 +14,7 @@ LICENSE= GPLv2
OPTIONS_DEFINE= DOCS
+USES= tar:tgz
PORTDOCS= README
PLIST_FILES= bin/${PORTNAME}
diff --git a/security/checkpassword/Makefile b/security/checkpassword/Makefile
index f5d558c..71fc1c7 100644
--- a/security/checkpassword/Makefile
+++ b/security/checkpassword/Makefile
@@ -5,8 +5,7 @@ PORTNAME= checkpassword
PORTVERSION= 0.90
CATEGORIES= security
MASTER_SITES= http://cr.yp.to/checkpwd/ \
- ${MASTER_SITE_GENTOO}
-MASTER_SITE_SUBDIR= distfiles
+ GENTOO
MAINTAINER= garga@FreeBSD.org
COMMENT= Simple password-checking interface
diff --git a/security/clambc/Makefile b/security/clambc/Makefile
index 332aa6e..4371d3d 100644
--- a/security/clambc/Makefile
+++ b/security/clambc/Makefile
@@ -4,8 +4,7 @@
PORTNAME= clambc
DISTVERSION= 0.98.5rc1
CATEGORIES= security
-MASTER_SITES= SF
-MASTER_SITE_SUBDIR= clamav/${PORTNAME:tl}
+MASTER_SITES= SF/clamav/${PORTNAME:tl}
MAINTAINER= zi@FreeBSD.org
COMMENT= Bytecode signature compiler for ClamAV
diff --git a/security/courier-authlib/Makefile b/security/courier-authlib/Makefile
index c2c669a..a4f7795 100644
--- a/security/courier-authlib/Makefile
+++ b/security/courier-authlib/Makefile
@@ -7,7 +7,6 @@ PORTREVISION?= 0
CATEGORIES?= security mail
.if defined(PKGNAMESUFFIX)
MASTER_SITES= SF/courier/authlib/${PORTVERSION}
-MASTER_SITE_SUBDIR= courier
.else
MASTER_SITES= # empty
DISTFILES= # empty
diff --git a/security/cracklib/Makefile b/security/cracklib/Makefile
index f38921b..9e3237d 100644
--- a/security/cracklib/Makefile
+++ b/security/cracklib/Makefile
@@ -8,7 +8,7 @@ CATEGORIES= security
CATEGORIES+= python
.endif
MASTER_SITES= SF \
- LOCAL/${MAINTAINER:C/([^@]*)@.*/\1/}
+ LOCAL/cy
MAINTAINER= cy@FreeBSD.org
COMMENT?= Password-checking library
diff --git a/security/cryptstring/Makefile b/security/cryptstring/Makefile
index ee126d4..612d099 100644
--- a/security/cryptstring/Makefile
+++ b/security/cryptstring/Makefile
@@ -4,7 +4,7 @@
PORTNAME= cryptstring
PORTVERSION= 0.2
CATEGORIES= security
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
MAINTAINER= ports@FreeBSD.org
COMMENT= Crypto Strings for PHP
diff --git a/security/dcetest/Makefile b/security/dcetest/Makefile
index 3c57554..aa52beb 100644
--- a/security/dcetest/Makefile
+++ b/security/dcetest/Makefile
@@ -4,8 +4,7 @@
PORTNAME= dcetest
PORTVERSION= 1.2
CATEGORIES= security
-MASTER_SITES= ${MASTER_SITE_PACKETSTORM}
-MASTER_SITE_SUBDIR= UNIX/scanners
+MASTER_SITES= PACKETSTORM/UNIX/scanners
MAINTAINER= onatan@gmail.com
COMMENT= Utility to dump MSRPC endpoint information from Windows systems
diff --git a/security/digest/Makefile b/security/digest/Makefile
index b66ebd1..2c20699 100644
--- a/security/digest/Makefile
+++ b/security/digest/Makefile
@@ -5,8 +5,7 @@ PORTNAME?= digest
PORTVERSION?= 20050323
PORTREVISION= 1
CATEGORIES?= security sysutils
-MASTER_SITES?= ${MASTER_SITE_NETBSD}
-MASTER_SITE_SUBDIR= ../../misc/digest
+MASTER_SITES?= NETBSD/../../misc/digest
MAINTAINER?= ports@FreeBSD.org
COMMENT?= Message digest wrapper utility
diff --git a/security/dirmngr/Makefile b/security/dirmngr/Makefile
index bb3bec1..0b11ba2 100644
--- a/security/dirmngr/Makefile
+++ b/security/dirmngr/Makefile
@@ -5,8 +5,7 @@ PORTNAME= dirmngr
PORTVERSION= 1.1.0
PORTREVISION= 13
CATEGORIES= security
-MASTER_SITES= ${MASTER_SITE_GNUPG}
-MASTER_SITE_SUBDIR= dirmngr
+MASTER_SITES= GNUPG
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}${EXTRACT_SUFX}.sig
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
diff --git a/security/dmitry/Makefile b/security/dmitry/Makefile
index 69ab6ab..e4d887d 100644
--- a/security/dmitry/Makefile
+++ b/security/dmitry/Makefile
@@ -4,8 +4,7 @@
PORTNAME= dmitry
PORTVERSION= 1.3a
CATEGORIES= security
-MASTER_SITES= ${MASTER_SITE_PACKETSTORM}
-MASTER_SITE_SUBDIR= UNIX/misc
+MASTER_SITES= PACKETSTORM/UNIX/misc
DISTNAME= DMitry-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
diff --git a/security/dradis/Makefile b/security/dradis/Makefile
index 2a0bf4b..96434ff 100644
--- a/security/dradis/Makefile
+++ b/security/dradis/Makefile
@@ -2,11 +2,10 @@
# $FreeBSD$
PORTNAME= dradis
+DISTVERSIONPREFIX= v
DISTVERSION= 2.6.1
CATEGORIES= security
-MASTER_SITES= SF
-MASTER_SITE_SUBDIR=${PORTNAME:tl}/${PORTNAME:tl}/v${PORTVERSION}
-DISTNAME= ${PORTNAME}-v${PORTVERSION}
+MASTER_SITES= SF/${PORTNAME:tl}/${PORTNAME:tl}/v${PORTVERSION}
MAINTAINER= semprix@gmx.com
COMMENT= Opensource framework to enable effective information gathering
diff --git a/security/easypg/Makefile b/security/easypg/Makefile
index 557a14b..ac2d182 100644
--- a/security/easypg/Makefile
+++ b/security/easypg/Makefile
@@ -5,8 +5,7 @@ PORTNAME= easypg
PORTVERSION= 0.0.16
PORTREVISION= 14
CATEGORIES= security elisp
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP}
-MASTER_SITE_SUBDIR= epg/29289
+MASTER_SITES= SFJP/epg/29289
DISTNAME= epg-${PORTVERSION}
MAINTAINER= iwazaki8@yahoo.co.jp
diff --git a/security/fakeroot/Makefile b/security/fakeroot/Makefile
index f96e03e..7693dff 100644
--- a/security/fakeroot/Makefile
+++ b/security/fakeroot/Makefile
@@ -4,8 +4,7 @@
PORTNAME= fakeroot
PORTVERSION= 1.20.2
CATEGORIES= security
-MASTER_SITES= ${MASTER_SITE_DEBIAN}
-MASTER_SITE_SUBDIR= pool/main/f/fakeroot
+MASTER_SITES= DEBIAN
DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
MAINTAINER= martymac@FreeBSD.org
diff --git a/security/flawfinder/Makefile b/security/flawfinder/Makefile
index bbca190..adbf1fd 100644
--- a/security/flawfinder/Makefile
+++ b/security/flawfinder/Makefile
@@ -5,8 +5,7 @@ PORTNAME= flawfinder
PORTVERSION= 1.31
CATEGORIES= security devel
MASTER_SITES= http://www.dwheeler.com/flawfinder/ \
- ${MASTER_SITE_PACKETSTORM}
-MASTER_SITE_SUBDIR= UNIX/security
+ PACKETSTORM/UNIX/security
MAINTAINER= lx@FreeBSD.org
COMMENT= Examines source code looking for security weaknesses
diff --git a/security/fprint_demo/Makefile b/security/fprint_demo/Makefile
index 94b5310..2cac74d 100644
--- a/security/fprint_demo/Makefile
+++ b/security/fprint_demo/Makefile
@@ -5,8 +5,7 @@ PORTNAME= fprint_demo
PORTVERSION= 20080303
PORTREVISION= 1
CATEGORIES= security
-MASTER_SITES= ${MASTER_SITE_DEBIAN}
-MASTER_SITE_SUBDIR= pool/main/f/${PORTNAME:C/_/-/}
+MASTER_SITES= DEBIAN/pool/main/f/${PORTNAME:C/_/-/}
DISTNAME= ${PORTNAME:C/_/-/}_${PORTVERSION}git.orig
MAINTAINER= lichray@gmail.com
diff --git a/security/fragroute/Makefile b/security/fragroute/Makefile
index 70f3b71..ff171f2 100644
--- a/security/fragroute/Makefile
+++ b/security/fragroute/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 1.2
PORTREVISION= 12
CATEGORIES= security net
MASTER_SITES= http://monkey.org/~dugsong/fragroute/ \
- ${MASTER_SITE_PACKETSTORM}
-MASTER_SITE_SUBDIR= UNIX/security
+ PACKETSTORM/UNIX/security
MAINTAINER= ports@FreeBSD.org
COMMENT= Tool for intercepting, modifying, and rewriting egress traffic
diff --git a/security/fuzzdb/Makefile b/security/fuzzdb/Makefile
index d24843d..76023df 100644
--- a/security/fuzzdb/Makefile
+++ b/security/fuzzdb/Makefile
@@ -4,12 +4,12 @@
PORTNAME= fuzzdb
PORTVERSION= 1.09
CATEGORIES= security www
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
-EXTRACT_SUFX= .tgz
+MASTER_SITES= GOOGLE_CODE
MAINTAINER= ports@FreeBSD.org
COMMENT= Comprehensive set of fuzzing patterns
+USES= tar:tgz
NO_BUILD= yes
EXTRACT_AFTER_ARGS= --exclude .svn
PORTDOCS= _copyright.txt _readme.txt
diff --git a/security/gnupg/Makefile b/security/gnupg/Makefile
index 072d056..93f673d 100644
--- a/security/gnupg/Makefile
+++ b/security/gnupg/Makefile
@@ -4,7 +4,7 @@ PORTNAME= gnupg
PORTVERSION= 2.1.2
PORTREVISION= 1
CATEGORIES= security
-MASTER_SITES= GNUPG/gnupg
+MASTER_SITES= GNUPG
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}${EXTRACT_SUFX}.sig
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
diff --git a/security/gnupg1/Makefile b/security/gnupg1/Makefile
index 6c2d31f..8b26014 100644
--- a/security/gnupg1/Makefile
+++ b/security/gnupg1/Makefile
@@ -4,8 +4,7 @@ PORTNAME= gnupg
PORTVERSION= 1.4.19
#PORTREVISION= 0
CATEGORIES= security
-MASTER_SITES= ${MASTER_SITE_GNUPG}
-MASTER_SITE_SUBDIR= gnupg
+MASTER_SITES= GNUPG
PKGNAMESUFFIX= 1
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}${EXTRACT_SUFX}.sig
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
diff --git a/security/gnupg20/Makefile b/security/gnupg20/Makefile
index f4290e09..f4c5607 100644
--- a/security/gnupg20/Makefile
+++ b/security/gnupg20/Makefile
@@ -4,8 +4,7 @@ PORTNAME= gnupg
PORTVERSION= 2.0.27
#PORTREVISION= 0
CATEGORIES= security
-MASTER_SITES= ${MASTER_SITE_GNUPG}
-MASTER_SITE_SUBDIR= gnupg
+MASTER_SITES= GNUPG
PKGNAMESUFFIX= 20
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}${EXTRACT_SUFX}.sig
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
diff --git a/security/gwee/Makefile b/security/gwee/Makefile
index 3f41959..abcaa04 100644
--- a/security/gwee/Makefile
+++ b/security/gwee/Makefile
@@ -4,8 +4,7 @@
PORTNAME= gwee
PORTVERSION= 1.36
CATEGORIES= security www
-MASTER_SITES= PACKETSTORM
-MASTER_SITE_SUBDIR= UNIX/utilities
+MASTER_SITES= PACKETSTORM/UNIX/utilities
MAINTAINER= ports@FreeBSD.org
COMMENT= Tool to exploit command execution vulnerabilities in web scripts
diff --git a/security/honggfuzz/Makefile b/security/honggfuzz/Makefile
index 5f8a237..5e743a5 100644
--- a/security/honggfuzz/Makefile
+++ b/security/honggfuzz/Makefile
@@ -5,7 +5,7 @@ PORTNAME= honggfuzz
PORTVERSION= 0.3
PORTREVISION= 1
CATEGORIES= security
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
MAINTAINER= sbz@FreeBSD.org
COMMENT= General-purpose fuzzer with simple, command-line interface
diff --git a/security/hotssh/Makefile b/security/hotssh/Makefile
index 5aafc43..d1fe5c3 100644
--- a/security/hotssh/Makefile
+++ b/security/hotssh/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 0.2.7
PORTREVISION= 5
CATEGORIES= security gnome
MASTER_SITES= GNOME
-MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
MAINTAINER= ashish@FreeBSD.org
COMMENT= HotSSH is an interface to Secure Shell, for GNOME and OpenSSH
diff --git a/security/iaikpkcs11wrapper/Makefile b/security/iaikpkcs11wrapper/Makefile
index cda85e0..27efc67 100644
--- a/security/iaikpkcs11wrapper/Makefile
+++ b/security/iaikpkcs11wrapper/Makefile
@@ -4,8 +4,7 @@
PORTNAME= iaikPkcs11Wrapper
PORTVERSION= 1.2.18
CATEGORIES= security java devel
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= ale
+MASTER_SITES= LOCAL/ale
DISTNAME= ${PORTNAME}_${PORTVERSION:S/./_/g}
MAINTAINER= ale@FreeBSD.org
diff --git a/security/isnprober/Makefile b/security/isnprober/Makefile
index 1a53de8..69323c3 100644
--- a/security/isnprober/Makefile
+++ b/security/isnprober/Makefile
@@ -5,8 +5,7 @@ PORTNAME= isnprober
PORTVERSION= 1.02
CATEGORIES= security
MASTER_SITES= ftp://ftp.ubizen.com/tools/ \
- ${MASTER_SITE_PACKETSTORM}
-MASTER_SITE_SUBDIR= UNIX/scanners
+ PACKETSTORM/UNIX/scanners
MAINTAINER= onatan@gmail.com
COMMENT= PenTest tool for TCP Initial Sequence Numbers research
diff --git a/security/keychain/Makefile b/security/keychain/Makefile
index 2f7d3a6..37c70ca 100644
--- a/security/keychain/Makefile
+++ b/security/keychain/Makefile
@@ -6,7 +6,7 @@ PORTVERSION= 2.8.0
PORTREVISION= 2
CATEGORIES= security
MASTER_SITES= http://www.funtoo.org/archive/keychain/ \
- GENTOO/distfiles
+ GENTOO
MAINTAINER= garga@FreeBSD.org
COMMENT= User-friendly front-end to ssh-agent(1)
diff --git a/security/keyprint/Makefile b/security/keyprint/Makefile
index 96365a7..0c30335 100644
--- a/security/keyprint/Makefile
+++ b/security/keyprint/Makefile
@@ -4,8 +4,7 @@
PORTNAME= keyprint
PORTVERSION= 1.0
CATEGORIES= security
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= mharo
+MASTER_SITES= LOCAL/mharo
MAINTAINER= ports@FreeBSD.org
COMMENT= Print S/Key keys on a piece of paper, twice the size of a credit card
diff --git a/security/kripp/Makefile b/security/kripp/Makefile
index c765ee7..cac3124 100644
--- a/security/kripp/Makefile
+++ b/security/kripp/Makefile
@@ -4,9 +4,8 @@
PORTNAME= kripp
PORTVERSION= 0.6.1
CATEGORIES= security
-MASTER_SITES= ${MASTER_SITE_PACKETSTORM} \
+MASTER_SITES= PACKETSTORM/sniffers \
http://konst.org.ua/download/
-MASTER_SITE_SUBDIR= sniffers
MAINTAINER= ports@FreeBSD.org
COMMENT= Lightweight network password sniffer
diff --git a/security/l0pht-watch/Makefile b/security/l0pht-watch/Makefile
index 8e427d0..bd6b75f 100644
--- a/security/l0pht-watch/Makefile
+++ b/security/l0pht-watch/Makefile
@@ -4,8 +4,7 @@
PORTNAME= l0pht-watch
PORTVERSION= 1.1
CATEGORIES= security
-MASTER_SITES= LOCAL
-MASTER_SITE_SUBDIR= vs
+MASTER_SITES= LOCAL/vs
DISTNAME= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
diff --git a/security/libgcrypt/Makefile b/security/libgcrypt/Makefile
index bc83474..f98b29f 100644
--- a/security/libgcrypt/Makefile
+++ b/security/libgcrypt/Makefile
@@ -3,8 +3,7 @@
PORTNAME= libgcrypt
PORTVERSION= 1.6.3
CATEGORIES= security
-MASTER_SITES= ${MASTER_SITE_GNUPG}
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= GNUPG
MAINTAINER= cpm@fbsd.es
COMMENT= General purpose crypto library based on code used in GnuPG
diff --git a/security/libgpg-error/Makefile b/security/libgpg-error/Makefile
index c28761d..522e7ab 100644
--- a/security/libgpg-error/Makefile
+++ b/security/libgpg-error/Makefile
@@ -4,8 +4,7 @@
PORTNAME= libgpg-error
PORTVERSION= 1.19
CATEGORIES= security devel
-MASTER_SITES= ${MASTER_SITE_GNUPG}
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= GNUPG
MAINTAINER= novel@FreeBSD.org
COMMENT= Common error values for all GnuPG components
diff --git a/security/libressl/Makefile b/security/libressl/Makefile
index 454b8c4..93b7559 100644
--- a/security/libressl/Makefile
+++ b/security/libressl/Makefile
@@ -4,8 +4,7 @@
PORTNAME= libressl
PORTVERSION= 2.1.6
CATEGORIES= security devel
-MASTER_SITES= ${MASTER_SITE_OPENBSD}
-MASTER_SITE_SUBDIR= LibreSSL
+MASTER_SITES= OPENBSD/LibreSSL
MAINTAINER= vsevolod@FreeBSD.org
COMMENT= Free version of the SSL/TLS protocol forked from OpenSSL
diff --git a/security/libtasn1/Makefile b/security/libtasn1/Makefile
index 5087cac..0ad17c1 100644
--- a/security/libtasn1/Makefile
+++ b/security/libtasn1/Makefile
@@ -4,8 +4,7 @@
PORTNAME= libtasn1
PORTVERSION= 4.5
CATEGORIES= security
-MASTER_SITES= ${MASTER_SITE_GNU}
-MASTER_SITE_SUBDIR= libtasn1
+MASTER_SITES= GNU
MAINTAINER= novel@FreeBSD.org
COMMENT= ASN.1 structure parser library
diff --git a/security/logcheck/Makefile b/security/logcheck/Makefile
index fa2345f..dd99045 100644
--- a/security/logcheck/Makefile
+++ b/security/logcheck/Makefile
@@ -4,7 +4,7 @@
PORTNAME= logcheck
PORTVERSION= 1.3.17
CATEGORIES= security
-MASTER_SITES= ${MASTER_SITE_DEBIAN_POOL}
+MASTER_SITES= DEBIAN_POOL
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= yasu@utahime.org
diff --git a/security/makepasswd/Makefile b/security/makepasswd/Makefile
index 22af577..328c4c8 100644
--- a/security/makepasswd/Makefile
+++ b/security/makepasswd/Makefile
@@ -5,12 +5,11 @@ PORTNAME= makepasswd
PORTVERSION= 1.10
PORTREVISION= 6
CATEGORIES= security
-MASTER_SITES= ${MASTER_SITE_DEBIAN_POOL}
+MASTER_SITES= DEBIAN_POOL
DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
PATCHFILES= ${PORTNAME}_${PORTVERSION}-5.diff.gz
PATCH_SITES= ${MASTER_SITES}
-PATCH_SITE_SUBDIR= ${MASTER_SITE_SUBDIR}
PATCH_DIST_STRIP= -p1
MAINTAINER= toni.viemero@iki.fi
diff --git a/security/mindterm-binary/Makefile b/security/mindterm-binary/Makefile
index 726194f..f4fc210 100644
--- a/security/mindterm-binary/Makefile
+++ b/security/mindterm-binary/Makefile
@@ -5,8 +5,7 @@ PORTNAME= mindterm-binary
PORTVERSION= 1.2.1
PORTREVISION= 1
CATEGORIES= security
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= alex
+MASTER_SITES= LOCAL/alex
DISTNAME= mindtermbin-v121
DISTFILES= mindterm-ssh.html ${EXTRACT_ONLY}
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
diff --git a/security/nettle/Makefile b/security/nettle/Makefile
index 001df2f..0064992 100644
--- a/security/nettle/Makefile
+++ b/security/nettle/Makefile
@@ -4,10 +4,9 @@
PORTNAME= nettle
PORTVERSION= 2.7.1
CATEGORIES= security
-MASTER_SITES= ${MASTER_SITE_GNU} \
+MASTER_SITES= GNU \
http://www.lysator.liu.se/~nisse/archive/:liu \
ftp://ftp.lysator.liu.se/pub/security/lsh/:liu
-MASTER_SITE_SUBDIR= ${PORTNAME}/:DEFAULT
MAINTAINER= johans@FreeBSD.org
COMMENT= Low-level cryptographic library
diff --git a/security/oath-toolkit/Makefile b/security/oath-toolkit/Makefile
index fe39623..67131b6 100644
--- a/security/oath-toolkit/Makefile
+++ b/security/oath-toolkit/Makefile
@@ -5,8 +5,7 @@ PORTNAME= oath-toolkit
PORTVERSION= 2.4.1
PORTREVISION= 1
CATEGORIES= security
-MASTER_SITES= ${MASTER_SITE_SAVANNAH}
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= SAVANNAH
MAINTAINER= ale@FreeBSD.org
COMMENT= Library, tools, and PAM module for OATH authentication
diff --git a/security/opencdk/Makefile b/security/opencdk/Makefile
index 84bba74..eb148f1 100644
--- a/security/opencdk/Makefile
+++ b/security/opencdk/Makefile
@@ -7,7 +7,6 @@ PORTREVISION= 8
PORTEPOCH= 1
CATEGORIES= security
MASTER_SITES= http://josefsson.org/gnutls/releases/opencdk/
-MASTER_SITE_SUBDIR= alpha/gnutls/opencdk
MAINTAINER= novel@FreeBSD.org
COMMENT= Open Crypto Development Kit
diff --git a/security/openssh-portable/Makefile b/security/openssh-portable/Makefile
index f84e4ea..d9bd0aa 100644
--- a/security/openssh-portable/Makefile
+++ b/security/openssh-portable/Makefile
@@ -6,8 +6,7 @@ DISTVERSION= 6.8p1
PORTREVISION= 6
PORTEPOCH= 1
CATEGORIES= security ipv6
-MASTER_SITES= ${MASTER_SITE_OPENBSD}
-MASTER_SITE_SUBDIR= OpenSSH/portable
+MASTER_SITES= OPENBSD/OpenSSH/portable
PKGNAMESUFFIX?= -portable
MAINTAINER= bdrewery@FreeBSD.org
@@ -94,8 +93,7 @@ EXTRA_PATCHES:= ${EXTRA_PATCHES:N${TCP_WRAPPERS_EXTRA_PATCHES}}
PORTDOCS+= HPN-README
HPN_VERSION= 14v5
HPN_DISTVERSION= 6.7p1
-#PATCH_SITES+= ${MASTER_SITE_SOURCEFORGE:S/$/:hpn/}
-#PATCH_SITE_SUBDIR+= hpnssh/HPN-SSH%20${HPN_VERSION}%20${HPN_DISTVERSION}/:hpn
+#PATCH_SITES+= SOURCEFORGE/hpnssh/HPN-SSH%20${HPN_VERSION}%20${HPN_DISTVERSION}/:hpn
#PATCHFILES+= ${PORTNAME}-${HPN_DISTVERSION}-hpnssh${HPN_VERSION}.diff.gz:-p1:hpn
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-hpn:-p2
.endif
diff --git a/security/openssl/Makefile b/security/openssl/Makefile
index 9501eae..58a341f 100644
--- a/security/openssl/Makefile
+++ b/security/openssl/Makefile
@@ -6,10 +6,9 @@ PORTVERSION= 1.0.2
DISTVERSIONSUFFIX= a
PORTREVISION= 1
CATEGORIES= security devel
-MASTER_SITES= http://www.openssl.org/%SUBDIR%/ \
- ftp://ftp.openssl.org/%SUBDIR%/ \
- ftp://ftp.cert.dfn.de/pub/tools/net/openssl/%SUBDIR%/
-MASTER_SITE_SUBDIR= source
+MASTER_SITES= http://www.openssl.org/source/ \
+ ftp://ftp.openssl.org/source/ \
+ ftp://ftp.cert.dfn.de/pub/tools/net/openssl/source/
DIST_SUBDIR= ${DISTNAME}
MAINTAINER= dinoex@FreeBSD.org
diff --git a/security/openvpn-auth-ldap/Makefile b/security/openvpn-auth-ldap/Makefile
index c58d8c5..d1a12fe 100644
--- a/security/openvpn-auth-ldap/Makefile
+++ b/security/openvpn-auth-ldap/Makefile
@@ -5,7 +5,7 @@ PORTNAME= openvpn-auth-ldap
PORTVERSION= 2.0.4.0.s1379
PORTREVISION= 1
CATEGORIES= security
-#MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+#MASTER_SITES= GOOGLE_CODE
MASTER_SITES= LOCAL/mandree
DISTNAME= auth-ldap-${PORTVERSION}
diff --git a/security/outguess/Makefile b/security/outguess/Makefile
index 4a58d22..5ea2d75 100644
--- a/security/outguess/Makefile
+++ b/security/outguess/Makefile
@@ -9,8 +9,7 @@ MASTER_SITES= http://www.outguess.org/ \
http://cimarron.river.com/mirrors/www.outguess.org/ \
http://munitions.vipul.net/software/steganography/ \
http://the25200-1.gw.connect.com.au/security/steganography/ \
- ${MASTER_SITE_PACKETSTORM}
-MASTER_SITE_SUBDIR= crypt/stego
+ PACKETSTORM/crypt/stego
MAINTAINER= ports@FreeBSD.org
COMMENT= Steganographic tool
diff --git a/security/p5-Crypt-CAST5/Makefile b/security/p5-Crypt-CAST5/Makefile
index b86c519..625abb8 100644
--- a/security/p5-Crypt-CAST5/Makefile
+++ b/security/p5-Crypt-CAST5/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 0.05
PORTREVISION= 1
CATEGORIES= security perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Crypt
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
diff --git a/security/p5-Crypt-Juniper/Makefile b/security/p5-Crypt-Juniper/Makefile
index e66d18d..a12fa6c 100644
--- a/security/p5-Crypt-Juniper/Makefile
+++ b/security/p5-Crypt-Juniper/Makefile
@@ -5,8 +5,7 @@ PORTNAME= Crypt-Juniper
PORTVERSION= 0.02
PORTREVISION= 1
CATEGORIES= security perl5
-MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
-MASTER_SITE_SUBDIR= Crypt
+MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= snowfly@yuntech.edu.tw
diff --git a/security/p5-Crypt-Rijndael/Makefile b/security/p5-Crypt-Rijndael/Makefile
index 4b68cba..8418231 100644
--- a/security/p5-Crypt-Rijndael/Makefile
+++ b/security/p5-Crypt-Rijndael/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 1.11
PORTREVISION= 1
CATEGORIES= security perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Crypt
PKGNAMEPREFIX= p5-
MAINTAINER= skreuzer@FreeBSD.org
diff --git a/security/p5-CryptX/Makefile b/security/p5-CryptX/Makefile
index d40bc8e..8316f2c 100644
--- a/security/p5-CryptX/Makefile
+++ b/security/p5-CryptX/Makefile
@@ -5,8 +5,7 @@ PORTNAME= CryptX
PORTVERSION= 0.021
PORTREVISION= 1
CATEGORIES= security perl5
-MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Crypt
+MASTER_SITES= CPAN/Crypt
PKGNAMEPREFIX= p5-
MAINTAINER= vanilla@FreeBSD.org
diff --git a/security/p5-GSSAPI/Makefile b/security/p5-GSSAPI/Makefile
index 505a90a..8468c56 100644
--- a/security/p5-GSSAPI/Makefile
+++ b/security/p5-GSSAPI/Makefile
@@ -5,8 +5,7 @@ PORTNAME= GSSAPI
PORTVERSION= 0.28
PORTREVISION= 1
CATEGORIES= security perl5
-MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= LWP/AGROLMS
+MASTER_SITES= CPAN/LWP/AGROLMS
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
diff --git a/security/p5-MD5/Makefile b/security/p5-MD5/Makefile
index 0c45758..fbef809 100644
--- a/security/p5-MD5/Makefile
+++ b/security/p5-MD5/Makefile
@@ -5,8 +5,7 @@ PORTNAME= MD5
PORTVERSION= 2.03
PORTREVISION= 1
CATEGORIES= security perl5
-MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= ${PORTNAME}/GAAS
+MASTER_SITES= CPAN/${PORTNAME}/GAAS
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
diff --git a/security/p5-Net-Radius-Server/Makefile b/security/p5-Net-Radius-Server/Makefile
index 9f3ca9b..2df5623 100644
--- a/security/p5-Net-Radius-Server/Makefile
+++ b/security/p5-Net-Radius-Server/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 1.116
PORTREVISION= 1
CATEGORIES= security perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Net
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
diff --git a/security/p5-SAVI-Perl/Makefile b/security/p5-SAVI-Perl/Makefile
index 4c75014..4f79896 100644
--- a/security/p5-SAVI-Perl/Makefile
+++ b/security/p5-SAVI-Perl/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 0.30
PORTREVISION= 6
CATEGORIES= security perl5
MASTER_SITES= http://www.csupomona.edu/~henson/archive/projects/SAVI-Perl/dist/
-MASTER_SITE_SUBDIR= security
PKGNAMEPREFIX= p5-
MAINTAINER= pi@FreeBSD.org
diff --git a/security/pam_fprint/Makefile b/security/pam_fprint/Makefile
index 9833326..d1ee036 100644
--- a/security/pam_fprint/Makefile
+++ b/security/pam_fprint/Makefile
@@ -5,8 +5,7 @@ PORTNAME= pam_fprint
PORTVERSION= 20080330
PORTREVISION= 1
CATEGORIES= security
-MASTER_SITES= ${MASTER_SITE_DEBIAN}
-MASTER_SITE_SUBDIR= pool/main/p/${PORTNAME:C/_/-/}
+MASTER_SITES= DEBIAN/pool/main/p/${PORTNAME:C/_/-/}
DISTNAME= ${PORTNAME:C/_/-/}_${PORTVERSION}+git.orig
MAINTAINER= lichray@gmail.com
diff --git a/security/pgpgpg/Makefile b/security/pgpgpg/Makefile
index 7176ab0..fdba7ac 100644
--- a/security/pgpgpg/Makefile
+++ b/security/pgpgpg/Makefile
@@ -5,10 +5,9 @@ PORTNAME= pgpgpg
PORTVERSION= 0.13
PORTREVISION= 4
CATEGORIES= security
-MASTER_SITES= ${MASTER_SITE_PACKETSTORM} \
+MASTER_SITES= PACKETSTORM/crypt/pgpgpg \
ftp://ftp.gnupg.org/gcrypt/historic/ \
http://www.nessie.de/mroth/pgpgpg/
-MASTER_SITE_SUBDIR= crypt/pgpgpg
MAINTAINER= ports@FreeBSD.org
COMMENT= Wrapper for GnuPG to simulate PGP 2.6.x
diff --git a/security/pgpin/Makefile b/security/pgpin/Makefile
index e34c5f6..eddfa10 100644
--- a/security/pgpin/Makefile
+++ b/security/pgpin/Makefile
@@ -3,8 +3,7 @@
PORTNAME= pgpin
PORTVERSION= 010323
CATEGORIES= security
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= dinoex
+MASTER_SITES= LOCAL/dinoex
DISTNAME= pgp263in${PORTVERSION}
EXTRACT_SUFX= .tgz
diff --git a/security/pkcs11-dump/Makefile b/security/pkcs11-dump/Makefile
index b57790c..387b5c7 100644
--- a/security/pkcs11-dump/Makefile
+++ b/security/pkcs11-dump/Makefile
@@ -4,7 +4,7 @@
PORTNAME= pkcs11-dump
PORTVERSION= 0.3.4
CATEGORIES= security
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
MAINTAINER= ale@FreeBSD.org
COMMENT= Allow dumping PKCS\#11 token content
diff --git a/security/pkcs11-gateway/Makefile b/security/pkcs11-gateway/Makefile
index b7817a5..44b420c 100644
--- a/security/pkcs11-gateway/Makefile
+++ b/security/pkcs11-gateway/Makefile
@@ -4,8 +4,7 @@
PORTNAME= pkcs11-gateway
PORTVERSION= 1.2
CATEGORIES= security devel linux
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= ale
+MASTER_SITES= LOCAL/ale
MAINTAINER= ale@FreeBSD.org
COMMENT= Wrapper Cryptoki library to use Linux PKCS\#11 modules
diff --git a/security/pks/Makefile b/security/pks/Makefile
index f6aa862..2e1f490 100644
--- a/security/pks/Makefile
+++ b/security/pks/Makefile
@@ -5,9 +5,8 @@ PORTNAME= pks
PORTVERSION= 0.9.6.20040312
PORTREVISION= 1
CATEGORIES= security www
-MASTER_SITES= http://pks.sourceforge.net/:sf ${MASTER_SITE_LOCAL}:local
-MASTER_SITE_SUBDIR= .:sf mandree:local
-DISTFILES= pks-current.tgz:sf,local
+MASTER_SITES= http://pks.sourceforge.net/ LOCAL/mandree
+DISTFILES= pks-current.tgz
MAINTAINER= tphilipp@potion-studios.com
COMMENT= PGP Public Key Server
diff --git a/security/pulledpork/Makefile b/security/pulledpork/Makefile
index 1216bd7..6257d09 100644
--- a/security/pulledpork/Makefile
+++ b/security/pulledpork/Makefile
@@ -4,7 +4,7 @@
PORTNAME= pulledpork
PORTVERSION= 0.7.0
CATEGORIES= security
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
MAINTAINER= ohauer@FreeBSD.org
COMMENT= Script to update snort-2.8+ rules
diff --git a/security/putty/Makefile b/security/putty/Makefile
index 0d5449e..a9017eb 100644
--- a/security/putty/Makefile
+++ b/security/putty/Makefile
@@ -3,9 +3,8 @@
PORTNAME= putty
PORTVERSION= 0.64
CATEGORIES= security ipv6
-MASTER_SITES= http://the.earth.li/~sgtatham/putty/%SUBDIR%/ \
+MASTER_SITES= http://the.earth.li/~sgtatham/putty/${PORTVERSION}/ \
ftp://ftp.chiark.greenend.org.uk/users/sgtatham/putty-latest/
-MASTER_SITE_SUBDIR= ${PORTVERSION}
# Beat Gaetzi (beat@) is permitted to take maintainership back
# or commit to this port without my prior approval.
diff --git a/security/pwauth/Makefile b/security/pwauth/Makefile
index e6c066e..0d5e737 100644
--- a/security/pwauth/Makefile
+++ b/security/pwauth/Makefile
@@ -4,7 +4,7 @@
PORTNAME= pwauth
PORTVERSION= 2.3.11
CATEGORIES= security www
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} \
+MASTER_SITES= GOOGLE_CODE \
http://www.unixpapa.com/software/
MAINTAINER= eg@fbsd.lt
diff --git a/security/quantis-kmod/Makefile b/security/quantis-kmod/Makefile
index 73791dc..ed32888 100644
--- a/security/quantis-kmod/Makefile
+++ b/security/quantis-kmod/Makefile
@@ -5,8 +5,7 @@ PORTNAME= quantis
DISTVERSION= v13.11.08
CATEGORIES= security
MASTER_SITES= http://www.idquantique.com/~download/Quantis/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= ale
+ LOCAL/ale
PKGNAMESUFFIX= -kmod
DISTNAME= Quantis-${DISTVERSION}-src
diff --git a/security/quantis/Makefile b/security/quantis/Makefile
index c2672ae..f08c842 100644
--- a/security/quantis/Makefile
+++ b/security/quantis/Makefile
@@ -5,8 +5,7 @@ PORTNAME= quantis
DISTVERSION= v13.11.08
CATEGORIES= security devel java
MASTER_SITES= http://www.idquantique.com/~download/Quantis/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= ale
+ LOCAL/ale
DISTNAME= Quantis-${DISTVERSION}-src
MAINTAINER= ale@FreeBSD.org
diff --git a/security/ranpwd/Makefile b/security/ranpwd/Makefile
index 9bdba7b..f56c5e9 100644
--- a/security/ranpwd/Makefile
+++ b/security/ranpwd/Makefile
@@ -6,11 +6,10 @@ PORTVERSION= 1.2
PORTREVISION= 1
CATEGORIES= security
#MASTER_SITES= KERNEL_ORG
-MASTER_SITES= http://artfiles.org/kernel.org/pub/%SUBDIR%/ \
- http://debian.securedservers.com/kernel/pub/%SUBDIR%/ \
- http://ftp.cc.uoc.gr/pub/%SUBDIR%/ \
- http://ftp.naist.jp/pub/Linux/kernel.org/%SUBDIR%/
-MASTER_SITE_SUBDIR= software/utils/admin/ranpwd
+MASTER_SITES= http://artfiles.org/kernel.org/pub/software/utils/admin/ranpwd/ \
+ http://debian.securedservers.com/kernel/pub/software/utils/admin/ranpwd/ \
+ http://ftp.cc.uoc.gr/pub/software/utils/admin/ranpwd/ \
+ http://ftp.naist.jp/pub/Linux/kernel.org/software/utils/admin/ranpwd/
MAINTAINER= ports@FreeBSD.org
COMMENT= Tool to generate random passwords
diff --git a/security/sasp/Makefile b/security/sasp/Makefile
index 91d6edb..08a366c 100644
--- a/security/sasp/Makefile
+++ b/security/sasp/Makefile
@@ -5,9 +5,8 @@ PORTNAME= sasp
PORTVERSION= 0.1
PORTREVISION= 3
CATEGORIES= security
-MASTER_SITES= ${MASTER_SITE_LOCAL} \
+MASTER_SITES= LOCAL/ahze \
http://people.freebsd.org/~ahze/distfiles/
-MASTER_SITE_SUBDIR= ahze
MAINTAINER= ports@FreeBSD.org
COMMENT= Tool that permits to use a gateway whatever IP we have
diff --git a/security/seccure/Makefile b/security/seccure/Makefile
index 489562e9..cafa19fd 100644
--- a/security/seccure/Makefile
+++ b/security/seccure/Makefile
@@ -6,7 +6,7 @@ PORTVERSION= 0.5
PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= http://point-at-infinity.org/seccure/ \
- ${MASTER_SITE_NETBSD}
+ NETBSD
MAINTAINER= zi@FreeBSD.org
COMMENT= Elliptic Curve Crypto Utility for Reliable Encryption
diff --git a/security/signing-party/Makefile b/security/signing-party/Makefile
index 4eeabcc..5186aa2 100644
--- a/security/signing-party/Makefile
+++ b/security/signing-party/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 2.0
PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= ftp://ftp.stack.nl/pub/users/johans/signing-party/ \
- ${MASTER_SITE_DEBIAN}
-MASTER_SITE_SUBDIR= pool/main/s/signing-party
+ DEBIAN
DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
MAINTAINER= johans@FreeBSD.org
diff --git a/security/skipfish/Makefile b/security/skipfish/Makefile
index 6310237..6b26ccf 100644
--- a/security/skipfish/Makefile
+++ b/security/skipfish/Makefile
@@ -5,7 +5,7 @@ PORTNAME= skipfish
PORTVERSION= 2.10b
PORTREVISION= 3
CATEGORIES= security www
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
MAINTAINER= zi@FreeBSD.org
COMMENT= Fully automated, active web application security reconnaissance tool
diff --git a/security/srm/Makefile b/security/srm/Makefile
index db8cb14..3057f46 100644
--- a/security/srm/Makefile
+++ b/security/srm/Makefile
@@ -4,10 +4,9 @@
PORTNAME= srm
PORTVERSION= 1.2.12
CATEGORIES= security sysutils
-MASTER_SITES= SF
-MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTVERSION} \
- ${PORTNAME}/old_releases \
- ${PORTNAME}/old_releases/${PORTVERSION}
+MASTER_SITES= SF/${PORTNAME}/${PORTVERSION} \
+ SF/${PORTNAME}/old_releases \
+ SF/${PORTNAME}/old_releases/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Secure rm, a utility which destroys file contents before unlinking
diff --git a/security/sshit/Makefile b/security/sshit/Makefile
index 06cdb21..26c9f1c 100644
--- a/security/sshit/Makefile
+++ b/security/sshit/Makefile
@@ -5,8 +5,7 @@ PORTNAME= sshit
PORTVERSION= 0.6
PORTREVISION= 4
CATEGORIES= security
-MASTER_SITES= http://anp.ath.cx/sshit/ \
- ${MASTER_SITE_LOCAL}
+MASTER_SITES= http://anp.ath.cx/sshit/
MAINTAINER= ports@FreeBSD.org
COMMENT= Checks for SSH/FTP bruteforce and blocks given IPs
diff --git a/security/stoken/Makefile b/security/stoken/Makefile
index 7b70a3c..c913a65 100644
--- a/security/stoken/Makefile
+++ b/security/stoken/Makefile
@@ -4,8 +4,7 @@
PORTNAME= stoken
PORTVERSION= 0.6
CATEGORIES= security
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR=stoken
+MASTER_SITES= SF/stoken
MAINTAINER= samm@os2.kiev.ua
COMMENT= Software Token for UNIX compatible with RSA SecurID
diff --git a/security/sudo/Makefile b/security/sudo/Makefile
index 4f7e471..5d738ef 100644
--- a/security/sudo/Makefile
+++ b/security/sudo/Makefile
@@ -4,7 +4,7 @@
PORTNAME= sudo
DISTVERSION= 1.8.13
CATEGORIES= security
-MASTER_SITES= ${MASTER_SITE_SUDO}
+MASTER_SITES= SUDO
MAINTAINER= garga@FreeBSD.org
COMMENT= Allow others to run commands as root
diff --git a/security/tripwire12/Makefile b/security/tripwire12/Makefile
index 797c06f..216f1f7 100644
--- a/security/tripwire12/Makefile
+++ b/security/tripwire12/Makefile
@@ -5,7 +5,7 @@ PORTNAME= tripwire
PORTVERSION= 1.2
PORTREVISION= 1
CATEGORIES= security
-MASTER_SITES= ${MASTER_SITE_NETBSD}
+MASTER_SITES= NETBSD
PKGNAMESUFFIX= 12
MAINTAINER= cy@FreeBSD.org
diff --git a/security/webscarab/Makefile b/security/webscarab/Makefile
index ad4d325..9e730f1 100644
--- a/security/webscarab/Makefile
+++ b/security/webscarab/Makefile
@@ -4,9 +4,8 @@
PORTNAME= webscarab
PORTVERSION= 20090427
CATEGORIES= security www java
-MASTER_SITES= ${MASTER_SITE_LOCAL} \
+MASTER_SITES= LOCAL/niels \
http://people.freebsd.org/~niels/distfiles/
-MASTER_SITE_SUBDIR= niels
MAINTAINER= ports@FreeBSD.org
COMMENT= Framework for analysing HTTP and HTTPS web application traffic
diff --git a/security/xinetd/Makefile b/security/xinetd/Makefile
index b1634ba..3281cd5 100644
--- a/security/xinetd/Makefile
+++ b/security/xinetd/Makefile
@@ -5,7 +5,7 @@ PORTNAME= xinetd
PORTVERSION= 2.3.15
PORTREVISION= 1
CATEGORIES= security ipv6
-MASTER_SITES= GENTOO/distfiles
+MASTER_SITES= GENTOO
MAINTAINER= sem@FreeBSD.org
COMMENT= Replacement for inetd with better control and logging
diff --git a/security/xml-security/Makefile b/security/xml-security/Makefile
index ca24b80..6e9982d 100644
--- a/security/xml-security/Makefile
+++ b/security/xml-security/Makefile
@@ -2,11 +2,10 @@
# $FreeBSD$
PORTNAME= xml-security
-PORTVERSION= 1.5.5
+DISTVERSION= 1_5_5
CATEGORIES= security java
-MASTER_SITES= ${MASTER_SITE_APACHE}
-MASTER_SITE_SUBDIR= santuario/java-library/${PORTVERSION:S/./_/g}
-DISTNAME= ${PORTNAME}-src-${PORTVERSION:S/./_/g}
+MASTER_SITES= APACHE/santuario/java-library/${DISTVERSION}
+DISTNAME= ${PORTNAME}-src-${DISTVERSION}
MAINTAINER= ale@FreeBSD.org
COMMENT= Java library for XML Signature and Encryption
@@ -23,7 +22,7 @@ CPE_PRODUCT= xml_security_for_java
CPE_VENDOR= apache
USE_JAVA= yes
JAVA_VERSION= 1.6+
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:S/./_/g}
+WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}
USE_ANT= yes
MAKE_ENV= ANT_INCLUDE_SHARED_JARS=YES
ALL_TARGET= jar
diff --git a/shells/44bsd-csh/Makefile b/shells/44bsd-csh/Makefile
index 66d7c32..ba3a745 100644
--- a/shells/44bsd-csh/Makefile
+++ b/shells/44bsd-csh/Makefile
@@ -4,8 +4,7 @@ PORTNAME= 44bsd-csh
PORTVERSION= 20001106
PORTREVISION= 4
CATEGORIES= shells
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= cy
+MASTER_SITES= LOCAL/cy
MAINTAINER= cy@FreeBSD.org
COMMENT= The traditional 4.4BSD /bin/csh C-shell
diff --git a/shells/esh/Makefile b/shells/esh/Makefile
index 6af15a4..f482f90 100644
--- a/shells/esh/Makefile
+++ b/shells/esh/Makefile
@@ -4,7 +4,7 @@
PORTNAME= esh
PORTVERSION= 0.8.5
CATEGORIES= shells
-MASTER_SITES= GENTOO/distfiles
+MASTER_SITES= GENTOO
MAINTAINER= ports@FreeBSD.org
COMMENT= The "easy shell", a small shell with Lisp-like syntax
diff --git a/shells/scponly/Makefile b/shells/scponly/Makefile
index bb1f6e0..949cc81 100644
--- a/shells/scponly/Makefile
+++ b/shells/scponly/Makefile
@@ -5,8 +5,7 @@ PORTNAME= scponly
PORTVERSION= 4.8.20110526
PORTREVISION= 1
CATEGORIES= shells security
-MASTER_SITES= SF
-MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTNAME}-snapshots
+MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-snapshots
DISTNAME= ${PORTNAME}-20110526
MAINTAINER= gjb@FreeBSD.org
diff --git a/sysutils/44bsd-more/Makefile b/sysutils/44bsd-more/Makefile
index 7da9e33..154055c 100644
--- a/sysutils/44bsd-more/Makefile
+++ b/sysutils/44bsd-more/Makefile
@@ -4,8 +4,7 @@
PORTNAME= 44bsd-more
PORTVERSION= ${RELDATE}
CATEGORIES= sysutils
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= cy
+MASTER_SITES= LOCAL/cy
MAINTAINER= cy@FreeBSD.org
COMMENT= The pager installed with FreeBSD before less(1) was imported
diff --git a/sysutils/915resolution/Makefile b/sysutils/915resolution/Makefile
index 52838b3..5bae447 100644
--- a/sysutils/915resolution/Makefile
+++ b/sysutils/915resolution/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 0.5.3
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= sysutils
-MASTER_SITES= LOCAL
-MASTER_SITE_SUBDIR= ehaupt
+MASTER_SITES= LOCAL/ehaupt
MAINTAINER= ports@FreeBSD.org
COMMENT= Resolution tool for Intel i915 video cards
diff --git a/sysutils/acpica-tools/Makefile b/sysutils/acpica-tools/Makefile
index 03c0e54..e927d09 100644
--- a/sysutils/acpica-tools/Makefile
+++ b/sysutils/acpica-tools/Makefile
@@ -4,8 +4,7 @@ PORTNAME= acpica
PORTVERSION= 20150410
CATEGORIES= sysutils devel
MASTER_SITES= https://acpica.org/sites/acpica/files/ \
- LOCAL
-MASTER_SITE_SUBDIR= jkim
+ LOCAL/jkim
PKGNAMESUFFIX= -tools
DISTNAME= ${PORTNAME}-unix2-${PORTVERSION}
diff --git a/sysutils/afbinit/Makefile b/sysutils/afbinit/Makefile
index b16a740..69b9049 100644
--- a/sysutils/afbinit/Makefile
+++ b/sysutils/afbinit/Makefile
@@ -5,16 +5,13 @@ PORTNAME= afbinit
PORTVERSION= 1.0
PORTREVISION= 4
CATEGORIES= sysutils graphics
-MASTER_SITES= ${MASTER_SITE_DEBIAN:S/$/:afbinit,patch/} \
- http://dlc.sun.com/%SUBDIR%/:microcode
-MASTER_SITE_SUBDIR= pool/contrib/a/afbinit/:afbinit,patch \
- osol/sparc-gfx/downloads/:microcode
+MASTER_SITES= DEBIAN/pool/contrib/a/afbinit/:afbinit,patch \
+ http://dlc.sun.com/osol/sparc-gfx/downloads/:microcode
DISTFILES= ${PORTNAME}_${PORTVERSION}.orig.tar.gz:afbinit \
afb-ucode.tar.bz2:microcode
DIST_SUBDIR= ${PORTNAME}
PATCH_SITES= ${MASTER_SITES}
-PATCH_SITE_SUBDIR= ${MASTER_SITE_SUBDIR}
PATCHFILES= ${PORTNAME}_${PORTVERSION}-4.diff.gz:patch
PATCH_DIST_STRIP= -p1
diff --git a/sysutils/amrstat/Makefile b/sysutils/amrstat/Makefile
index b99ded8..74429cd 100644
--- a/sysutils/amrstat/Makefile
+++ b/sysutils/amrstat/Makefile
@@ -4,8 +4,7 @@
PORTNAME= amrstat
PORTVERSION= 20070216
CATEGORIES= sysutils
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= jkim
+MASTER_SITES= LOCAL/jkim
MAINTAINER= jkim@FreeBSD.org
COMMENT= Utility for LSI Logic's MegaRAID RAID controllers
diff --git a/sysutils/apcpwr/Makefile b/sysutils/apcpwr/Makefile
index a35bd7e..af2b67c 100644
--- a/sysutils/apcpwr/Makefile
+++ b/sysutils/apcpwr/Makefile
@@ -5,8 +5,7 @@ PORTNAME= apcpwr
PORTVERSION= 1.3
PORTREVISION= 1
CATEGORIES= sysutils net
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= jwd
+MASTER_SITES= LOCAL/jwd
MAINTAINER= ports@FreeBSD.org
COMMENT= Control APC 9211 MasterSwitchs via snmp
diff --git a/sysutils/apt/Makefile b/sysutils/apt/Makefile
index ba37d89..52e87bb 100644
--- a/sysutils/apt/Makefile
+++ b/sysutils/apt/Makefile
@@ -5,7 +5,7 @@ PORTNAME= apt
PORTVERSION= 0.6.46.4.1
PORTREVISION= 8
CATEGORIES= sysutils
-MASTER_SITES= ${MASTER_SITE_DEBIAN_POOL}
+MASTER_SITES= DEBIAN_POOL
DISTNAME= apt_0.6.46.4-0.1
MAINTAINER= ports@FreeBSD.org
diff --git a/sysutils/asmon/Makefile b/sysutils/asmon/Makefile
index b2a2a45..d38c2ae 100644
--- a/sysutils/asmon/Makefile
+++ b/sysutils/asmon/Makefile
@@ -5,8 +5,7 @@ PORTNAME= asmon
PORTVERSION= 0.61
PORTREVISION= 3
CATEGORIES= sysutils afterstep
-MASTER_SITES= ${MASTER_SITE_AFTERSTEP}
-MASTER_SITE_SUBDIR= apps/asmon
+MASTER_SITES= AFTERSTEP/apps/asmon
MAINTAINER= bofh@FreeBSD.org
COMMENT= Swallowable applet monitors the CPU usage, memory, and swap, etc
diff --git a/sysutils/asusoled/Makefile b/sysutils/asusoled/Makefile
index e967806..99d4c12 100644
--- a/sysutils/asusoled/Makefile
+++ b/sysutils/asusoled/Makefile
@@ -4,8 +4,7 @@ PORTNAME= asusoled
PORTVERSION= 0.10
PORTREVISION= 10
CATEGORIES= sysutils
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= jkim
+MASTER_SITES= LOCAL/jkim
MAINTAINER= jkim@FreeBSD.org
COMMENT= Utility for ASUS USB OLED Display
diff --git a/sysutils/backuppc-devel/Makefile b/sysutils/backuppc-devel/Makefile
index f318f10..20cbd7e 100644
--- a/sysutils/backuppc-devel/Makefile
+++ b/sysutils/backuppc-devel/Makefile
@@ -5,8 +5,7 @@ PORTNAME= backuppc
DISTVERSION= 4.0.0alpha3
PORTREVISION= 2
CATEGORIES= sysutils
-MASTER_SITES= SF
-MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTNAME}-beta/${DISTVERSION}
+MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-beta/${DISTVERSION}
PKGNAMESUFFIX= -devel
DISTNAME= BackupPC-${DISTVERSION}
diff --git a/sysutils/batmon/Makefile b/sysutils/batmon/Makefile
index c722aae..1e33772 100644
--- a/sysutils/batmon/Makefile
+++ b/sysutils/batmon/Makefile
@@ -4,8 +4,7 @@ PORTNAME= batmon
PORTVERSION= 0.6
PORTREVISION= 2
CATEGORIES= sysutils gnustep
-MASTER_SITES= ${MASTER_SITE_SAVANNAH}
-MASTER_SITE_SUBDIR= gap
+MASTER_SITES= SAVANNAH/gap
MAINTAINER= ports@FreeBSD.org
COMMENT= GNUstep battery monitor for laptops
diff --git a/sysutils/battray/Makefile b/sysutils/battray/Makefile
index d06aca8..d9e7e32 100644
--- a/sysutils/battray/Makefile
+++ b/sysutils/battray/Makefile
@@ -4,7 +4,7 @@
PORTNAME= battray
PORTVERSION= 1.5
CATEGORIES= sysutils python
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
MAINTAINER= martin@arp242.net
COMMENT= Display notebook battery status in tray
diff --git a/sysutils/bbapm/Makefile b/sysutils/bbapm/Makefile
index 94471a1..12780c2 100644
--- a/sysutils/bbapm/Makefile
+++ b/sysutils/bbapm/Makefile
@@ -7,8 +7,7 @@ PORTREVISION= 5
CATEGORIES= sysutils
MASTER_SITES= SF/bbtools/${PORTNAME}/${PORTNAME}-${PORTVERSION}
-PATCH_SITES= ${MASTER_SITE_SOURCEFORGE:C/%SUBDIR%/bbtools\/${PORTNAME}\/bbapm-0.0.1-freebsd-patch/}
-PATCH_SITE_SUBDIR= bbtools
+PATCH_SITES= SF/bbtools/${PORTNAME}/bbapm-0.0.1-freebsd-patch
PATCHFILES= bbapm-0.0.1-freebsd-patch-2.diff
PATCH_DIST_STRIP= -p1
diff --git a/sysutils/boxbackup-devel/Makefile b/sysutils/boxbackup-devel/Makefile
index 79f00ac..9cd914fc 100644
--- a/sysutils/boxbackup-devel/Makefile
+++ b/sysutils/boxbackup-devel/Makefile
@@ -4,7 +4,7 @@
PORTNAME= boxbackup
PORTVERSION= 0.11.r${SVNVERSION:C/^[0-9\.]+_[a-z]+_([0-9]+)/\1/}
CATEGORIES= sysutils
-MASTER_SITES= http://www.boxbackup.org/snapshots/%SUBDIR%/
+MASTER_SITES= http://www.boxbackup.org/snapshots/201108/
PKGNAMESUFFIX= ${CLIENT_OR_SERVER}-devel
DISTNAME= ${PORTNAME}-${SVNVERSION}
@@ -15,7 +15,6 @@ LICENSE= BSD3CLAUSE GPLv2
LICENSE_COMB= dual
LICENSE_FILE= ${WRKSRC}/LICENSE-DUAL.txt
-MASTER_SITE_SUBDIR=201108
SVNVERSION= 0.11_trunk_2979
NO_LATEST_LINK= yes
diff --git a/sysutils/cdf/Makefile b/sysutils/cdf/Makefile
index 7714cf53..43a63f3 100644
--- a/sysutils/cdf/Makefile
+++ b/sysutils/cdf/Makefile
@@ -4,8 +4,7 @@
PORTNAME= cdf
PORTVERSION= 0.2
CATEGORIES= sysutils
-MASTER_SITES= ${MASTER_SITE_BERLIOS}
-MASTER_SITE_SUBDIR= bmp-plugins
+MASTER_SITES= SF/bmp-plugins
MAINTAINER= novel@FreeBSD.org
COMMENT= Colorized df
diff --git a/sysutils/cdrdao/Makefile b/sysutils/cdrdao/Makefile
index 4ac6be3..ca0c9f7 100644
--- a/sysutils/cdrdao/Makefile
+++ b/sysutils/cdrdao/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 1.2.3
PORTREVISION?= 5
CATEGORIES= sysutils audio
MASTER_SITES= SF
-MASTER_SITE_SUBDIR= cdrdao/cdrdao/${PORTVERSION}
DISTNAME= cdrdao-${PORTVERSION}
MAINTAINER= marius@FreeBSD.org
diff --git a/sysutils/cdrtools-devel/Makefile b/sysutils/cdrtools-devel/Makefile
index 7dd354c..5f40954 100644
--- a/sysutils/cdrtools-devel/Makefile
+++ b/sysutils/cdrtools-devel/Makefile
@@ -21,8 +21,7 @@ PORTNAME= cdrtools
PORTVERSION= 3.01a24
PORTEPOCH= 1
CATEGORIES= sysutils audio
-MASTER_SITES= SF
-MASTER_SITE_SUBDIR=${PORTNAME}/alpha
+MASTER_SITES= SF/${PORTNAME}/alpha
MAINTAINER= marius@FreeBSD.org
COMMENT= CD/DVD/BluRay and ISO-9660 image creation and extraction tools
diff --git a/sysutils/cdrtools/Makefile b/sysutils/cdrtools/Makefile
index e05eb85..a16722a 100644
--- a/sysutils/cdrtools/Makefile
+++ b/sysutils/cdrtools/Makefile
@@ -22,8 +22,7 @@ PORTNAME= cdrtools
PORTVERSION= 3.00
PORTREVISION= 2
CATEGORIES= sysutils audio
-MASTER_SITES= SF
-MASTER_SITE_SUBDIR=${PORTNAME}
+MASTER_SITES= SF/${PORTNAME}
MAINTAINER= marius@FreeBSD.org
COMMENT= CD/DVD/BluRay and ISO-9660 image creation and extraction tools
diff --git a/sysutils/confctl/Makefile b/sysutils/confctl/Makefile
index b6624fb..e26cc88 100644
--- a/sysutils/confctl/Makefile
+++ b/sysutils/confctl/Makefile
@@ -5,8 +5,7 @@ PORTNAME= confctl
PORTVERSION= 1.2
CATEGORIES= sysutils
MASTER_SITES= http://cloud.github.com/downloads/trasz/confctl/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= trasz
+ LOCAL/trasz
MAINTAINER= trasz@FreeBSD.org
COMMENT= Utility to parse and modify C-like configuration files
diff --git a/sysutils/consolehm/Makefile b/sysutils/consolehm/Makefile
index 324500d..147cf68 100644
--- a/sysutils/consolehm/Makefile
+++ b/sysutils/consolehm/Makefile
@@ -5,8 +5,7 @@ PORTNAME= consolehm
PORTVERSION= 1.31
PORTREVISION= 1
CATEGORIES= sysutils
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= fenner
+MASTER_SITES= LOCAL/fenner
MAINTAINER= ports@FreeBSD.org
COMMENT= Console based hardware monitor for FreeBSD
diff --git a/sysutils/copytape/Makefile b/sysutils/copytape/Makefile
index f12bfa2..5c935ce 100644
--- a/sysutils/copytape/Makefile
+++ b/sysutils/copytape/Makefile
@@ -4,8 +4,7 @@
PORTNAME= copytape
PORTVERSION= 1.0
CATEGORIES= sysutils
-MASTER_SITES= ${MASTER_SITE_COMP_SOURCES}
-MASTER_SITE_SUBDIR= unix/volume10
+MASTER_SITES= COMP_SOURCES/unix/volume10
DISTNAME= copytape
EXTRACT_SUFX= .Z
diff --git a/sysutils/crashme/Makefile b/sysutils/crashme/Makefile
index 66a3a90..9d95a01 100644
--- a/sysutils/crashme/Makefile
+++ b/sysutils/crashme/Makefile
@@ -5,8 +5,7 @@ PORTNAME= crashme
PORTVERSION= 2.4
PORTREVISION= 1
CATEGORIES= sysutils
-MASTER_SITES= LOCAL
-MASTER_SITE_SUBDIR=kris
+MASTER_SITES= LOCAL/kris
DISTNAME= crashme
MAINTAINER= gjc@alum.mit.edu
diff --git a/sysutils/daemontools/Makefile b/sysutils/daemontools/Makefile
index 9796a79..a869e9a 100644
--- a/sysutils/daemontools/Makefile
+++ b/sysutils/daemontools/Makefile
@@ -55,8 +55,7 @@ DISTFILES+= ${DISTNAME}-man${MANDATE}.tar.gz:1
.if ${PORT_OPTIONS:MSIGQ12}
#PATCH_SITES+= http://thedjbway.org/patches/:sigq12
-PATCH_SITES+= ${MASTER_SITE_LOCAL:S/$/:sigq12/}
-PATCH_SITE_SUBDIR+= bdrewery/${PORTNAME}/:sigq12
+PATCH_SITES+= LOCAL/bdrewery/${PORTNAME}/:sigq12
PATCHFILES+= daemontools-0.76.sigq12.patch:-p2:sigq12
.endif
diff --git a/sysutils/dvdimagecmp/Makefile b/sysutils/dvdimagecmp/Makefile
index eaf783b..9b50685 100644
--- a/sysutils/dvdimagecmp/Makefile
+++ b/sysutils/dvdimagecmp/Makefile
@@ -4,8 +4,7 @@
PORTNAME= dvdimagecmp
PORTVERSION= 0.3
CATEGORIES= sysutils
-MASTER_SITES= SUNSITE
-MASTER_SITE_SUBDIR= apps/video
+MASTER_SITES= SUNSITE/apps/video
MAINTAINER= ports@thepentagon.org
COMMENT= Simple tool for comparing an image to a burned disc
diff --git a/sysutils/farbot/Makefile b/sysutils/farbot/Makefile
index e72170b..f2343346 100644
--- a/sysutils/farbot/Makefile
+++ b/sysutils/farbot/Makefile
@@ -5,7 +5,7 @@ PORTNAME= farbot
PORTVERSION= 1.0.b2
PORTREVISION= 1
CATEGORIES= sysutils
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
DISTNAME= farbot-1.0-beta2
MAINTAINER= ports@FreeBSD.org
diff --git a/sysutils/fortunelock/Makefile b/sysutils/fortunelock/Makefile
index 2687785..060b456 100644
--- a/sysutils/fortunelock/Makefile
+++ b/sysutils/fortunelock/Makefile
@@ -4,8 +4,7 @@
PORTNAME= fortunelock
PORTVERSION= 0.1.2
CATEGORIES= sysutils
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= dannyboy
+MASTER_SITES= LOCAL/dannyboy
MAINTAINER= ports@FreeBSD.org
COMMENT= Locks a terminal while showing fortunes
diff --git a/sysutils/fsc/Makefile b/sysutils/fsc/Makefile
index f3a07eb..24d706f 100644
--- a/sysutils/fsc/Makefile
+++ b/sysutils/fsc/Makefile
@@ -5,8 +5,7 @@ PORTNAME= fsc
PORTVERSION= 1.0.1
PORTREVISION= 3
CATEGORIES= sysutils
-MASTER_SITES= LOCAL
-MASTER_SITE_SUBDIR= trhodes
+MASTER_SITES= LOCAL/trhodes
MAINTAINER= trhodes@FreeBSD.org
COMMENT= The FreeBSD Services Control family of utilities
diff --git a/sysutils/fusefs-afuse/Makefile b/sysutils/fusefs-afuse/Makefile
index b0b79d2..9d43a7a 100644
--- a/sysutils/fusefs-afuse/Makefile
+++ b/sysutils/fusefs-afuse/Makefile
@@ -4,7 +4,7 @@
PORTNAME= afuse
PORTVERSION= 0.4.1
CATEGORIES= sysutils
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
PKGNAMEPREFIX= fusefs-
MAINTAINER= ak@FreeBSD.org
diff --git a/sysutils/fusefs-chironfs/Makefile b/sysutils/fusefs-chironfs/Makefile
index 90b9b5e..c5c97f1 100644
--- a/sysutils/fusefs-chironfs/Makefile
+++ b/sysutils/fusefs-chironfs/Makefile
@@ -5,7 +5,7 @@ PORTNAME= chironfs
PORTVERSION= 1.1.1
PORTREVISION= 1
CATEGORIES= sysutils
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
PKGNAMEPREFIX= fusefs-
MAINTAINER= leeym@FreeBSD.org
diff --git a/sysutils/fusefs-rar2fs/Makefile b/sysutils/fusefs-rar2fs/Makefile
index 3986aa0..07414b6 100644
--- a/sysutils/fusefs-rar2fs/Makefile
+++ b/sysutils/fusefs-rar2fs/Makefile
@@ -5,7 +5,7 @@ PORTNAME= rar2fs
PORTVERSION= 1.15.1
PORTREVISION= 1
CATEGORIES= sysutils
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}:rar2fs http://www.rarlab.com/rar/:unrarsrc
+MASTER_SITES= GOOGLE_CODE:rar2fs http://www.rarlab.com/rar/:unrarsrc
PKGNAMEPREFIX= fusefs-
DISTFILES= rar2fs-1.15.1.tar.gz:rar2fs unrarsrc-4.2.4.tar.gz:unrarsrc
diff --git a/sysutils/fusefs-sqlfs/Makefile b/sysutils/fusefs-sqlfs/Makefile
index ff7bd1b..7d81ffb 100644
--- a/sysutils/fusefs-sqlfs/Makefile
+++ b/sysutils/fusefs-sqlfs/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 1.1
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= sysutils
-MASTER_SITES= SAVANNAH
-MASTER_SITE_SUBDIR= libsqlfs
+MASTER_SITES= SAVANNAH/libsqlfs
PKGNAMEPREFIX= fusefs-
DISTNAME= lib${PORTNAME}-${PORTVERSION}
diff --git a/sysutils/geomgui/Makefile b/sysutils/geomgui/Makefile
index 5854c33..56b7a5b 100644
--- a/sysutils/geomgui/Makefile
+++ b/sysutils/geomgui/Makefile
@@ -5,8 +5,7 @@ PORTNAME= geomgui
PORTVERSION= 0.13
CATEGORIES= sysutils
MASTER_SITES= http://tinkering.hambrew.net/geomgui/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= xride
+ LOCAL/xride
MAINTAINER= xride@FreeBSD.org
COMMENT= Viewer for kernel geom layer
diff --git a/sysutils/getdelta/Makefile b/sysutils/getdelta/Makefile
index 059f477..d776b3b 100644
--- a/sysutils/getdelta/Makefile
+++ b/sysutils/getdelta/Makefile
@@ -5,11 +5,10 @@ PORTNAME= getdelta
PORTVERSION= 0.7.8
PORTREVISION= 5
CATEGORIES= sysutils ports-mgmt
-MASTER_SITES= ${MASTER_SITE_GENTOO} \
+MASTER_SITES= GENTOO \
http://132.207.4.160/distfiles/ \
http://distfiles.gentoo.org/distfiles/ \
http://linux01.gwdg.de/~nlissne/
-MASTER_SITE_SUBDIR= distfiles
MAINTAINER= astatutov@gmail.com
COMMENT= Script for reducing bandwidth load while upgrading ports disfiles
diff --git a/sysutils/gigolo/Makefile b/sysutils/gigolo/Makefile
index cc644b6..10270ed 100644
--- a/sysutils/gigolo/Makefile
+++ b/sysutils/gigolo/Makefile
@@ -5,8 +5,7 @@ PORTNAME= gigolo
PORTVERSION= 0.4.2
PORTREVISION= 1
CATEGORIES= sysutils
-MASTER_SITES= XFCE
-MASTER_SITE_SUBDIR= src/apps/${PORTNAME}/${PORTVERSION:R}
+MASTER_SITES= XFCE/src/apps/${PORTNAME}/${PORTVERSION:R}
MAINTAINER= koalative@gmail.com
COMMENT= Frontend to easily manage filesystem connections
diff --git a/sysutils/gkfreq/Makefile b/sysutils/gkfreq/Makefile
index ce52a38..0333173 100644
--- a/sysutils/gkfreq/Makefile
+++ b/sysutils/gkfreq/Makefile
@@ -4,8 +4,7 @@ PORTNAME= gkrellm-gkfreq
PORTVERSION= 2.2
#PORTREVISION= 0
CATEGORIES= sysutils
-MASTER_SITES= SF
-MASTER_SITE_SUBDIR=${PORTNAME}/${PORTVERSION}
+MASTER_SITES= SF/${PORTNAME}/${PORTVERSION}
MAINTAINER= ume@FreeBSD.org
COMMENT= Plugin to GKrellM that displays the current CPU frequencies
diff --git a/sysutils/gkrellfire/Makefile b/sysutils/gkrellfire/Makefile
index 1c474fe..e602931 100644
--- a/sysutils/gkrellfire/Makefile
+++ b/sysutils/gkrellfire/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 0.4.2
PORTREVISION= 4
CATEGORIES= sysutils
MASTER_SITES= http://freenet-homepage.de/thomas-steinke/ \
- LOCAL
-MASTER_SITE_SUBDIR= novel
+ LOCAL/novel
MAINTAINER= novel@FreeBSD.org
COMMENT= Gkrellm2 plugin which shows the system load as a flame
diff --git a/sysutils/gkrellm2/Makefile b/sysutils/gkrellm2/Makefile
index 2a2a986..05526ea 100644
--- a/sysutils/gkrellm2/Makefile
+++ b/sysutils/gkrellm2/Makefile
@@ -5,8 +5,7 @@ PORTVERSION= 2.3.5
PORTREVISION= 6
CATEGORIES= sysutils ipv6
MASTER_SITES= http://members.dslextreme.com/users/billw/gkrellm/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= ume
+ LOCAL/ume
PKGNAMESUFFIX= 2
MAINTAINER= ume@FreeBSD.org
diff --git a/sysutils/gstopd/Makefile b/sysutils/gstopd/Makefile
index 6cfda4a..30c1c1094 100644
--- a/sysutils/gstopd/Makefile
+++ b/sysutils/gstopd/Makefile
@@ -4,8 +4,7 @@
PORTNAME= gstopd
PORTVERSION= 1.1
CATEGORIES= sysutils
-MASTER_SITES= LOCAL
-MASTER_SITE_SUBDIR= mr
+MASTER_SITES= LOCAL/mr
MAINTAINER= mr@FreeBSD.org
COMMENT= GEOM stop daemon
diff --git a/sysutils/hatop/Makefile b/sysutils/hatop/Makefile
index a7abcc3..8e66f9d 100644
--- a/sysutils/hatop/Makefile
+++ b/sysutils/hatop/Makefile
@@ -4,7 +4,7 @@
PORTNAME= hatop
PORTVERSION= 0.7.7
CATEGORIES= sysutils net
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
MAINTAINER= ports@christianserving.org
COMMENT= Interactive real-time monitoring tool for the HAProxy unix socket
diff --git a/sysutils/heartbeat/Makefile b/sysutils/heartbeat/Makefile
index c72c250..155d1e7 100644
--- a/sysutils/heartbeat/Makefile
+++ b/sysutils/heartbeat/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 2.1.4
PORTREVISION= 24
CATEGORIES= sysutils
#MASTER_SITES= http://hg.linux-ha.org/lha-2.1/archive/STABLE-2.1.4.tar.bz2
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= kuriyama/heartbeat
+MASTER_SITES= LOCAL/kuriyama/heartbeat
DISTNAME= STABLE-${PORTVERSION}
DIST_SUBDIR= heartbeat
diff --git a/sysutils/isc-cron/Makefile b/sysutils/isc-cron/Makefile
index 720309c..d1f227c 100644
--- a/sysutils/isc-cron/Makefile
+++ b/sysutils/isc-cron/Makefile
@@ -5,8 +5,7 @@ PORTNAME= isc-cron
PORTVERSION= 4.1
PORTREVISION= 1
CATEGORIES= sysutils
-MASTER_SITES= ${MASTER_SITE_ISC}
-MASTER_SITE_SUBDIR= cron
+MASTER_SITES= ISC/cron
DISTNAME= cron_${PORTVERSION}.shar
EXTRACT_SUFX=
diff --git a/sysutils/ldapenter/Makefile b/sysutils/ldapenter/Makefile
index 7c7dd02..a11b613 100644
--- a/sysutils/ldapenter/Makefile
+++ b/sysutils/ldapenter/Makefile
@@ -5,7 +5,7 @@ PORTNAME= ldapenter
PORTVERSION= 0.2.0
PORTREVISION= 1
CATEGORIES= sysutils editors net
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
MAINTAINER= ports@FreeBSD.org
COMMENT= Add/Modify LDAP entries using template forms
diff --git a/sysutils/less/Makefile b/sysutils/less/Makefile
index a4700d0..51f38de 100644
--- a/sysutils/less/Makefile
+++ b/sysutils/less/Makefile
@@ -4,9 +4,8 @@
PORTNAME= less
PORTVERSION= 458
CATEGORIES= sysutils
-MASTER_SITES= http://www.greenwoodsoftware.com/%SUBDIR%/ \
+MASTER_SITES= http://www.greenwoodsoftware.com/less/ \
http://bitrote.org/distfiles/
-MASTER_SITE_SUBDIR= less
MAINTAINER= jharris@widomaker.com
COMMENT= Better pager utility
diff --git a/sysutils/libcdio-paranoia/Makefile b/sysutils/libcdio-paranoia/Makefile
index 446ae05..130ddac 100644
--- a/sysutils/libcdio-paranoia/Makefile
+++ b/sysutils/libcdio-paranoia/Makefile
@@ -4,8 +4,7 @@ PORTNAME= libcdio-paranoia
PORTVERSION= 10.2+0.90+1
PORTREVISION= 1
CATEGORIES= sysutils
-MASTER_SITES= ${MASTER_SITE_GNU}
-MASTER_SITE_SUBDIR= libcdio
+MASTER_SITES= GNU/libcdio
MAINTAINER= arved@FreeBSD.org
COMMENT= Read audio from the CDROM directly as data
diff --git a/sysutils/libcdio/Makefile b/sysutils/libcdio/Makefile
index d763b8f..efd565b 100644
--- a/sysutils/libcdio/Makefile
+++ b/sysutils/libcdio/Makefile
@@ -5,8 +5,7 @@ PORTNAME= libcdio
PORTVERSION= 0.92
PORTREVISION= 1
CATEGORIES= sysutils
-MASTER_SITES= ${MASTER_SITE_GNU}
-MASTER_SITE_SUBDIR= libcdio
+MASTER_SITES= GNU
MAINTAINER= arved@FreeBSD.org
COMMENT= Compact Disc Input and Control Library
diff --git a/sysutils/libchk/Makefile b/sysutils/libchk/Makefile
index eeb1183..404e252 100644
--- a/sysutils/libchk/Makefile
+++ b/sysutils/libchk/Makefile
@@ -5,8 +5,7 @@ PORTNAME= libchk
PORTVERSION= 1.10.3
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.iDaemons.org/pub/distfiles/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= knu
+ LOCAL/knu
MAINTAINER= knu@FreeBSD.org
COMMENT= Tool to check shared library links
diff --git a/sysutils/mgeupsd/Makefile b/sysutils/mgeupsd/Makefile
index a9e987e..d5a026f 100644
--- a/sysutils/mgeupsd/Makefile
+++ b/sysutils/mgeupsd/Makefile
@@ -5,8 +5,7 @@ PORTNAME= mgeupsd
PORTVERSION= 0.3
PORTREVISION= 1
CATEGORIES= sysutils
-MASTER_SITES= ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR= system/ups
+MASTER_SITES= SUNSITE/system/ups
MAINTAINER= ports@FreeBSD.org
COMMENT= Monitor a state of MGE Pulsar UPS connected to RS-232 port
diff --git a/sysutils/mkntpwd/Makefile b/sysutils/mkntpwd/Makefile
index 2a800f2..2facfe8 100644
--- a/sysutils/mkntpwd/Makefile
+++ b/sysutils/mkntpwd/Makefile
@@ -4,8 +4,7 @@
PORTNAME= mkntpwd
PORTVERSION= 1.0
CATEGORIES= sysutils net
-MASTER_SITES= SF
-MASTER_SITE_SUBDIR= ldaputils/Contrib/mkntpwd
+MASTER_SITES= SF/ldaputils/Contrib/mkntpwd
DISTNAME= ${PORTNAME}
MAINTAINER= pcTA@cs.nctu.edu.tw
diff --git a/sysutils/mksunbootcd/Makefile b/sysutils/mksunbootcd/Makefile
index 53db36b..bfa8444 100644
--- a/sysutils/mksunbootcd/Makefile
+++ b/sysutils/mksunbootcd/Makefile
@@ -5,7 +5,7 @@ PORTNAME= mksunbootcd
PORTVERSION= 1.0
PORTREVISION= 1
CATEGORIES= sysutils
-MASTER_SITES= ${MASTER_SITE_NETBSD}
+MASTER_SITES= NETBSD
MAINTAINER= ports@FreeBSD.org
COMMENT= Makes ISO images suitable to boot on sparc systems
diff --git a/sysutils/mountsmb2/Makefile b/sysutils/mountsmb2/Makefile
index 388946c..0556439 100644
--- a/sysutils/mountsmb2/Makefile
+++ b/sysutils/mountsmb2/Makefile
@@ -4,8 +4,7 @@
PORTNAME= mountsmb2
PORTVERSION= 0.90.2
CATEGORIES= sysutils net
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= lippe
+MASTER_SITES= LOCAL/lippe
MAINTAINER= ports@FreeBSD.org
COMMENT= SMB/CIFS shares mounting scripts to do it at login
diff --git a/sysutils/msktutil/Makefile b/sysutils/msktutil/Makefile
index 4cb47a9..01a960e 100644
--- a/sysutils/msktutil/Makefile
+++ b/sysutils/msktutil/Makefile
@@ -5,7 +5,7 @@ PORTNAME= msktutil
PORTVERSION= 0.5.1
PORTREVISION= 2
CATEGORIES= sysutils
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} \
+MASTER_SITES= GOOGLE_CODE \
http://mirrors.rit.edu/zi/
MAINTAINER= zi@FreeBSD.org
diff --git a/sysutils/no-login/Makefile b/sysutils/no-login/Makefile
index 6b7a594..e5fcea6 100644
--- a/sysutils/no-login/Makefile
+++ b/sysutils/no-login/Makefile
@@ -5,8 +5,7 @@ PORTNAME= nologin
PORTVERSION= 1.0
PORTREVISION= 1
CATEGORIES= sysutils
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR=wes
+MASTER_SITES= LOCAL/wes
MAINTAINER= ports@FreeBSD.org
COMMENT= Refuse a login to a user, and make a note of it in syslog
diff --git a/sysutils/open/Makefile b/sysutils/open/Makefile
index 7072cd5..47ef18a 100644
--- a/sysutils/open/Makefile
+++ b/sysutils/open/Makefile
@@ -6,7 +6,7 @@ PORTVERSION= 1.4
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.hs-niederrhein.de/pub/linux/src/ \
ftp://ftp.uni-bremen.de/pub/mirrors/sunsite/utils/console/ \
- ${MASTER_SITE_LOCAL:S^$^fjoe/^}
+ LOCAL/fjoe
MAINTAINER= fjoe@FreeBSD.org
COMMENT= Open opens a new vt and runs a command on it
diff --git a/sysutils/p5-BackupPC-XS/Makefile b/sysutils/p5-BackupPC-XS/Makefile
index 6eb6fa9..d6d53b0 100644
--- a/sysutils/p5-BackupPC-XS/Makefile
+++ b/sysutils/p5-BackupPC-XS/Makefile
@@ -5,8 +5,7 @@ PORTNAME= BackupPC-XS
PORTVERSION= 0.30
PORTREVISION= 1
CATEGORIES= sysutils perl5
-MASTER_SITES= SF
-MASTER_SITE_SUBDIR= backuppc/backuppc-beta/4.0.0alpha3
+MASTER_SITES= SF/backuppc/backuppc-beta/4.0.0alpha3
PKGNAMEPREFIX= p5-
MAINTAINER= moiseev@mezonplus.ru
diff --git a/sysutils/p5-Filesys-DfPortable/Makefile b/sysutils/p5-Filesys-DfPortable/Makefile
index a54674a..959b24b 100644
--- a/sysutils/p5-Filesys-DfPortable/Makefile
+++ b/sysutils/p5-Filesys-DfPortable/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 0.85
PORTREVISION= 1
CATEGORIES= sysutils perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Filesys
PKGNAMEPREFIX= p5-
MAINTAINER= lth@FreeBSD.org
diff --git a/sysutils/p5-Samba-SIDhelper/Makefile b/sysutils/p5-Samba-SIDhelper/Makefile
index 6ac6fd9..afaf9eb 100644
--- a/sysutils/p5-Samba-SIDhelper/Makefile
+++ b/sysutils/p5-Samba-SIDhelper/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 0.0.0
PORTREVISION= 3
CATEGORIES= sysutils perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Samba
PKGNAMEPREFIX= p5-
MAINTAINER= vvelox@vvelox.net
diff --git a/sysutils/p5-Sys-Filesystem/Makefile b/sysutils/p5-Sys-Filesystem/Makefile
index 165503e..eeea50d 100644
--- a/sysutils/p5-Sys-Filesystem/Makefile
+++ b/sysutils/p5-Sys-Filesystem/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 1.401
PORTREVISION= 1
CATEGORIES= sysutils perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Sys
PKGNAMEPREFIX= p5-
MAINTAINER= pirzyk@FreeBSD.org
diff --git a/sysutils/p5-arclog/Makefile b/sysutils/p5-arclog/Makefile
index 72e66f0..a20123a 100644
--- a/sysutils/p5-arclog/Makefile
+++ b/sysutils/p5-arclog/Makefile
@@ -5,8 +5,7 @@ PORTNAME= arclog
PORTVERSION= 3.04
PORTREVISION= 3
CATEGORIES= sysutils perl5
-MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Locale/IMACAT
+MASTER_SITES= CPAN/Locale/IMACAT
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
diff --git a/sysutils/p5-reslog/Makefile b/sysutils/p5-reslog/Makefile
index 581ceba..a69fdc4 100644
--- a/sysutils/p5-reslog/Makefile
+++ b/sysutils/p5-reslog/Makefile
@@ -5,8 +5,7 @@ PORTNAME= reslog
PORTVERSION= 3.16
PORTREVISION= 3
CATEGORIES= sysutils perl5
-MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Locale/IMACAT
+MASTER_SITES= CPAN/Locale/IMACAT
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
diff --git a/sysutils/paicc/Makefile b/sysutils/paicc/Makefile
index 688cb87..c73bada 100644
--- a/sysutils/paicc/Makefile
+++ b/sysutils/paicc/Makefile
@@ -4,8 +4,7 @@
PORTNAME= paicc
PORTVERSION= 1.4
CATEGORIES= sysutils
-MASTER_SITES= ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR= utils/shell
+MASTER_SITES= SUNSITE/utils/shell
MAINTAINER= peter@FreeBSD.org
COMMENT= Paint Changed Characters
diff --git a/sysutils/pdixtract/Makefile b/sysutils/pdixtract/Makefile
index 2a2ceb5..024b080 100644
--- a/sysutils/pdixtract/Makefile
+++ b/sysutils/pdixtract/Makefile
@@ -5,8 +5,7 @@ PORTNAME= pdixtract
PORTVERSION= 1.5
PORTREVISION= 1
CATEGORIES= sysutils
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= markus
+MASTER_SITES= LOCAL/markus
DISTNAME= PDITOOL
MAINTAINER= ports@FreeBSD.org
diff --git a/sysutils/polkit-kde/Makefile b/sysutils/polkit-kde/Makefile
index e0576b3..62af818 100644
--- a/sysutils/polkit-kde/Makefile
+++ b/sysutils/polkit-kde/Makefile
@@ -5,8 +5,7 @@ PORTNAME= polkit-kde
PORTVERSION= 0.99.1
PORTREVISION= 3
CATEGORIES= sysutils kde
-MASTER_SITES= ${MASTER_SITE_KDE}
-MASTER_SITE_SUBDIR= stable/apps/KDE4.x/admin/
+MASTER_SITES= KDE/stable/apps/KDE4.x/admin/
DISTNAME= ${PORTNAME}-agent-1-${PORTVERSION:C/1$/0/}
MAINTAINER= kde@FreeBSD.org
diff --git a/sysutils/py-danzfs/Makefile b/sysutils/py-danzfs/Makefile
index 891d173..9c74577 100644
--- a/sysutils/py-danzfs/Makefile
+++ b/sysutils/py-danzfs/Makefile
@@ -4,7 +4,7 @@
PORTNAME= danzfs
PORTVERSION= 0.2.0
CATEGORIES= sysutils python
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= knaggsy2000@gmail.com
diff --git a/sysutils/radmind/Makefile b/sysutils/radmind/Makefile
index a576cfa..2817f74 100644
--- a/sysutils/radmind/Makefile
+++ b/sysutils/radmind/Makefile
@@ -5,8 +5,7 @@ PORTNAME= radmind
PORTVERSION= 1.14.1
PORTREVISION= 2014052201
CATEGORIES= sysutils
-MASTER_SITES= SF
-MASTER_SITE_SUBDIR=${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
+MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= mikeg@bsd-box.net
COMMENT= Utility for administering filesystem changes
diff --git a/sysutils/rdate/Makefile b/sysutils/rdate/Makefile
index 3766abb..03052a9 100644
--- a/sysutils/rdate/Makefile
+++ b/sysutils/rdate/Makefile
@@ -4,9 +4,8 @@
PORTNAME= rdate
PORTVERSION= 20150501
CATEGORIES= sysutils
-MASTER_SITES= ftp://ftp.stack.nl/pub/users/%SUBDIR%/rdate/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= johans
+MASTER_SITES= ftp://ftp.stack.nl/pub/users/johans/rdate/ \
+ LOCAL/johans
MAINTAINER= johans@FreeBSD.org
COMMENT= Sets the clock of the local host to the time of another host
diff --git a/sysutils/rdiff-backup-devel/Makefile b/sysutils/rdiff-backup-devel/Makefile
index c869b26..3bdabef 100644
--- a/sysutils/rdiff-backup-devel/Makefile
+++ b/sysutils/rdiff-backup-devel/Makefile
@@ -5,12 +5,9 @@ PORTNAME= rdiff-backup
PORTVERSION= 1.3.3
PORTREVISION= 1
CATEGORIES= sysutils
-MASTER_SITES= ${MASTER_SITE_SAVANNAH:S/$/:savannah/} \
- ${MASTER_SITE_LOCAL:S/$/:local/}
-MASTER_SITE_SUBDIR= ${PORTNAME}/:savannah \
- vd/${PORTNAME}${PKGNAMESUFFIX}/:local
+MASTER_SITES= SAVANNAH \
+ LOCAL/vd/${PORTNAME}${PKGNAMESUFFIX}
PKGNAMESUFFIX= -devel
-DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:savannah,local
MAINTAINER= ports@FreeBSD.org
COMMENT= Local/remote mirroring+incremental backup
diff --git a/sysutils/rdiff-backup/Makefile b/sysutils/rdiff-backup/Makefile
index de60855..417ac2c 100644
--- a/sysutils/rdiff-backup/Makefile
+++ b/sysutils/rdiff-backup/Makefile
@@ -6,11 +6,8 @@ PORTVERSION= 1.2.8
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= sysutils
-MASTER_SITES= ${MASTER_SITE_SAVANNAH:S/$/:savannah/} \
- ${MASTER_SITE_LOCAL:S/$/:local/}
-MASTER_SITE_SUBDIR= ${PORTNAME}/:savannah \
- vd/${PORTNAME}${PKGNAMESUFFIX}/:local
-DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:savannah,local
+MASTER_SITES= SAVANNAH \
+ LOCAL/vd/${PORTNAME}${PKGNAMESUFFIX}
MAINTAINER= udvzsolt@gmail.com
COMMENT= Local/remote mirroring+incremental backup
diff --git a/sysutils/rfstool/Makefile b/sysutils/rfstool/Makefile
index 9c796ad..11f2637 100644
--- a/sysutils/rfstool/Makefile
+++ b/sysutils/rfstool/Makefile
@@ -4,7 +4,7 @@
PORTNAME= rfstool
PORTVERSION= 0.14
CATEGORIES= sysutils
-MASTER_SITES= ${MASTER_SITE_NETBSD}
+MASTER_SITES= NETBSD
DISTNAME= rfstool-0.14-source
MAINTAINER= ports@FreeBSD.org
diff --git a/sysutils/rsyncbackup/Makefile b/sysutils/rsyncbackup/Makefile
index 9bae237..6774b06 100644
--- a/sysutils/rsyncbackup/Makefile
+++ b/sysutils/rsyncbackup/Makefile
@@ -4,7 +4,7 @@
PORTNAME= rsyncbackup
PORTVERSION= 1.0
CATEGORIES= sysutils
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
DISTNAME= rsyncbackup
MAINTAINER= ports@danielbond.org
diff --git a/sysutils/samesame/Makefile b/sysutils/samesame/Makefile
index 7481a96..70a476e 100644
--- a/sysutils/samesame/Makefile
+++ b/sysutils/samesame/Makefile
@@ -5,8 +5,7 @@ PORTNAME= samesame
PORTVERSION= 1.10
CATEGORIES= sysutils
MASTER_SITES= http://samesame.kruijff.org/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= dhn
+ LOCAL/dhn
MAINTAINER= samesame@akruijff.dds.nl
COMMENT= Find duplicate files and optionally link them together
diff --git a/sysutils/sformat/Makefile b/sysutils/sformat/Makefile
index 7118326..8e0d632 100644
--- a/sysutils/sformat/Makefile
+++ b/sysutils/sformat/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 3.5
PORTREVISION= 5
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.berlios.de/pub/sformat/:sformat \
- ${MASTER_SITE_LOCAL:S/$/:libschily,sformat/}
-MASTER_SITE_SUBDIR= marius/:libschily,sformat
+ LOCAL/marius:libschily,sformat
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:sformat \
${LIBSCHILY}:libschily
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
diff --git a/sysutils/slack/Makefile b/sysutils/slack/Makefile
index 98e4758..f6db399 100644
--- a/sysutils/slack/Makefile
+++ b/sysutils/slack/Makefile
@@ -5,7 +5,7 @@ PORTNAME= slack
PORTVERSION= 0.15.2
PORTREVISION= 2
CATEGORIES= sysutils
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} \
+MASTER_SITES= GOOGLE_CODE \
http://www.sundell.net/~alan/projects/slack/
MAINTAINER= satwell@disjoint.net
diff --git a/sysutils/superiotool/Makefile b/sysutils/superiotool/Makefile
index ead41d7..e018d07 100644
--- a/sysutils/superiotool/Makefile
+++ b/sysutils/superiotool/Makefile
@@ -4,9 +4,8 @@
PORTNAME= superiotool
DISTVERSION= 20121019
CATEGORIES= sysutils
-MASTER_SITES= ${MASTER_SITE_LOCAL} \
+MASTER_SITES= LOCAL/avg \
http://www.icyb.net.ua/~avg/distfiles/
-MASTER_SITE_SUBDIR=avg
MAINTAINER= avg@icyb.net.ua
COMMENT= Helper tool for Super I/O chip detection and analysis
diff --git a/sysutils/symlinks/Makefile b/sysutils/symlinks/Makefile
index 0e01b8c..d6ad19c 100644
--- a/sysutils/symlinks/Makefile
+++ b/sysutils/symlinks/Makefile
@@ -4,8 +4,7 @@
PORTNAME= symlinks
PORTVERSION= 1.4
CATEGORIES= sysutils
-MASTER_SITES= ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR= utils/file
+MASTER_SITES= SUNSITE/utils/file
MAINTAINER= olgeni@FreeBSD.org
COMMENT= Symbolic link maintenance utility
diff --git a/sysutils/symon/Makefile b/sysutils/symon/Makefile
index eb578d9..4889a42 100644
--- a/sysutils/symon/Makefile
+++ b/sysutils/symon/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 2.86
PORTREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= http://wpd.home.xs4all.nl/symon/philes/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= uqs
+ LOCAL/uqs
MAINTAINER= uqs@FreeBSD.org
COMMENT= Performance and information monitoring tool
diff --git a/sysutils/thefish/Makefile b/sysutils/thefish/Makefile
index 77de6db..705c314 100644
--- a/sysutils/thefish/Makefile
+++ b/sysutils/thefish/Makefile
@@ -5,8 +5,7 @@ PORTNAME= thefish
PORTVERSION= 0.6.6
PORTREVISION= 6
CATEGORIES= sysutils
-MASTER_SITES= ${MASTER_SITE_BERLIOS}
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= SF/${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= Gtk+/ncurses rc.conf editor/management tool
diff --git a/sysutils/timemon/Makefile b/sysutils/timemon/Makefile
index d6edabf..a2bf91b 100644
--- a/sysutils/timemon/Makefile
+++ b/sysutils/timemon/Makefile
@@ -5,8 +5,7 @@ PORTNAME= timemon
PORTVERSION= 4.1
PORTREVISION= 2
CATEGORIES= sysutils gnustep
-MASTER_SITES= ${MASTER_SITE_SAVANNAH}
-MASTER_SITE_SUBDIR= gap
+MASTER_SITES= SAVANNAH/gap
DISTNAME= TimeMon-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
diff --git a/sysutils/ucspi-ssl-tls/Makefile b/sysutils/ucspi-ssl-tls/Makefile
index a8fffd2..08b7e57 100644
--- a/sysutils/ucspi-ssl-tls/Makefile
+++ b/sysutils/ucspi-ssl-tls/Makefile
@@ -10,8 +10,7 @@ COMMENT= UCSPI tools for building SSL client-server applications w/ TLS support
CONFLICTS= ucspi-ssl-[0-9]*
PATCH_SITES+= http://www.fehcom.de/qmail/spamcontrol/:tls \
- ${MASTER_SITE_LOCAL:S/$/:tls/}
-PATCH_SITE_SUBDIR+= garga/ucspi-ssl/:tls
+ LOCAL/garga/ucspi-ssl/:tls
PATCHFILES+= ucspi-ssl-0.70_ucspitls-0.6.patch_:tls
PATCH_WRKSRC= ${WRKSRC}/src
diff --git a/sysutils/ucspi-ssl/Makefile b/sysutils/ucspi-ssl/Makefile
index bc44c15..47f95dc 100644
--- a/sysutils/ucspi-ssl/Makefile
+++ b/sysutils/ucspi-ssl/Makefile
@@ -8,8 +8,7 @@ CATEGORIES= sysutils
MASTER_SITES= LOCAL/garga/ucspi-ssl \
http://www.superscript.com/ucspi-ssl/ \
http://dev.qmailrocks.org/downloads/qmailrocks_3.0-beta/ \
- ${MASTER_SITE_GENTOO}
-MASTER_SITE_SUBDIR= distfiles
+ GENTOO
MAINTAINER?= lx@FreeBSD.org
COMMENT?= UCSPI tools for building SSL client-server applications
diff --git a/sysutils/ucspi-tcp/Makefile b/sysutils/ucspi-tcp/Makefile
index 39101031..3e10991 100644
--- a/sysutils/ucspi-tcp/Makefile
+++ b/sysutils/ucspi-tcp/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 0.88
PORTREVISION= 2
CATEGORIES= sysutils net
MASTER_SITES= http://cr.yp.to/ucspi-tcp/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= garga/ucspi-tcp
+ LOCAL/garga/ucspi-tcp
PATCH_DIST_STRIP= -p1
@@ -55,8 +54,7 @@ BROKEN= SSL and LIMITS options cannot coexist, please choose one of them
.endif
MASTER_SITES+= http://smarden.org/pape/djb/manpages/:man \
- ${MASTER_SITE_LOCAL:S/$/:man/}
-MASTER_SITE_SUBDIR+= garga/ucspi-tcp/:man
+ LOCAL/garga/ucspi-tcp/:man
DISTFILES+= ${DISTNAME}${EXTRACT_SUFX} \
${DISTNAME}-man.tar.gz:man
MAN_FILES= addcr.1 argv0.1 date@.1 delcr.1 finger@.1 fixcrio.1 \
@@ -98,8 +96,7 @@ PATCH_SITES+= http://www.fefe.de/ucspi/:ipv6
PATCHFILES+= ucspi-tcp-0.88-ipv6.diff19.bz2:ipv6
.endif
-PATCH_SITES+= ${MASTER_SITE_LOCAL:S/$/:rss,ssl,rbl2smtpd/}
-PATCH_SITE_SUBDIR+= garga/ucspi-tcp/:rss,ssl,rbl2smtpd
+PATCH_SITES+= LOCAL/garga/ucspi-tcp/:rss,ssl,rbl2smtpd
.include <bsd.port.pre.mk>
diff --git a/sysutils/udfclient/Makefile b/sysutils/udfclient/Makefile
index bbc28a9..1da76c6 100644
--- a/sysutils/udfclient/Makefile
+++ b/sysutils/udfclient/Makefile
@@ -6,9 +6,8 @@ PORTVERSION= 0.7.5
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://www.13thmonkey.org/udfclient/releases/ \
- ${MASTER_SITE_NETBSD} \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= miwi
+ NETBSD \
+ LOCAL/miwi
DISTFILES= UDFclient.${PORTVERSION}.tgz
MAINTAINER= avg@icyb.net.ua
diff --git a/sysutils/usermin/Makefile b/sysutils/usermin/Makefile
index 1c2909b..10eff11 100644
--- a/sysutils/usermin/Makefile
+++ b/sysutils/usermin/Makefile
@@ -5,8 +5,7 @@ PORTVERSION= 1.650
CATEGORIES= sysutils
MASTER_SITES= http://www.webmin.com/uupdates/:up \
SF/webadmin/${PORTNAME}/${PORTVERSION}:sf \
- ${MASTER_SITE_LOCAL:S/$/:up/}
-MASTER_SITE_SUBDIR= olgeni/:up
+ LOCAL/olgeni/:up
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:sf ${USERMIN_MODULES:S/gz$/gz:up/}
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
diff --git a/sysutils/vbetool/Makefile b/sysutils/vbetool/Makefile
index d624d1e..10b3edf 100644
--- a/sysutils/vbetool/Makefile
+++ b/sysutils/vbetool/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 1.1
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://www.codon.org.uk/~mjg59/vbetool/download/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= jkim
+ LOCAL/jkim
MAINTAINER= jkim@FreeBSD.org
COMMENT= Application for executing video card BIOS code
diff --git a/sysutils/whowatch/Makefile b/sysutils/whowatch/Makefile
index e610938..18b0af2 100644
--- a/sysutils/whowatch/Makefile
+++ b/sysutils/whowatch/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 1.4
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://wizard.ae.krakow.pl/~mike/download/ \
- ${MASTER_SITE_PACKETSTORM}
-MASTER_SITE_SUBDIR= UNIX/IDS
+ PACKETSTORM/UNIX/IDS
MAINTAINER= ports@FreeBSD.org
COMMENT= Displays information in real time about users currently logged on
diff --git a/sysutils/wmbluecpu/Makefile b/sysutils/wmbluecpu/Makefile
index 1fbe45f..868bef7 100644
--- a/sysutils/wmbluecpu/Makefile
+++ b/sysutils/wmbluecpu/Makefile
@@ -5,8 +5,7 @@ PORTNAME= wmbluecpu
PORTVERSION= 0.4
PORTREVISION= 4
CATEGORIES= sysutils windowmaker
-MASTER_SITES= ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR= X11/xutils
+MASTER_SITES= SUNSITE/X11/xutils
MAINTAINER= benjsc@FreeBSD.org
COMMENT= CPU monitoring dockapp
diff --git a/sysutils/wmcube/Makefile b/sysutils/wmcube/Makefile
index a76119a..3c0a76d 100644
--- a/sysutils/wmcube/Makefile
+++ b/sysutils/wmcube/Makefile
@@ -5,10 +5,9 @@ PORTNAME= wmcube
PORTVERSION= 0.98
PORTREVISION= 3
CATEGORIES= sysutils windowmaker
-MASTER_SITES= ${MASTER_SITE_TUCOWS} \
+MASTER_SITES= TUCOWS/x11/dock \
http://dockapps.org/download.php/id/222/ \
http://freebsd.unixfreunde.de/sources/
-MASTER_SITE_SUBDIR= x11/dock
MAINTAINER= garga@FreeBSD.org
COMMENT= Window Maker dockapp that displays cpu load and a realtime 3D object
diff --git a/sysutils/wmmemfree/Makefile b/sysutils/wmmemfree/Makefile
index cefcfd9..18b377b 100644
--- a/sysutils/wmmemfree/Makefile
+++ b/sysutils/wmmemfree/Makefile
@@ -5,8 +5,7 @@ PORTNAME= wmmemfree
PORTVERSION= 0.7
PORTREVISION= 4
CATEGORIES= sysutils windowmaker
-MASTER_SITES= ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR= X11/xutils
+MASTER_SITES= SUNSITE/X11/xutils
MAINTAINER= ports@FreeBSD.org
COMMENT= Memory and swap monitoring dockapp
diff --git a/sysutils/xe-guest-utilities/Makefile b/sysutils/xe-guest-utilities/Makefile
index d41e25f..ea05a1a 100644
--- a/sysutils/xe-guest-utilities/Makefile
+++ b/sysutils/xe-guest-utilities/Makefile
@@ -5,8 +5,7 @@ PORTNAME= xe-guest-utilities
PORTVERSION= 6.2.0
PORTREVISION= 1
CATEGORIES= sysutils
-MASTER_SITES= LOCAL
-MASTER_SITE_SUBDIR= feld
+MASTER_SITES= LOCAL/feld
DISTNAME= ${PORTNAME}-6.0.2
MAINTAINER= dinoex@FreeBSD.org
diff --git a/sysutils/xfsm/Makefile b/sysutils/xfsm/Makefile
index 91a57a7..bc747df7 100644
--- a/sysutils/xfsm/Makefile
+++ b/sysutils/xfsm/Makefile
@@ -5,8 +5,7 @@ PORTNAME= xfsm
PORTVERSION= 1.99
PORTREVISION= 1
CATEGORIES= sysutils
-MASTER_SITES= ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR= system/status/xstatus
+MASTER_SITES= SUNSITE/system/status/xstatus
MAINTAINER= ports@FreeBSD.org
COMMENT= X File System Monitor
diff --git a/sysutils/xin/Makefile b/sysutils/xin/Makefile
index 29d9b53..9c5b156 100644
--- a/sysutils/xin/Makefile
+++ b/sysutils/xin/Makefile
@@ -5,8 +5,7 @@ PORTNAME= xin
PORTVERSION= 1.0.0
PORTREVISION= 1
CATEGORIES= sysutils
-MASTER_SITES= ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR= utils/file
+MASTER_SITES= SUNSITE/utils/file
MAINTAINER= ports@FreeBSD.org
COMMENT= Splits standard input and pipes into a command
diff --git a/sysutils/xlogmaster/Makefile b/sysutils/xlogmaster/Makefile
index 113d6c9e7..0955f2c 100644
--- a/sysutils/xlogmaster/Makefile
+++ b/sysutils/xlogmaster/Makefile
@@ -5,8 +5,7 @@ PORTNAME= xlogmaster
PORTVERSION= 1.6.2
PORTREVISION= 1
CATEGORIES= sysutils
-MASTER_SITES= ${MASTER_SITE_GNU}
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= GNU
MAINTAINER= ports@FreeBSD.org
COMMENT= Quick & easy monitoring of logfiles and devices
diff --git a/sysutils/xsysstats/Makefile b/sysutils/xsysstats/Makefile
index a5e2a4f..26174f6 100644
--- a/sysutils/xsysstats/Makefile
+++ b/sysutils/xsysstats/Makefile
@@ -4,8 +4,7 @@ PORTNAME= xsysstats
PORTVERSION= 1.51
PORTREVISION= 3
CATEGORIES= sysutils
-MASTER_SITES= ${MASTER_SITE_XCONTRIB}
-MASTER_SITE_SUBDIR= utilities
+MASTER_SITES= XCONTRIB/utilities
DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
diff --git a/sysutils/zisofs-tools/Makefile b/sysutils/zisofs-tools/Makefile
index ab09db7..4b03682 100644
--- a/sysutils/zisofs-tools/Makefile
+++ b/sysutils/zisofs-tools/Makefile
@@ -5,8 +5,7 @@ PORTNAME= zisofs-tools
PORTVERSION= 1.0.8
PORTREVISION= 1
CATEGORIES= sysutils
-MASTER_SITES= ${MASTER_SITE_KERNEL_ORG}
-MASTER_SITE_SUBDIR= linux/utils/fs/zisofs
+MASTER_SITES= KERNEL_ORG/linux/utils/fs/zisofs
MAINTAINER= chip-set@mail.ru
COMMENT= User utilities for zisofs
diff --git a/textproc/apache-poi/Makefile b/textproc/apache-poi/Makefile
index eebdbc4..a289b07 100644
--- a/textproc/apache-poi/Makefile
+++ b/textproc/apache-poi/Makefile
@@ -4,8 +4,7 @@
PORTNAME= poi
PORTVERSION= 3.10.1
CATEGORIES= textproc devel java
-MASTER_SITES= ${MASTER_SITE_APACHE}
-MASTER_SITE_SUBDIR= ${PORTNAME:S,-,/,}/release/bin
+MASTER_SITES= APACHE/${PORTNAME}/release/bin
PKGNAMEPREFIX= apache-
DISTNAME= ${PORTNAME}-bin-${PORTVERSION}-${RELEASE_DATE}
diff --git a/textproc/apache-solr/Makefile b/textproc/apache-solr/Makefile
index 6894beef..03f7f44 100644
--- a/textproc/apache-solr/Makefile
+++ b/textproc/apache-solr/Makefile
@@ -4,8 +4,7 @@
PORTNAME= apache-solr
PORTVERSION= 4.10.1
CATEGORIES= textproc java
-MASTER_SITES= APACHE
-MASTER_SITE_SUBDIR= lucene/solr/${PORTVERSION}
+MASTER_SITES= APACHE/lucene/solr/${PORTVERSION}
DISTNAME= solr-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
diff --git a/textproc/apache-solr3/Makefile b/textproc/apache-solr3/Makefile
index e4e1d08..4b157a4 100644
--- a/textproc/apache-solr3/Makefile
+++ b/textproc/apache-solr3/Makefile
@@ -4,8 +4,7 @@
PORTNAME= apache-solr
PORTVERSION= 3.6.2
CATEGORIES= textproc java
-MASTER_SITES= APACHE
-MASTER_SITE_SUBDIR= lucene/solr/${PORTVERSION}/
+MASTER_SITES= APACHE/lucene/solr/${PORTVERSION}
PKGNAMESUFFIX= 3
MAINTAINER= gaod@hychen.org
diff --git a/textproc/aspell/Makefile.inc b/textproc/aspell/Makefile.inc
index 428e47f..2bd9e70 100644
--- a/textproc/aspell/Makefile.inc
+++ b/textproc/aspell/Makefile.inc
@@ -1,8 +1,7 @@
# $FreeBSD$
# To be included by dictionaries ports.
-MASTER_SITES?= ${MASTER_SITE_GNU}
-MASTER_SITE_SUBDIR?= aspell/dict/${DICT}
+MASTER_SITES?= GNU/aspell/dict/${DICT}
DISTNAME?= aspell${DISTVERSION}
PORTVERSION?= ${DISTVERSION:tl:C/cvs/0_/:C/pt_../p/:C/[0-9]?-?[a-z]+-//g:C/([0-9])([a-z])/\1.\2/g:C/:(.)/\1/g:C/[^a-z0-9+]+/./g}
diff --git a/textproc/bibtool/Makefile b/textproc/bibtool/Makefile
index f426f53..adc3f93 100644
--- a/textproc/bibtool/Makefile
+++ b/textproc/bibtool/Makefile
@@ -4,8 +4,7 @@
PORTNAME= bibtool
PORTVERSION= 2.59
CATEGORIES= textproc print
-MASTER_SITES= ${MASTER_SITE_TEX_CTAN}
-MASTER_SITE_SUBDIR= biblio/bibtex/utils/${PORTNAME}
+MASTER_SITES= TEX_CTAN/biblio/bibtex/utils/${PORTNAME}
DISTNAME= BibTool-${PORTVERSION}
MAINTAINER= johans@FreeBSD.org
diff --git a/textproc/bsddiff/Makefile b/textproc/bsddiff/Makefile
index 21040366..e4dfbc7 100644
--- a/textproc/bsddiff/Makefile
+++ b/textproc/bsddiff/Makefile
@@ -4,8 +4,7 @@
PORTNAME= diff
PORTVERSION= 20120705
CATEGORIES= textproc
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= gabor
+MASTER_SITES= LOCAL/gabor
PKGNAMEPREFIX= bsd-
MAINTAINER= gabor@FreeBSD.org
diff --git a/textproc/bsdgrep/Makefile b/textproc/bsdgrep/Makefile
index 750e251..8b19d4b 100644
--- a/textproc/bsdgrep/Makefile
+++ b/textproc/bsdgrep/Makefile
@@ -5,8 +5,7 @@ PORTNAME= grep
PORTVERSION= 20111002
PORTREVISION= 1
CATEGORIES= textproc
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= gabor
+MASTER_SITES= LOCAL/gabor
PKGNAMEPREFIX= bsd-
MAINTAINER= gabor@FreeBSD.org
diff --git a/textproc/bsdsort/Makefile b/textproc/bsdsort/Makefile
index 27a6fe6..e05af70 100644
--- a/textproc/bsdsort/Makefile
+++ b/textproc/bsdsort/Makefile
@@ -4,8 +4,7 @@
PORTNAME= sort
PORTVERSION= 20120716
CATEGORIES= textproc
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= gabor
+MASTER_SITES= LOCAL/gabor
PKGNAMEPREFIX= bsd-
MAINTAINER= ports@FreeBSD.org
diff --git a/textproc/c2html/Makefile b/textproc/c2html/Makefile
index 6921751..ee3d4f6 100644
--- a/textproc/c2html/Makefile
+++ b/textproc/c2html/Makefile
@@ -4,8 +4,7 @@
PORTNAME= c2html
PORTVERSION= 0.9.6
CATEGORIES= textproc www
-MASTER_SITES= ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR= apps/www/converters
+MASTER_SITES= SUNSITE/apps/www/converters
MAINTAINER= mkamm@gmx.net
COMMENT= C-language sources to HTML converter
diff --git a/textproc/cdif/Makefile b/textproc/cdif/Makefile
index 6179790..309234d 100644
--- a/textproc/cdif/Makefile
+++ b/textproc/cdif/Makefile
@@ -4,8 +4,7 @@
PORTNAME= cdif
PORTVERSION= 1.19
CATEGORIES= textproc
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= sanpei
+MASTER_SITES= LOCAL/sanpei
EXTRACT_SUFX= # empty
MAINTAINER= sanpei@FreeBSD.org
diff --git a/textproc/chm2pdf/Makefile b/textproc/chm2pdf/Makefile
index 8ca3a88..ef0887d 100644
--- a/textproc/chm2pdf/Makefile
+++ b/textproc/chm2pdf/Makefile
@@ -5,7 +5,7 @@ PORTNAME= chm2pdf
PORTVERSION= 0.9.1
PORTREVISION= 3
CATEGORIES= textproc python
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
MAINTAINER= kevlo@FreeBSD.org
COMMENT= Python script that converts CHM files into PDF files
diff --git a/textproc/docbook-utils/Makefile b/textproc/docbook-utils/Makefile
index ebdf827..dceb1d8 100644
--- a/textproc/docbook-utils/Makefile
+++ b/textproc/docbook-utils/Makefile
@@ -5,8 +5,7 @@ PORTNAME= docbook-utils
PORTVERSION= 0.6.14
PORTREVISION= 13
CATEGORIES= textproc
-MASTER_SITES= ${MASTER_SITE_SOURCEWARE}
-MASTER_SITE_SUBDIR= docbook-tools/new-trials/SOURCES
+MASTER_SITES= SOURCEWARE/docbook-tools/new-trials/SOURCES
MAINTAINER= gabor@FreeBSD.org
COMMENT= Generates various output formats from DocBook SGML documents
diff --git a/textproc/flip/Makefile b/textproc/flip/Makefile
index 7f5a599..83f7f12 100644
--- a/textproc/flip/Makefile
+++ b/textproc/flip/Makefile
@@ -4,8 +4,7 @@
PORTNAME= flip
PORTVERSION= 1.19
CATEGORIES= textproc
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= itetcu
+MASTER_SITES= LOCAL/itetcu
DISTNAME= ${PORTNAME}.${PORTVERSION}
EXTRACT_SUFX= .tar.Z
diff --git a/textproc/foiltex/Makefile b/textproc/foiltex/Makefile
index 6e18363..96a3a3e 100644
--- a/textproc/foiltex/Makefile
+++ b/textproc/foiltex/Makefile
@@ -5,8 +5,7 @@ PORTNAME= foiltex
PORTVERSION= 2.1.4b
PORTREVISION= 5
CATEGORIES= textproc
-MASTER_SITES= ${MASTER_SITE_TEX_CTAN}
-MASTER_SITE_SUBDIR= macros/latex/contrib/${PORTNAME}
+MASTER_SITES= TEX_CTAN/macros/latex/contrib/${PORTNAME}
DISTFILES= foiltex.dtx foiltex.ins
MAINTAINER= ports@FreeBSD.org
diff --git a/textproc/gladtex/Makefile b/textproc/gladtex/Makefile
index 9a528d1..ed22ab1 100644
--- a/textproc/gladtex/Makefile
+++ b/textproc/gladtex/Makefile
@@ -5,8 +5,7 @@ PORTNAME= gladtex
PORTVERSION= 1.3
PORTREVISION= 3
CATEGORIES= textproc math www
-MASTER_SITES= SF
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= SF/${PORTNAME}
MAINTAINER= nivit@FreeBSD.org
COMMENT= Program to replace LaTeX formulas in HTML files with images
diff --git a/textproc/groff/Makefile b/textproc/groff/Makefile
index 5062d50..aeb5ca3 100644
--- a/textproc/groff/Makefile
+++ b/textproc/groff/Makefile
@@ -5,8 +5,7 @@ PORTNAME= groff
PORTVERSION= 1.22.2
PORTREVISION= 1
CATEGORIES= textproc
-MASTER_SITES= ${MASTER_SITE_GNU}
-MASTER_SITE_SUBDIR= groff
+MASTER_SITES= GNU
MAINTAINER= uqs@FreeBSD.org
COMMENT= Software typesetting package
diff --git a/textproc/gtkspell/Makefile b/textproc/gtkspell/Makefile
index b6a71f9..859e2c4 100644
--- a/textproc/gtkspell/Makefile
+++ b/textproc/gtkspell/Makefile
@@ -6,8 +6,7 @@ PORTNAME= gtkspell
PORTVERSION= 2.0.16
PORTREVISION?= 5
CATEGORIES= textproc gnome
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= marcus
+MASTER_SITES= LOCAL/marcus
MAINTAINER= gnome@FreeBSD.org
COMMENT= GTK+ 2 spell checking component
diff --git a/textproc/hhm/Makefile b/textproc/hhm/Makefile
index 372484e..7690aaf 100644
--- a/textproc/hhm/Makefile
+++ b/textproc/hhm/Makefile
@@ -4,8 +4,7 @@
PORTNAME= hhm
PORTVERSION= 0.1.1
CATEGORIES= textproc
-MASTER_SITES= ${MASTER_SITE_SAVANNAH}
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= SAVANNAH
MAINTAINER= ports@FreeBSD.org
COMMENT= HTML Help Maker
diff --git a/textproc/htdig/Makefile b/textproc/htdig/Makefile
index b8835fe..22a7ba1 100644
--- a/textproc/htdig/Makefile
+++ b/textproc/htdig/Makefile
@@ -5,8 +5,7 @@ PORTNAME= htdig
PORTVERSION= 3.2.0.b6
PORTREVISION= 6
CATEGORIES= textproc www
-MASTER_SITES= SF
-MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTNAME}/3.2.0b6
+MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/3.2.0b6
DISTNAME= htdig-3.2.0b6
MAINTAINER= ports@FreeBSD.org
diff --git a/textproc/html2text/Makefile b/textproc/html2text/Makefile
index 3f271f0..678fab3 100644
--- a/textproc/html2text/Makefile
+++ b/textproc/html2text/Makefile
@@ -4,9 +4,8 @@
PORTNAME= html2text
PORTVERSION= 1.3.2a
CATEGORIES= textproc
-MASTER_SITES= ${MASTER_SITE_SUNSITE} \
+MASTER_SITES= SUNSITE/apps/www/converters \
http://www.mbayer.de/html2text/downloads/
-MASTER_SITE_SUBDIR= apps/www/converters
MAINTAINER= ports@FreeBSD.org
COMMENT= Converts HTML documents into plain text
diff --git a/textproc/ibus-m17n/Makefile b/textproc/ibus-m17n/Makefile
index cea4713..dd2b2e9 100644
--- a/textproc/ibus-m17n/Makefile
+++ b/textproc/ibus-m17n/Makefile
@@ -5,7 +5,7 @@ PORTNAME= ibus-m17n
PORTVERSION= 1.3.3
PORTREVISION= 5
CATEGORIES= textproc
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
MAINTAINER= nikola.lecic@anthesphoria.net
COMMENT= The m17n IMEngine for IBus framework
diff --git a/textproc/ibus-table/Makefile b/textproc/ibus-table/Makefile
index ee94382..768c8bc 100644
--- a/textproc/ibus-table/Makefile
+++ b/textproc/ibus-table/Makefile
@@ -5,7 +5,7 @@ PORTNAME= ibus-table
PORTVERSION= 1.5.0
PORTREVISION= 1
CATEGORIES= textproc
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
MAINTAINER= nikola.lecic@anthesphoria.net
COMMENT= Table based input method framework for IBus
diff --git a/textproc/iksemel/Makefile b/textproc/iksemel/Makefile
index a062193..a77de58 100644
--- a/textproc/iksemel/Makefile
+++ b/textproc/iksemel/Makefile
@@ -5,7 +5,7 @@ PORTNAME= iksemel
PORTVERSION= 1.4
PORTREVISION= 6
CATEGORIES= textproc
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
MAINTAINER= rhaamo@gruik.at
COMMENT= XML parser library mainly designed for Jabber applications
diff --git a/textproc/irstlm/Makefile b/textproc/irstlm/Makefile
index 5c996b2..157a809 100644
--- a/textproc/irstlm/Makefile
+++ b/textproc/irstlm/Makefile
@@ -5,8 +5,7 @@ PORTNAME= irstlm
PORTVERSION= 5.80.03
PORTREVISION= 4
CATEGORIES= textproc
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR=${PORTNAME}/${PORTNAME}/${PORTNAME}-5.80
+MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-5.80
MAINTAINER= demon@FreeBSD.org
COMMENT= The IRST Language Modeling Toolkit
diff --git a/textproc/iso12083/Makefile b/textproc/iso12083/Makefile
index 7ace079..c82336f 100644
--- a/textproc/iso12083/Makefile
+++ b/textproc/iso12083/Makefile
@@ -5,8 +5,7 @@ PORTNAME= iso12083
PORTVERSION= 1993
PORTREVISION= 2
CATEGORIES= textproc
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= kuriyama/iso12083
+MASTER_SITES= LOCAL/kuriyama/iso12083
DISTFILES= article.dtd book.dtd maths.dtd serial.dtd
EXTRACT_ONLY= # empty
diff --git a/textproc/iso8879/Makefile b/textproc/iso8879/Makefile
index 271bc0d..91ef807 100644
--- a/textproc/iso8879/Makefile
+++ b/textproc/iso8879/Makefile
@@ -5,8 +5,7 @@ PORTNAME= iso8879
PORTVERSION= 1986
PORTREVISION= 3
CATEGORIES= textproc
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= kuriyama
+MASTER_SITES= LOCAL/kuriyama
DISTNAME= isoENTS
MAINTAINER= kuriyama@FreeBSD.org
diff --git a/textproc/java2html/Makefile b/textproc/java2html/Makefile
index 884f6de..3015897 100644
--- a/textproc/java2html/Makefile
+++ b/textproc/java2html/Makefile
@@ -5,8 +5,7 @@ PORTNAME= java2html
PORTVERSION= 0.9.2
PORTREVISION= 1
CATEGORIES= textproc www
-MASTER_SITES= ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR= apps/www/converters
+MASTER_SITES= SUNSITE/apps/www/converters
MAINTAINER= mkamm@gmx.net
COMMENT= Java sources to HTML converter
diff --git a/textproc/latex2html/Makefile b/textproc/latex2html/Makefile
index 2cdeb80..65d83e1 100644
--- a/textproc/latex2html/Makefile
+++ b/textproc/latex2html/Makefile
@@ -5,8 +5,7 @@ PORTNAME= latex2html
PORTVERSION= 2008
PORTREVISION= 2
CATEGORIES= textproc
-MASTER_SITES= ${MASTER_SITE_TEX_CTAN}
-MASTER_SITE_SUBDIR= support/${PORTNAME}
+MASTER_SITES= TEX_CTAN/support/${PORTNAME}
MAINTAINER= hrs@FreeBSD.org
COMMENT= Convert LaTeX documents to HTML
diff --git a/textproc/liblrdf/Makefile b/textproc/liblrdf/Makefile
index 6efcf2f..996ef6b 100644
--- a/textproc/liblrdf/Makefile
+++ b/textproc/liblrdf/Makefile
@@ -5,7 +5,7 @@ PORTNAME= liblrdf
PORTVERSION= 0.5.0
PORTREVISION= 7
CATEGORIES= textproc
-MASTER_SITES= GENTOO/distfiles
+MASTER_SITES= GENTOO
MAINTAINER= ports@FreeBSD.org
COMMENT= Library for manipulating RDF files describing LADSPA plugins
diff --git a/textproc/libtext-charwidth-perl/Makefile b/textproc/libtext-charwidth-perl/Makefile
index c3de7ad..fcf4ff7 100644
--- a/textproc/libtext-charwidth-perl/Makefile
+++ b/textproc/libtext-charwidth-perl/Makefile
@@ -5,8 +5,7 @@ PORTNAME= libtext-charwidth-perl
PORTVERSION= 0.04
PORTREVISION= 1
CATEGORIES= textproc perl5
-MASTER_SITES= ${MASTER_SITE_DEBIAN}
-MASTER_SITE_SUBDIR= pool/main/libt/libtext-charwidth-perl
+MASTER_SITES= DEBIAN
DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
MAINTAINER= ports@FreeBSD.org
diff --git a/textproc/libtext-wrapi18n-perl/Makefile b/textproc/libtext-wrapi18n-perl/Makefile
index 0009b12..a95f858 100644
--- a/textproc/libtext-wrapi18n-perl/Makefile
+++ b/textproc/libtext-wrapi18n-perl/Makefile
@@ -5,8 +5,7 @@ PORTNAME= libtext-wrapi18n-perl
PORTVERSION= 0.06
PORTREVISION= 1
CATEGORIES= textproc perl5
-MASTER_SITES= ${MASTER_SITE_DEBIAN}
-MASTER_SITE_SUBDIR= pool/main/libt/libtext-wrapi18n-perl
+MASTER_SITES= DEBIAN
DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
MAINTAINER= ports@FreeBSD.org
diff --git a/textproc/ltxml/Makefile b/textproc/ltxml/Makefile
index e7e42b2..fd08847 100644
--- a/textproc/ltxml/Makefile
+++ b/textproc/ltxml/Makefile
@@ -4,7 +4,7 @@
PORTNAME= ltxml
PORTVERSION= 1.2.9
CATEGORIES= textproc
-MASTER_SITES= GENTOO/distfiles \
+MASTER_SITES= GENTOO \
ftp://ftp.cogsci.ed.ac.uk/pub/LTXML/
MAINTAINER= ports@FreeBSD.org
diff --git a/textproc/lucene/Makefile b/textproc/lucene/Makefile
index 17142bc..726cc37 100644
--- a/textproc/lucene/Makefile
+++ b/textproc/lucene/Makefile
@@ -6,9 +6,7 @@ PORTVERSION= 3.6.2
# Be sure to chase devel/openoffice-devel and textproc/py-lucene
# when updating this
CATEGORIES= textproc java devel
-MASTER_SITES= APACHE
-MASTER_SITE_SUBDIR= ${PORTNAME}/java/${PORTVERSION}/
-EXTRACT_SUFX= .tgz
+MASTER_SITES= APACHE/${PORTNAME}/java/${PORTVERSION}
MAINTAINER= danilo@FreeBSD.org
COMMENT= Full-text search engine for Java
@@ -19,6 +17,7 @@ CONFLICTS= lucene4-[0-9].*
PORTSCOUT= limit:^3\.
+USES= tar:tgz
USE_JAVA= yes
NO_BUILD= yes
JAVA_VERSION= 1.6+
diff --git a/textproc/lucene4/Makefile b/textproc/lucene4/Makefile
index 4abc985..a21c781 100644
--- a/textproc/lucene4/Makefile
+++ b/textproc/lucene4/Makefile
@@ -4,8 +4,7 @@
PORTNAME= lucene
PORTVERSION= 4.10.4
CATEGORIES= textproc java devel
-MASTER_SITES= APACHE
-MASTER_SITE_SUBDIR= ${PORTNAME}/java/${PORTVERSION}/
+MASTER_SITES= APACHE/${PORTNAME}/java/${PORTVERSION}
MAINTAINER= mva@FreeBSD.org
COMMENT= Full-text search engine for Java, 4.x branch
diff --git a/textproc/lucene5/Makefile b/textproc/lucene5/Makefile
index 3427274..13ebbfb 100644
--- a/textproc/lucene5/Makefile
+++ b/textproc/lucene5/Makefile
@@ -4,8 +4,7 @@
PORTNAME= lucene
PORTVERSION= 5.1.0
CATEGORIES= textproc java devel
-MASTER_SITES= APACHE
-MASTER_SITE_SUBDIR= ${PORTNAME}/java/${PORTVERSION}/
+MASTER_SITES= APACHE/${PORTNAME}/java/${PORTVERSION}
MAINTAINER= mva@FreeBSD.org
COMMENT= Full-text search engine for Java, 5.x branch
diff --git a/textproc/mdocml/Makefile b/textproc/mdocml/Makefile
index 3ac8364..0972127 100644
--- a/textproc/mdocml/Makefile
+++ b/textproc/mdocml/Makefile
@@ -5,8 +5,7 @@ PORTNAME= mdocml
PORTVERSION= 1.13.3
CATEGORIES= textproc
MASTER_SITES= http://mdocml.bsd.lv/snapshots/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= uqs
+ LOCAL/uqs
MAINTAINER= uqs@FreeBSD.org
COMMENT= mdoc macro compiler
diff --git a/textproc/mgdiff/Makefile b/textproc/mgdiff/Makefile
index 17fd28c..1c9feb4 100644
--- a/textproc/mgdiff/Makefile
+++ b/textproc/mgdiff/Makefile
@@ -5,8 +5,7 @@ PORTNAME= mgdiff
PORTVERSION= 1.0
PORTREVISION= 4
CATEGORIES= textproc
-MASTER_SITES= ${MASTER_SITE_XCONTRIB}
-MASTER_SITE_SUBDIR= applications
+MASTER_SITES= XCONTRIB/applications
DISTNAME= ${PORTNAME}
MAINTAINER= portmaster@BSDforge.com
diff --git a/textproc/muse/Makefile b/textproc/muse/Makefile
index 8d2c117..6b5508c 100644
--- a/textproc/muse/Makefile
+++ b/textproc/muse/Makefile
@@ -6,9 +6,8 @@ PORTVERSION= 3.20
PORTREVISION= 10
CATEGORIES= textproc elisp
MASTER_SITES= http://download.gna.org/muse-el/ \
- ${MASTER_SITE_LOCAL} \
+ LOCAL/dryice \
http://dryice.name/computer/FreeBSD/distfiles/
-MASTER_SITE_SUBDIR= dryice
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
MAINTAINER= ports@FreeBSD.org
diff --git a/textproc/p5-Google-Data-JSON/Makefile b/textproc/p5-Google-Data-JSON/Makefile
index 313be3b..8812297 100644
--- a/textproc/p5-Google-Data-JSON/Makefile
+++ b/textproc/p5-Google-Data-JSON/Makefile
@@ -3,12 +3,12 @@
PORTNAME= Google-Data-JSON
PORTVERSION= 0.1.10
+DISTVERSIONPREFIX= v
PORTREVISION= 2
CATEGORIES= textproc perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:TAKERU
PKGNAMEPREFIX= p5-
-DISTNAME= ${PORTNAME}-v${PORTVERSION}
MAINTAINER= perl@FreeBSD.org
COMMENT= General XML-JSON converter based on Google Data APIs
diff --git a/textproc/p5-PPI-XS/Makefile b/textproc/p5-PPI-XS/Makefile
index 7bf4d39..649b010 100644
--- a/textproc/p5-PPI-XS/Makefile
+++ b/textproc/p5-PPI-XS/Makefile
@@ -4,8 +4,7 @@ PORTNAME= PPI-XS
PORTVERSION= 0.902
PORTREVISION= 1
CATEGORIES= textproc perl5
-MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= PPI
+MASTER_SITES= CPAN/PPI
PKGNAMEPREFIX= p5-
MAINTAINER= lth@FreeBSD.org
diff --git a/textproc/p5-Pod-Strip/Makefile b/textproc/p5-Pod-Strip/Makefile
index f21cf41..f558edd 100644
--- a/textproc/p5-Pod-Strip/Makefile
+++ b/textproc/p5-Pod-Strip/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 1.02
PORTREVISION= 2
CATEGORIES= textproc perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Pod
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
diff --git a/textproc/p5-String-BufferStack/Makefile b/textproc/p5-String-BufferStack/Makefile
index b910301..7127c5e 100644
--- a/textproc/p5-String-BufferStack/Makefile
+++ b/textproc/p5-String-BufferStack/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 1.16
PORTREVISION= 1
CATEGORIES= textproc perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= String
PKGNAMEPREFIX= p5-
MAINTAINER= tobez@FreeBSD.org
diff --git a/textproc/p5-Text-FixEOL/Makefile b/textproc/p5-Text-FixEOL/Makefile
index 41bcd98..6d1baef 100644
--- a/textproc/p5-Text-FixEOL/Makefile
+++ b/textproc/p5-Text-FixEOL/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 1.06
PORTREVISION= 1
CATEGORIES= textproc perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Text
PKGNAMEPREFIX= p5-
MAINTAINER= lth@FreeBSD.org
diff --git a/textproc/p5-Text-Reform/Makefile b/textproc/p5-Text-Reform/Makefile
index d453d10..482d913 100644
--- a/textproc/p5-Text-Reform/Makefile
+++ b/textproc/p5-Text-Reform/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 1.20
PORTREVISION= 1
CATEGORIES= textproc perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Text
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
diff --git a/textproc/p5-Text-Trim/Makefile b/textproc/p5-Text-Trim/Makefile
index 9e31961..4e52e1b 100644
--- a/textproc/p5-Text-Trim/Makefile
+++ b/textproc/p5-Text-Trim/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 1.02
PORTREVISION= 2
CATEGORIES= textproc perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Text
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
diff --git a/textproc/p5-XML-DOM2/Makefile b/textproc/p5-XML-DOM2/Makefile
index baf9652..76e44f4 100644
--- a/textproc/p5-XML-DOM2/Makefile
+++ b/textproc/p5-XML-DOM2/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 0.06
PORTREVISION= 2
CATEGORIES= textproc perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= XML
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
diff --git a/textproc/p5-XML-Parser-Style-EasyTree/Makefile b/textproc/p5-XML-Parser-Style-EasyTree/Makefile
index 112029f..0fa69f6 100644
--- a/textproc/p5-XML-Parser-Style-EasyTree/Makefile
+++ b/textproc/p5-XML-Parser-Style-EasyTree/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 0.09
PORTREVISION= 1
CATEGORIES= textproc perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= XML
PKGNAMEPREFIX= p5-
MAINTAINER= tobez@FreeBSD.org
diff --git a/textproc/p5-podlators/Makefile b/textproc/p5-podlators/Makefile
index 659dc36..bf01fab 100644
--- a/textproc/p5-podlators/Makefile
+++ b/textproc/p5-podlators/Makefile
@@ -5,8 +5,7 @@ PORTNAME= podlators
PORTVERSION= 2.5.3
PORTREVISION= 2
CATEGORIES= textproc perl5
-MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Pod
+MASTER_SITES= CPAN/Pod
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
diff --git a/textproc/pdfgrep/Makefile b/textproc/pdfgrep/Makefile
index d15ad76..a595637 100644
--- a/textproc/pdfgrep/Makefile
+++ b/textproc/pdfgrep/Makefile
@@ -5,8 +5,7 @@ PORTNAME= pdfgrep
PORTVERSION= 1.3.0
PORTREVISION= 3
CATEGORIES= textproc
-MASTER_SITES= SF/${PORTNAME}/${PORTVERSION}/
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= SF/${PORTNAME}/${PORTVERSION}
MAINTAINER= michael@ranner.eu
COMMENT= Tool to search text in PDF files
diff --git a/textproc/pecl-ctemplate/Makefile b/textproc/pecl-ctemplate/Makefile
index 3d688f5..7387e9a 100644
--- a/textproc/pecl-ctemplate/Makefile
+++ b/textproc/pecl-ctemplate/Makefile
@@ -5,8 +5,7 @@ PORTNAME= cTemplate
PORTVERSION= 1.11
PORTREVISION= 0
CATEGORIES= textproc pear
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= vanilla
+MASTER_SITES= LOCAL/vanilla
PKGNAMEPREFIX= pecl-
DIST_SUBDIR= PECL
diff --git a/textproc/perl2html/Makefile b/textproc/perl2html/Makefile
index 3f948f3..9adf5cb 100644
--- a/textproc/perl2html/Makefile
+++ b/textproc/perl2html/Makefile
@@ -5,8 +5,7 @@ PORTNAME= perl2html
PORTVERSION= 0.9.2
PORTREVISION= 1
CATEGORIES= textproc www
-MASTER_SITES= ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR= apps/www/converters
+MASTER_SITES= SUNSITE/apps/www/converters
MAINTAINER= mkamm@gmx.net
COMMENT= Perl sources to HTML converter
diff --git a/textproc/popup-stacks/Makefile b/textproc/popup-stacks/Makefile
index 342904c..95bf5a8 100644
--- a/textproc/popup-stacks/Makefile
+++ b/textproc/popup-stacks/Makefile
@@ -4,7 +4,6 @@ PORTNAME= popup
PORTVERSION= 1.0
CATEGORIES= textproc
MASTER_SITES= http://popup.sourceforge.net/files/cstack/
-MASTER_SITE_SUBDIR= ${PORTNAME}
PKGNAMESUFFIX= -stacks${PKGNAMESUFFIX2}
DISTFILES= English-German.cstack.gz German-French.cstack.gz
diff --git a/textproc/ppower4/Makefile b/textproc/ppower4/Makefile
index e7c7f27..dc1bc8c 100644
--- a/textproc/ppower4/Makefile
+++ b/textproc/ppower4/Makefile
@@ -5,8 +5,7 @@ PORTNAME= ppower4
PORTVERSION= 0.9.4
PORTREVISION= 7
CATEGORIES= textproc java
-MASTER_SITES= ${MASTER_SITE_TEX_CTAN}
-MASTER_SITE_SUBDIR= support/${PORTNAME}
+MASTER_SITES= TEX_CTAN/support/${PORTNAME}
DISTFILES= pp4sty.zip pp4p.jar manual.pdf leveldemo.zip
DIST_SUBDIR= ${PORTNAME}
EXTRACT_ONLY= pp4sty.zip leveldemo.zip
diff --git a/textproc/py-wordnet/Makefile b/textproc/py-wordnet/Makefile
index 4c0c8eb..eec80e6 100644
--- a/textproc/py-wordnet/Makefile
+++ b/textproc/py-wordnet/Makefile
@@ -8,7 +8,6 @@ CATEGORIES= textproc python
MASTER_SITES= SF/pywordnet/pywordnet/${PORTVERSION}:pywn \
http://wordnetcode.princeton.edu/${WN_VERSION}/:wn \
ftp://ftp.ims.uni-stuttgart.de/pub/WordNet/${WN_VERSION}/:wn
-MASTER_SITE_SUBDIR= pywordnet
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTFILES= pywordnet-${PORTVERSION}.tar.gz:pywn \
WordNet-${WN_VERSION}.tar.gz:wn
diff --git a/textproc/py2html/Makefile b/textproc/py2html/Makefile
index 00a8c4d..e8bcd22 100644
--- a/textproc/py2html/Makefile
+++ b/textproc/py2html/Makefile
@@ -4,8 +4,7 @@
PORTNAME= py2html
PORTVERSION= 0.7
CATEGORIES= textproc www python
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= perky
+MASTER_SITES= LOCAL/perky
PKGNAMESUFFIX= -${PYTHON_PKGNAMEPREFIX:S/-//}
MAINTAINER= ports@FreeBSD.org
diff --git a/textproc/randlm/Makefile b/textproc/randlm/Makefile
index 2df1b84..e678b31 100644
--- a/textproc/randlm/Makefile
+++ b/textproc/randlm/Makefile
@@ -5,8 +5,7 @@ PORTNAME= randlm
PORTVERSION= 0.2.5
PORTREVISION= 1
CATEGORIES= textproc
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR=${PORTNAME}
+MASTER_SITES= SF/${PORTNAME}
MAINTAINER= demon@FreeBSD.org
COMMENT= A toolkit for building randomized language models
diff --git a/textproc/ruby-escape/Makefile b/textproc/ruby-escape/Makefile
index 877cd25..cd8a148 100644
--- a/textproc/ruby-escape/Makefile
+++ b/textproc/ruby-escape/Makefile
@@ -5,7 +5,7 @@ PORTNAME= escape
PORTVERSION= 0.2
CATEGORIES= textproc ruby
MASTER_SITES= http://www.a-k-r.org/${PORTNAME}/ \
- ${MASTER_SITE_LOCAL:S|%SUBDIR%|tota/ruby-escape|}
+ LOCAL/tota/ruby-escape
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DIST_SUBDIR= ${RUBY_PKGNAMEPREFIX:S|${RUBY_SUFFIX}-||}
diff --git a/textproc/ruby-rttool/Makefile b/textproc/ruby-rttool/Makefile
index 1320501..7804449 100644
--- a/textproc/ruby-rttool/Makefile
+++ b/textproc/ruby-rttool/Makefile
@@ -5,7 +5,7 @@ PORTNAME= rttool
PORTVERSION= 1.0.3
CATEGORIES= textproc ruby
MASTER_SITES= http://www.rubyist.net/~rubikitch/archive/ \
- ${MASTER_SITE_LOCAL:S|%SUBDIR%|tota/ruby-rttool|}
+ LOCAL/tota/ruby-rttool
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DIST_SUBDIR= ${RUBY_PKGNAMEPREFIX:S|${RUBY_SUFFIX}-||}
diff --git a/textproc/scr2txt/Makefile b/textproc/scr2txt/Makefile
index c5b27df..76fe912 100644
--- a/textproc/scr2txt/Makefile
+++ b/textproc/scr2txt/Makefile
@@ -4,14 +4,12 @@
PORTNAME= scr2txt
PORTVERSION= 1.2
CATEGORIES= textproc
-
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= nik
-NO_WRKSUBDIR= yes
+MASTER_SITES= LOCAL/nik
MAINTAINER= ports@FreeBSD.org
COMMENT= Converts the output of "vidcontrol -p" to text
+NO_WRKSUBDIR= yes
USES= uidfix
MAKE_ENV= BINDIR=${PREFIX}/bin SHAREDIR=${PREFIX}
diff --git a/textproc/senna/Makefile b/textproc/senna/Makefile
index 1a139df..1d41a2e 100644
--- a/textproc/senna/Makefile
+++ b/textproc/senna/Makefile
@@ -5,8 +5,7 @@ PORTVERSION= 1.1.5
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= textproc
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP}
-MASTER_SITE_SUBDIR= senna/46945
+MASTER_SITES= SFJP/senna/46945
MAINTAINER= kuriyama@FreeBSD.org
COMMENT= Embeddable Fulltext Search Engine
diff --git a/textproc/sgmlformat/Makefile b/textproc/sgmlformat/Makefile
index 5340bb1..4f08359 100644
--- a/textproc/sgmlformat/Makefile
+++ b/textproc/sgmlformat/Makefile
@@ -5,8 +5,7 @@ PORTNAME= sgmlformat
PORTVERSION= 1.7
PORTREVISION= 6
CATEGORIES= textproc print
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= kuriyama
+MASTER_SITES= LOCAL/kuriyama
MAINTAINER= kuriyama@FreeBSD.org
COMMENT= Generates groff and HTML from linuxdoc and docbook SGML documents
diff --git a/textproc/sgrep/Makefile b/textproc/sgrep/Makefile
index 805b93f..971ff1d 100644
--- a/textproc/sgrep/Makefile
+++ b/textproc/sgrep/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 0.99
PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= ftp://ftp.cs.helsinki.fi/pub/Software/Local/Sgrep/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= jkoshy
+ LOCAL/jkoshy
MAINTAINER= ports@FreeBSD.org
COMMENT= Grep for structured text like SGML and HTML
diff --git a/textproc/sgrep2/Makefile b/textproc/sgrep2/Makefile
index 4f87fc5..e8758c4 100644
--- a/textproc/sgrep2/Makefile
+++ b/textproc/sgrep2/Makefile
@@ -5,8 +5,7 @@ PORTNAME= sgrep2
PORTVERSION= 1.94a
CATEGORIES= textproc
MASTER_SITES= ftp://ftp.cs.helsinki.fi/pub/Software/Local/Sgrep/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= jkoshy
+ LOCAL/jkoshy
DISTNAME= sgrep-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
diff --git a/textproc/source-highlight/Makefile b/textproc/source-highlight/Makefile
index abd40f65..fee82b2 100644
--- a/textproc/source-highlight/Makefile
+++ b/textproc/source-highlight/Makefile
@@ -5,8 +5,7 @@ PORTNAME= source-highlight
PORTVERSION= 3.1.6
PORTREVISION= 2
CATEGORIES= textproc
-MASTER_SITES= ${MASTER_SITE_GNU}
-MASTER_SITE_SUBDIR= src-highlite
+MASTER_SITES= GNU/src-highlite
MAINTAINER= kevlo@FreeBSD.org
COMMENT= C/C++ and Java sources to HTML converter
diff --git a/textproc/txt2tags/Makefile b/textproc/txt2tags/Makefile
index 1d71244..957a796 100644
--- a/textproc/txt2tags/Makefile
+++ b/textproc/txt2tags/Makefile
@@ -4,13 +4,12 @@
PORTNAME= txt2tags
PORTVERSION= 2.6
CATEGORIES= textproc
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
-EXTRACT_SUFX= .tgz
+MASTER_SITES= GOOGLE_CODE
MAINTAINER= ports@FreeBSD.org
COMMENT= Convert simply formatted text into markup (e.g., HTML)
-USES= python:2
+USES= python:2 tar:tgz
NO_BUILD= yes
PORTDOCS= ChangeLog README userguide.pdf
diff --git a/textproc/uim-el/Makefile b/textproc/uim-el/Makefile
index e74a476..88d90ac 100644
--- a/textproc/uim-el/Makefile
+++ b/textproc/uim-el/Makefile
@@ -5,7 +5,7 @@ PORTNAME= uim-el
PORTVERSION= 1.8.6
PORTREVISION= 3
CATEGORIES= textproc
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
DISTNAME= uim-${PORTVERSION}
diff --git a/textproc/uim/Makefile b/textproc/uim/Makefile
index 9dbef5c..94682f8 100644
--- a/textproc/uim/Makefile
+++ b/textproc/uim/Makefile
@@ -5,7 +5,7 @@ PORTNAME= uim
PORTVERSION= 1.8.6
PORTREVISION?= 1
CATEGORIES?= textproc
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
.if !defined(UIM_SLAVE) && defined(WITHOUT_X11)
PKGNAMESUFFIX= -nox11
.endif
diff --git a/textproc/unroff/Makefile b/textproc/unroff/Makefile
index 60f9c7a..58566b8 100644
--- a/textproc/unroff/Makefile
+++ b/textproc/unroff/Makefile
@@ -5,13 +5,11 @@ PORTNAME= unroff
PORTVERSION= 1.0.2
PORTREVISION= 5
CATEGORIES= textproc
-MASTER_SITES= http://www-rn.informatik.uni-bremen.de/software/unroff/%SUBDIR%/
-MASTER_SITE_SUBDIR= dist
+MASTER_SITES= http://www-rn.informatik.uni-bremen.de/software/unroff/dist/
DISTNAME= ${PORTNAME}-${PORTVERSION:R}
DIST_SUBDIR= unroff
-PATCH_SITES= ${MASTER_SITES}
-PATCH_SITE_SUBDIR= contrib
+PATCH_SITES= http://www-rn.informatik.uni-bremen.de/software/unroff/contrib/
PATCHFILES= me-misc-patch.gz misc-patch-2.gz
PATCH_DIST_STRIP= -p1
diff --git a/textproc/xalan-j/Makefile b/textproc/xalan-j/Makefile
index 3326055..ca5d212 100644
--- a/textproc/xalan-j/Makefile
+++ b/textproc/xalan-j/Makefile
@@ -4,8 +4,7 @@
PORTNAME= xalan-j
PORTVERSION= 2.7.1
CATEGORIES= textproc java
-MASTER_SITES= ${MASTER_SITE_APACHE_XML}
-MASTER_SITE_SUBDIR= ${PORTNAME}/binaries
+MASTER_SITES= APACHE_XML/${PORTNAME}/binaries
DISTNAME= ${PORTNAME}_${PORTVERSION:S/./_/g}-bin
MAINTAINER= ale@FreeBSD.org
diff --git a/textproc/xerces-j/Makefile b/textproc/xerces-j/Makefile
index 4cd1cd5..de17a12 100644
--- a/textproc/xerces-j/Makefile
+++ b/textproc/xerces-j/Makefile
@@ -4,8 +4,7 @@
PORTNAME= xerces-j
PORTVERSION= 2.11.0
CATEGORIES= textproc java
-MASTER_SITES= ${MASTER_SITE_APACHE}
-MASTER_SITE_SUBDIR= xerces/j
+MASTER_SITES= APACHE/xerces/j
DISTNAME= Xerces-J-bin.${PORTVERSION}
MAINTAINER= ale@FreeBSD.org
diff --git a/textproc/xhtml/Makefile b/textproc/xhtml/Makefile
index bfbacc8..873e7e9 100644
--- a/textproc/xhtml/Makefile
+++ b/textproc/xhtml/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 1.0.20020801
PORTREVISION= 4
CATEGORIES= textproc
#MASTER_SITES= http://www.w3.org/TR/xhtml1/
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= kuriyama
+MASTER_SITES= LOCAL/kuriyama
DISTNAME= xhtml1-20020801
MAINTAINER= kuriyama@FreeBSD.org
diff --git a/vietnamese/unicode-uhoai/Makefile b/vietnamese/unicode-uhoai/Makefile
index f7016f0..d579079 100644
--- a/vietnamese/unicode-uhoai/Makefile
+++ b/vietnamese/unicode-uhoai/Makefile
@@ -5,8 +5,7 @@ PORTNAME= unicode-uhoai
PORTVERSION= 2.1
PORTREVISION= 4
CATEGORIES= vietnamese x11-fonts
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= obrien
+MASTER_SITES= LOCAL/obrien
DISTNAME= uhoaiw21
MAINTAINER= obrien@FreeBSD.org
diff --git a/vietnamese/vis2u/Makefile b/vietnamese/vis2u/Makefile
index 747f136..03692c2 100644
--- a/vietnamese/vis2u/Makefile
+++ b/vietnamese/vis2u/Makefile
@@ -4,8 +4,7 @@
PORTNAME= vis2u
PORTVERSION= 1.0
CATEGORIES= vietnamese textproc
-MASTER_SITES= LOCAL
-MASTER_SITE_SUBDIR= obrien
+MASTER_SITES= LOCAL/obrien
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g}
MAINTAINER= obrien@FreeBSD.org
diff --git a/vietnamese/vnconvert/Makefile b/vietnamese/vnconvert/Makefile
index 42d55c3..ea8c8e2 100644
--- a/vietnamese/vnconvert/Makefile
+++ b/vietnamese/vnconvert/Makefile
@@ -4,8 +4,7 @@
PORTNAME= vnconvert
PORTVERSION= 1.0
CATEGORIES= vietnamese
-MASTER_SITES= LOCAL
-MASTER_SITE_SUBDIR= obrien
+MASTER_SITES= LOCAL/obrien
DISTNAME= convert
EXTRACT_SUFX= .tar
diff --git a/vietnamese/vnroff/Makefile b/vietnamese/vnroff/Makefile
index 4e1d513..eecb57e 100644
--- a/vietnamese/vnroff/Makefile
+++ b/vietnamese/vnroff/Makefile
@@ -4,8 +4,7 @@
PORTNAME= vnroff
PORTVERSION= 2.1
CATEGORIES= vietnamese print
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= obrien
+MASTER_SITES= LOCAL/obrien
DISTNAME= ${PORTNAME}-2.0
DISTFILES= vnroff.c.Z vnroff.1.Z
diff --git a/vietnamese/x-unikey/Makefile b/vietnamese/x-unikey/Makefile
index d622c6b..1dbcca0 100644
--- a/vietnamese/x-unikey/Makefile
+++ b/vietnamese/x-unikey/Makefile
@@ -4,8 +4,7 @@
PORTNAME= x-unikey
PORTVERSION= 1.0.4
CATEGORIES= vietnamese textproc
-MASTER_SITES= SF
-MASTER_SITE_SUBDIR= unikey/${PORTNAME}/${PORTVERSION}
+MASTER_SITES= SF/unikey/${PORTNAME}/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Vietnamese input method for X
diff --git a/www/apache22/Makefile b/www/apache22/Makefile
index 93bd486..a7e54b4 100644
--- a/www/apache22/Makefile
+++ b/www/apache22/Makefile
@@ -4,7 +4,7 @@ PORTNAME= apache22
PORTVERSION= 2.2.29
PORTREVISION?= 2
CATEGORIES= www ipv6
-MASTER_SITES= ${MASTER_SITE_APACHE_HTTPD}
+MASTER_SITES= APACHE_HTTPD
DISTNAME= httpd-${PORTVERSION}
DIST_SUBDIR= apache22
diff --git a/www/apache24/Makefile b/www/apache24/Makefile
index 24628a6..a3dee05 100644
--- a/www/apache24/Makefile
+++ b/www/apache24/Makefile
@@ -3,7 +3,7 @@
PORTNAME= apache24
PORTVERSION= 2.4.12
CATEGORIES= www ipv6
-MASTER_SITES= ${MASTER_SITE_APACHE_HTTPD}
+MASTER_SITES= APACHE_HTTPD
DISTNAME= httpd-${PORTVERSION}
DIST_SUBDIR= apache24
diff --git a/www/axis/Makefile b/www/axis/Makefile
index e814bb6..cdd9280 100644
--- a/www/axis/Makefile
+++ b/www/axis/Makefile
@@ -2,12 +2,11 @@
# $FreeBSD$
PORTNAME= axis
-PORTVERSION= 1.4
+DISTVERSION= 1_4
PORTREVISION= 6
CATEGORIES= www java
-MASTER_SITES= ${MASTER_SITE_APACHE}
-MASTER_SITE_SUBDIR= ws/axis/${PORTVERSION:S,.,_,g}
-DISTNAME= axis-bin-${PORTVERSION:S,.,_,g}
+MASTER_SITES= APACHE/ws/axis/${DISTVERSION}
+DISTNAME= axis-bin-${DISTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Java SOAP implementation by Apache
@@ -39,7 +38,7 @@ JAVA_VERSION= 1.6+
USER= www
GROUP= www
-WRKSRC= ${WRKDIR}/axis-${PORTVERSION:S,.,_,g}
+WRKSRC= ${WRKDIR}/axis-${DISTVERSION}
PORTDOCS= *
PORTEXAMPLES= *
diff --git a/www/bozohttpd/Makefile b/www/bozohttpd/Makefile
index 0419226..ec1f033 100644
--- a/www/bozohttpd/Makefile
+++ b/www/bozohttpd/Makefile
@@ -5,7 +5,7 @@ PORTNAME= bozohttpd
PORTVERSION= 20130711
CATEGORIES= www ipv6
MASTER_SITES= http://www.eterna.com.au/bozohttpd/ \
- ${MASTER_SITE_NETBSD}
+ NETBSD
MAINTAINER= jmohacsi@bsd.hu
COMMENT= The bozotic HTTP server
diff --git a/www/cgi-lib.pl/Makefile b/www/cgi-lib.pl/Makefile
index ff90c8e..dccfd95 100644
--- a/www/cgi-lib.pl/Makefile
+++ b/www/cgi-lib.pl/Makefile
@@ -5,8 +5,7 @@ PORTNAME= cgi-lib_pl
PORTVERSION= 2.18
PORTREVISION= 1
CATEGORIES= www
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= sada
+MASTER_SITES= LOCAL/sada
DISTNAME= cgi-lib.pl-${PORTVERSION}
EXTRACT_SUFX= .gz
diff --git a/www/cgi-lib/Makefile b/www/cgi-lib/Makefile
index bfe637f..f7e830a 100644
--- a/www/cgi-lib/Makefile
+++ b/www/cgi-lib/Makefile
@@ -5,8 +5,7 @@ PORTNAME= cgi-lib
PORTVERSION= 1.4
PORTREVISION= 1
CATEGORIES= www
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= alex
+MASTER_SITES= LOCAL/alex
MAINTAINER= gonza@techline.ru
COMMENT= ANSI C Library for CGI Programming
diff --git a/www/cocoon/Makefile b/www/cocoon/Makefile
index 56ffdd4..d6d047f 100644
--- a/www/cocoon/Makefile
+++ b/www/cocoon/Makefile
@@ -4,8 +4,7 @@ PORTNAME= cocoon
PORTVERSION= 2.1.11
PORTREVISION= 1
CATEGORIES= www java
-MASTER_SITES= ${MASTER_SITE_APACHE}
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= APACHE/${PORTNAME}
DISTNAME= ${PDISTNAME}-src
MAINTAINER= ports@FreeBSD.org
diff --git a/www/demoroniser/Makefile b/www/demoroniser/Makefile
index deb4c9d..5832c0a 100644
--- a/www/demoroniser/Makefile
+++ b/www/demoroniser/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 1.0.20030916
PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://www.fourmilab.ch/webtools/demoroniser/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR=jedgar
+ LOCAL/jedgar
DISTNAME= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
diff --git a/www/diamanda/Makefile b/www/diamanda/Makefile
index 5d7fef9..058100f 100644
--- a/www/diamanda/Makefile
+++ b/www/diamanda/Makefile
@@ -5,7 +5,7 @@ PORTNAME= diamanda
PORTVERSION= 0.0.${SNAPSHOT:S/.//g}
PORTREVISION= 3
CATEGORIES= www python
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
DISTNAME= ${PORTNAME}-${SNAPSHOT}
MAINTAINER= ports@FreeBSD.org
diff --git a/www/dillo2/Makefile b/www/dillo2/Makefile
index 684ca20..e7dc9b9 100644
--- a/www/dillo2/Makefile
+++ b/www/dillo2/Makefile
@@ -5,9 +5,7 @@ PORTNAME= dillo
PORTVERSION= 3.0.4.1
CATEGORIES= www ipv6
MASTER_SITES= http://www.dillo.org/download/ LOCAL/bf/dillo/ \
- TEX_CTAN:hyphen
-MASTER_SITE_SUBDIR= \
- language/hyph-utf8/tex/generic/hyph-utf8/patterns/txt/:hyphen
+ TEX_CTAN/language/hyph-utf8/tex/generic/hyph-utf8/patterns/txt/:hyphen
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
DIST_SUBDIR= ${PORTNAME}
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
diff --git a/www/emacs-w3m/Makefile b/www/emacs-w3m/Makefile
index 2a340cb..0260d24 100644
--- a/www/emacs-w3m/Makefile
+++ b/www/emacs-w3m/Makefile
@@ -5,8 +5,7 @@ PORTNAME= emacs-w3m
PORTVERSION= 1.4.538.b.${SNAPDATE}
PORTREVISION= 1
CATEGORIES= www elisp
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= nobutaka
+MASTER_SITES= LOCAL/nobutaka
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
DISTNAME= ${PORTNAME}-1.4.538-${SNAPDATE}
diff --git a/www/eventum/Makefile b/www/eventum/Makefile
index a57f769..f96f483 100644
--- a/www/eventum/Makefile
+++ b/www/eventum/Makefile
@@ -5,8 +5,7 @@ PORTNAME= eventum
PORTVERSION= 2.2
PORTREVISION= 1
CATEGORIES= www
-MASTER_SITES= ${MASTER_SITE_MYSQL}
-MASTER_SITE_SUBDIR= eventum
+MASTER_SITES= MYSQL/eventum
MAINTAINER= ports@FreeBSD.org
COMMENT= Eventum issue tracking system
diff --git a/www/feedonfeeds/Makefile b/www/feedonfeeds/Makefile
index 8e6e226..e24f100 100644
--- a/www/feedonfeeds/Makefile
+++ b/www/feedonfeeds/Makefile
@@ -4,7 +4,7 @@
PORTNAME= feedonfeeds
PORTVERSION= 0.5
CATEGORIES= www
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
EXTRACT_SUFX= .tgz
MAINTAINER= wtp@bsdserwis.com
diff --git a/www/free-sa-devel/Makefile b/www/free-sa-devel/Makefile
index 5f640e4..23aa839 100644
--- a/www/free-sa-devel/Makefile
+++ b/www/free-sa-devel/Makefile
@@ -4,8 +4,7 @@
PORTNAME= free-sa
PORTVERSION= 2.0.0b6.7
CATEGORIES= www
-MASTER_SITES= SF
-MASTER_SITE_SUBDIR= free-sa/free-sa-dev/2.0.0b6p7
+MASTER_SITES= SF/free-sa/free-sa-dev/2.0.0b6p7
PKGNAMESUFFIX= -devel
DISTNAME= free-sa-2.0.0b6p7
diff --git a/www/fswiki/Makefile b/www/fswiki/Makefile
index e80c39e..4b45947 100644
--- a/www/fswiki/Makefile
+++ b/www/fswiki/Makefile
@@ -4,8 +4,7 @@ PORTNAME= fswiki
PORTVERSION= 3.6.2
PORTREVISION= 1
CATEGORIES= www
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP}
-MASTER_SITE_SUBDIR= fswiki/20797
+MASTER_SITES= SFJP/fswiki/20797
DISTNAME= wiki${PORTVERSION:S|.|_|g}
MAINTAINER= kuriyama@FreeBSD.org
diff --git a/www/fusionpbx/Makefile b/www/fusionpbx/Makefile
index eb60597..17645dc 100644
--- a/www/fusionpbx/Makefile
+++ b/www/fusionpbx/Makefile
@@ -6,7 +6,7 @@ DISTVERSION= 3.3
PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://www.fusionpbx.com/downloads/ \
- ${MASTER_SITE_GOOGLE_CODE}
+ GOOGLE_CODE
MAINTAINER= ports@FreeBSD.org
COMMENT= PHP5 Graphical User Interface for FreeSwitch
diff --git a/www/gaeo/Makefile b/www/gaeo/Makefile
index f547a1e..1237e7d 100644
--- a/www/gaeo/Makefile
+++ b/www/gaeo/Makefile
@@ -6,7 +6,7 @@ PORTVERSION= 0.3
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= www devel python
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
MAINTAINER= ports@FreeBSD.org
COMMENT= Open-source web framework running on Google App Engine
diff --git a/www/geronimo/Makefile b/www/geronimo/Makefile
index 60556d0..86957af 100644
--- a/www/geronimo/Makefile
+++ b/www/geronimo/Makefile
@@ -5,8 +5,7 @@ PORTNAME= geronimo
DISTVERSION= 3.0-beta-1
PORTREVISION= 1
CATEGORIES= www devel java
-MASTER_SITES= ${MASTER_SITE_APACHE}
-MASTER_SITE_SUBDIR= geronimo/${DISTVERSION}
+MASTER_SITES= APACHE/geronimo/${DISTVERSION}
DISTNAME= ${PORTNAME}-${WEBSERVER}-javaee6-${DISTVERSION}-bin
MAINTAINER= ports@FreeBSD.org
diff --git a/www/grr/Makefile b/www/grr/Makefile
index 05af2f0..83470dc 100644
--- a/www/grr/Makefile
+++ b/www/grr/Makefile
@@ -4,8 +4,7 @@ PORTNAME= grr
PORTVERSION= 1.0
PORTREVISION= 2
CATEGORIES= www gnustep
-MASTER_SITES= ${MASTER_SITE_SAVANNAH}
-MASTER_SITE_SUBDIR= gap
+MASTER_SITES= SAVANNAH/gap
DISTNAME= Grr-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
diff --git a/www/gtkhtml3/Makefile b/www/gtkhtml3/Makefile
index 5347946..4f6ef4f 100644
--- a/www/gtkhtml3/Makefile
+++ b/www/gtkhtml3/Makefile
@@ -6,8 +6,7 @@ PORTNAME= gtkhtml3
PORTVERSION= 3.32.1
PORTREVISION= 4
CATEGORIES= www gnome
-MASTER_SITES= GNOME
-MASTER_SITE_SUBDIR= sources/${PORTNAME:S/3$//}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
+MASTER_SITES= GNOME/sources/${PORTNAME:S/3$//}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
DISTNAME= ${PORTNAME:S/3$//}-${PORTVERSION}
DIST_SUBDIR= gnome2
diff --git a/www/guile-www/Makefile b/www/guile-www/Makefile
index e34e9c4..f4593bb 100644
--- a/www/guile-www/Makefile
+++ b/www/guile-www/Makefile
@@ -5,8 +5,7 @@ PORTNAME= guile-www
PORTVERSION= 1.1.1
PORTREVISION= 2
CATEGORIES= www devel scheme
-MASTER_SITES= ${MASTER_SITE_GNU}
-MASTER_SITE_SUBDIR= guile
+MASTER_SITES= GNU/guile
MAINTAINER= ports@FreeBSD.org
COMMENT= Guile modules for WWW interaction
diff --git a/www/gurlchecker/Makefile b/www/gurlchecker/Makefile
index 01ccf99..528ada2 100644
--- a/www/gurlchecker/Makefile
+++ b/www/gurlchecker/Makefile
@@ -5,8 +5,7 @@ PORTNAME= gurlchecker
PORTVERSION= 0.10.1
PORTREVISION= 22
CATEGORIES= www gnome
-MASTER_SITES= http://labs.libre-entreprise.org/frs/download.php/%SUBDIR%/
-MASTER_SITE_SUBDIR= 547
+MASTER_SITES= http://labs.libre-entreprise.org/frs/download.php/547/
MAINTAINER= ports@FreeBSD.org
COMMENT= Gnome program to check a page/website for broken links
diff --git a/www/htdigest/Makefile b/www/htdigest/Makefile
index bf9da72..cda4704 100644
--- a/www/htdigest/Makefile
+++ b/www/htdigest/Makefile
@@ -4,7 +4,7 @@ PORTNAME= htdigest
PORTVERSION= 2.4.6
PORTREVISION= 1
CATEGORIES= www ipv6
-MASTER_SITES= ${MASTER_SITE_APACHE_HTTPD}
+MASTER_SITES= APACHE_HTTPD
DISTNAME= httpd-${PORTVERSION}
DIST_SUBDIR= apache24
diff --git a/www/html2hdml/Makefile b/www/html2hdml/Makefile
index a2dc04a..ab277ab 100644
--- a/www/html2hdml/Makefile
+++ b/www/html2hdml/Makefile
@@ -4,8 +4,7 @@
PORTNAME= html2hdml
PORTVERSION= 1.0.5
CATEGORIES= www textproc
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP}
-MASTER_SITE_SUBDIR= html2hdml/6351
+MASTER_SITES= SFJP/html2hdml/6351
MAINTAINER= ports@FreeBSD.org
COMMENT= I-mode HTML to EZweb HDML converter
diff --git a/www/httpasyncclient/Makefile b/www/httpasyncclient/Makefile
index 27b0e0a..f37ed63 100644
--- a/www/httpasyncclient/Makefile
+++ b/www/httpasyncclient/Makefile
@@ -4,8 +4,7 @@
PORTNAME= httpasyncclient
DISTVERSION= 4.0.2
CATEGORIES= www java
-MASTER_SITES= ${MASTER_SITE_APACHE}
-MASTER_SITE_SUBDIR= httpcomponents/${PORTNAME}/binary
+MASTER_SITES= APACHE/httpcomponents/${PORTNAME}/binary
DISTNAME= httpcomponents-asyncclient-${DISTVERSION}-bin
MAINTAINER= ale@FreeBSD.org
diff --git a/www/httpclient/Makefile b/www/httpclient/Makefile
index 1703ee9..eaf856d 100644
--- a/www/httpclient/Makefile
+++ b/www/httpclient/Makefile
@@ -4,8 +4,7 @@
PORTNAME= httpclient
DISTVERSION= 4.3.6
CATEGORIES= www java
-MASTER_SITES= ${MASTER_SITE_APACHE}
-MASTER_SITE_SUBDIR= httpcomponents/${PORTNAME}/binary
+MASTER_SITES= APACHE/httpcomponents/${PORTNAME}/binary
DISTNAME= httpcomponents-client-${DISTVERSION}-bin
MAINTAINER= ale@FreeBSD.org
diff --git a/www/httpcore/Makefile b/www/httpcore/Makefile
index bbb7b3e..2c38cd5 100644
--- a/www/httpcore/Makefile
+++ b/www/httpcore/Makefile
@@ -4,8 +4,7 @@
PORTNAME= httpcore
DISTVERSION= 4.3.3
CATEGORIES= www java
-MASTER_SITES= ${MASTER_SITE_APACHE}
-MASTER_SITE_SUBDIR= httpcomponents/${PORTNAME}/binary
+MASTER_SITES= APACHE/httpcomponents/${PORTNAME}/binary
DISTNAME= httpcomponents-core-${DISTVERSION}-bin
MAINTAINER= ale@FreeBSD.org
diff --git a/www/httpsqs/Makefile b/www/httpsqs/Makefile
index 66bcd54..d2d2a1e 100644
--- a/www/httpsqs/Makefile
+++ b/www/httpsqs/Makefile
@@ -5,7 +5,7 @@ PORTNAME= httpsqs
PORTVERSION= 1.7
PORTREVISION= 1
CATEGORIES= www devel
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
MAINTAINER= lichray@gmail.com
COMMENT= Simple Queue Service based on HTTP GET/POST protocol
diff --git a/www/ikiwiki/Makefile b/www/ikiwiki/Makefile
index 1a507a3..53d1024 100644
--- a/www/ikiwiki/Makefile
+++ b/www/ikiwiki/Makefile
@@ -4,7 +4,7 @@
PORTNAME= ikiwiki
PORTVERSION= 3.20141016.2
CATEGORIES= www
-MASTER_SITES= ${MASTER_SITE_DEBIAN_POOL} \
+MASTER_SITES= DEBIAN_POOL \
http://kitenet.net/~joey/debian/unstable/ \
LOCAL/mat/${PORTNAME}
DISTNAME= ${PORTNAME}_${PORTVERSION}
diff --git a/www/jetty/Makefile b/www/jetty/Makefile
index 4ce8e2f..ad52d8c 100644
--- a/www/jetty/Makefile
+++ b/www/jetty/Makefile
@@ -5,8 +5,7 @@ PORTNAME= jetty
PORTVERSION= 8.1.15
CATEGORIES= www java
-MASTER_SITES= ${MASTER_SITE_ECLIPSE}
-MASTER_SITE_SUBDIR=jetty/${PORTVERSION}.${JDVDATE}/dist
+MASTER_SITES= ECLIPSE/jetty/${PORTVERSION}.${JDVDATE}/dist
DISTNAME= jetty-distribution-${PORTVERSION}.${JDVDATE}
MAINTAINER= olgeni@FreeBSD.org
diff --git a/www/jmeter/Makefile b/www/jmeter/Makefile
index 93decca..157effd 100644
--- a/www/jmeter/Makefile
+++ b/www/jmeter/Makefile
@@ -4,8 +4,7 @@
PORTNAME= apache-jmeter
PORTVERSION= 2.11
CATEGORIES= www benchmarks java
-MASTER_SITES= ${MASTER_SITE_APACHE}
-MASTER_SITE_SUBDIR= jmeter/binaries
+MASTER_SITES= APACHE/jmeter/binaries
EXTRACT_SUFX= .tgz
MAINTAINER= mi@aldan.algebra.com
diff --git a/www/libapreq2/Makefile b/www/libapreq2/Makefile
index c4a0119..9f9cd41 100644
--- a/www/libapreq2/Makefile
+++ b/www/libapreq2/Makefile
@@ -5,8 +5,7 @@ PORTNAME= libapreq2
PORTVERSION= 2.13
PORTREVISION= 4
CATEGORIES= www devel
-MASTER_SITES= ${MASTER_SITE_APACHE_HTTPD}
-MASTER_SITE_SUBDIR=libapreq
+MASTER_SITES= APACHE_HTTPD/libapreq
MAINTAINER= apache@FreeBSD.org
COMMENT= Generic Apache2 Request Library
diff --git a/www/lighttpd-mod_geoip/Makefile b/www/lighttpd-mod_geoip/Makefile
index d24c6c0..c588802 100644
--- a/www/lighttpd-mod_geoip/Makefile
+++ b/www/lighttpd-mod_geoip/Makefile
@@ -17,9 +17,8 @@ MASTERDIR= ${.CURDIR}/../lighttpd
DESCR= ${.CURDIR}/pkg-descr
PLIST= ${.CURDIR}/pkg-plist
-PATCH_SITES+= ${MASTER_SITE_LOCAL}
+PATCH_SITES+= LOCAL/mm
PATCHFILES+= lighttpd-1.4.26_mod_geoip.patch.gz
-PATCH_SITE_SUBDIR+= mm
BUILD_WRKSRC= ${WRKSRC}/src
ALL_TARGET= ${PORTNAME}.la
diff --git a/www/lighttpd-mod_h264_streaming/Makefile b/www/lighttpd-mod_h264_streaming/Makefile
index 5bc054d..b915288 100644
--- a/www/lighttpd-mod_h264_streaming/Makefile
+++ b/www/lighttpd-mod_h264_streaming/Makefile
@@ -25,9 +25,8 @@ PLIST= ${.CURDIR}/pkg-plist
MANUAL_PACKAGE_BUILD= free for non-commercial use only
-PATCH_SITES+= ${MASTER_SITE_LOCAL}
+PATCH_SITES+= LOCAL/mm
PATCHFILES+= lighttpd-1.4.26_mod_h264_streaming-2.2.9.patch.gz
-PATCH_SITE_SUBDIR+= mm
BUILD_WRKSRC= ${WRKSRC}/src
ALL_TARGET= ${PORTNAME}.la
diff --git a/www/mod_amazon_proxy/Makefile b/www/mod_amazon_proxy/Makefile
index 9678a10..4e92f81 100644
--- a/www/mod_amazon_proxy/Makefile
+++ b/www/mod_amazon_proxy/Makefile
@@ -5,8 +5,7 @@ PORTNAME= mod_amazon_proxy
PORTVERSION= 20100913
PORTREVISION= 1
CATEGORIES= www
-MASTER_SITES= LOCAL
-MASTER_SITE_SUBDIR= tota/${PORTNAME}
+MASTER_SITES= LOCAL/tota/${PORTNAME}
MAINTAINER= tota@FreeBSD.org
COMMENT= Amazon Auth Proxy for Product Advertising API
diff --git a/www/mod_asn/Makefile b/www/mod_asn/Makefile
index 78dca95..e27931b 100644
--- a/www/mod_asn/Makefile
+++ b/www/mod_asn/Makefile
@@ -4,9 +4,8 @@ PORTNAME= mod_asn
PORTVERSION= 1.5
PORTREVISION= 2
CATEGORIES= www
-MASTER_SITES= ${MASTER_SITE_LOCAL} \
+MASTER_SITES= LOCAL/kuriyama \
http://mirrorbrain.org/files/releases/
-MASTER_SITE_SUBDIR= kuriyama
MAINTAINER= kuriyama@FreeBSD.org
COMMENT= Look up the AS and network prefix of IP address
diff --git a/www/mod_auth_tkt/Makefile b/www/mod_auth_tkt/Makefile
index f9cb8ac..f2528e8 100644
--- a/www/mod_auth_tkt/Makefile
+++ b/www/mod_auth_tkt/Makefile
@@ -4,9 +4,8 @@ PORTNAME= mod_auth_tkt
PORTVERSION= 2.1.0
PORTREVISION= 2
CATEGORIES= www
-MASTER_SITES= ${MASTER_SITE_LOCAL} \
+MASTER_SITES= LOCAL/kuriyama \
http://www.openfusion.com.au/labs/dist/mod_auth_tkt/
-MASTER_SITE_SUBDIR= kuriyama
MAINTAINER= kuriyama@FreeBSD.org
COMMENT= Lightweight single-sign-on authentication module for apache
diff --git a/www/mod_authn_sasl/Makefile b/www/mod_authn_sasl/Makefile
index d222168..8359470 100644
--- a/www/mod_authn_sasl/Makefile
+++ b/www/mod_authn_sasl/Makefile
@@ -5,8 +5,7 @@ PORTNAME= mod_authn_sasl
PORTVERSION= 1.2
PORTREVISION= 1
CATEGORIES= www
-MASTER_SITES= SF
-MASTER_SITE_SUBDIR=mod-authn-sasl/mod-authn-sasl/${PORTVERSION}
+MASTER_SITES= SF/mod-authn-sasl/mod-authn-sasl/${PORTVERSION}
MAINTAINER= apache@FreeBSD.org
COMMENT= Allows user authentication based on libsasl2 mechanisms on apache 2.2
diff --git a/www/mod_fcgid/Makefile b/www/mod_fcgid/Makefile
index 977316b..59860c0 100644
--- a/www/mod_fcgid/Makefile
+++ b/www/mod_fcgid/Makefile
@@ -4,8 +4,7 @@
PORTNAME= mod_fcgid
PORTVERSION= 2.3.9
CATEGORIES= www
-MASTER_SITES= ${MASTER_SITE_APACHE_HTTPD}
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= APACHE_HTTPD/${PORTNAME}
PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX}
DIST_SUBDIR= apache2
diff --git a/www/mod_jk/Makefile b/www/mod_jk/Makefile
index c4b7186..6470a4d 100644
--- a/www/mod_jk/Makefile
+++ b/www/mod_jk/Makefile
@@ -5,8 +5,7 @@ PORTNAME= mod_jk
PORTVERSION= 1.2.40
PORTEPOCH?= 1
CATEGORIES= www
-MASTER_SITES= ${MASTER_SITE_APACHE}
-MASTER_SITE_SUBDIR= tomcat/tomcat-connectors/jk/
+MASTER_SITES= APACHE/tomcat/tomcat-connectors/jk/
PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX}
DISTNAME= tomcat-connectors-${PORTVERSION}-src
diff --git a/www/mod_memcache/Makefile b/www/mod_memcache/Makefile
index 99b3003..764c39e 100644
--- a/www/mod_memcache/Makefile
+++ b/www/mod_memcache/Makefile
@@ -5,7 +5,7 @@ PORTNAME= mod_memcache
PORTVERSION= 0.1.0
PORTREVISION= 4
CATEGORIES= www
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX}
MAINTAINER= ports@FreeBSD.org
diff --git a/www/mod_perl2/Makefile b/www/mod_perl2/Makefile
index 6ff000c..1ddc613 100644
--- a/www/mod_perl2/Makefile
+++ b/www/mod_perl2/Makefile
@@ -10,8 +10,7 @@ MASTER_SITES= APACHE/perl
PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX}
PKGNAMESUFFIX= 2
-PATCH_SITES= ${MASTER_SITE_LOCAL}
-PATCH_SITE_SUBDIR= ohauer
+PATCH_SITES= LOCAL/ohauer
MAINTAINER= apache@FreeBSD.org
COMMENT= Embeds a Perl interpreter in the Apache2 server
diff --git a/www/mod_python33/Makefile b/www/mod_python33/Makefile
index 04c989a..136b480 100644
--- a/www/mod_python33/Makefile
+++ b/www/mod_python33/Makefile
@@ -5,8 +5,7 @@ PORTNAME= mod_python
PORTVERSION= 3.3.1
PORTREVISION= 7
CATEGORIES= www python
-MASTER_SITES= ${MASTER_SITE_APACHE_HTTPD}
-MASTER_SITE_SUBDIR= modpython
+MASTER_SITES= APACHE_HTTPD/modpython
PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX}
PKGNAMESUFFIX= 33
DIST_SUBDIR= apache2
diff --git a/www/mod_python35/Makefile b/www/mod_python35/Makefile
index 06e6827..0fcfad0 100644
--- a/www/mod_python35/Makefile
+++ b/www/mod_python35/Makefile
@@ -7,7 +7,6 @@ PORTREVISION= 1
CATEGORIES= www python
MASTER_SITES= http://dist.modpython.org/dist/ \
LOCAL/ohauer
-MASTER_SITE_SUBDIR= modpython
PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX}
PKGNAMESUFFIX= 35
DIST_SUBDIR= apache2
diff --git a/www/mod_qos/Makefile b/www/mod_qos/Makefile
index 190b9a6..afca39a 100644
--- a/www/mod_qos/Makefile
+++ b/www/mod_qos/Makefile
@@ -4,8 +4,7 @@
PORTNAME= mod_qos
PORTVERSION= 11.12
CATEGORIES= www
-MASTER_SITES= SF
-MASTER_SITE_SUBDIR= mod-qos
+MASTER_SITES= SF/mod-qos
DIST_SUBDIR= apache2
MAINTAINER= fax@nohik.ee
diff --git a/www/mod_remoteip/Makefile b/www/mod_remoteip/Makefile
index 00e3044..fe08fb6 100644
--- a/www/mod_remoteip/Makefile
+++ b/www/mod_remoteip/Makefile
@@ -5,7 +5,7 @@ PORTNAME= mod_remoteip
PORTVERSION= 2.3.5.a
PORTREVISION= 1
CATEGORIES= www
-MASTER_SITES= ${MASTER_SITE_APACHE_HTTPD}
+MASTER_SITES= APACHE_HTTPD
DISTNAME= httpd-2.3.5-alpha
MAINTAINER= ports@christianserving.org
diff --git a/www/mod_reproxy/Makefile b/www/mod_reproxy/Makefile
index fdeee2d..f6854c9 100644
--- a/www/mod_reproxy/Makefile
+++ b/www/mod_reproxy/Makefile
@@ -3,8 +3,7 @@
PORTNAME= mod_reproxy
PORTVERSION= 0.02.20110826
CATEGORIES= www
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= kuriyama
+MASTER_SITES= LOCAL/kuriyama
MAINTAINER= kuriyama@FreeBSD.org
COMMENT= Apache module to support x-reproxy-url header
diff --git a/www/mod_rivet/Makefile b/www/mod_rivet/Makefile
index bddd976..0484ff0 100644
--- a/www/mod_rivet/Makefile
+++ b/www/mod_rivet/Makefile
@@ -4,8 +4,7 @@
PORTNAME= mod_rivet
PORTVERSION= 2.2.2
CATEGORIES= www tcl
-MASTER_SITES= ${MASTER_SITE_APACHE}
-MASTER_SITE_SUBDIR= tcl/rivet
+MASTER_SITES= APACHE/tcl/rivet
DISTNAME= rivet-${PORTVERSION}
MAINTAINER= jeff.lawson@flightaware.com
diff --git a/www/mod_setenvifplus/Makefile b/www/mod_setenvifplus/Makefile
index d33e951..cc09543 100644
--- a/www/mod_setenvifplus/Makefile
+++ b/www/mod_setenvifplus/Makefile
@@ -4,8 +4,7 @@
PORTNAME= mod_setenvifplus
PORTVERSION= 0.22
CATEGORIES= www
-MASTER_SITES= SF
-MASTER_SITE_SUBDIR= modsetenvifplus
+MASTER_SITES= SF/modsetenvifplus
EXTRACT_SUFX= -src.tar.gz
DIST_SUBDIR= apache2
diff --git a/www/mod_spdy/Makefile b/www/mod_spdy/Makefile
index 6f0b09f..ad7bf6b 100644
--- a/www/mod_spdy/Makefile
+++ b/www/mod_spdy/Makefile
@@ -5,7 +5,7 @@ PORTNAME= mod_spdy
PORTVERSION= 0.9.4.1
CATEGORIES= www
MASTER_SITES= http://www.club.kyutech.ac.jp/~masaki/ports/:mod_spdy \
- ${MASTER_SITE_APACHE_HTTPD}:apache22
+ APACHE_HTTPD:apache22
DISTFILES= mod_spdy_source_${PORTVERSION}.tar.xz:mod_spdy \
httpd-2.2.22.tar.gz:apache22
DIST_SUBDIR= ${PORTNAME}
diff --git a/www/mod_vhost_ldap/Makefile b/www/mod_vhost_ldap/Makefile
index 3eb6280..279a98c 100644
--- a/www/mod_vhost_ldap/Makefile
+++ b/www/mod_vhost_ldap/Makefile
@@ -5,8 +5,7 @@ PORTNAME= mod_vhost_ldap
PORTVERSION= 2.0.8
PORTREVISION= 1
CATEGORIES= www
-MASTER_SITES= ${MASTER_SITE_DEBIAN}
-MASTER_SITE_SUBDIR=pool/main/m/mod-vhost-ldap
+MASTER_SITES= DEBIAN/pool/main/m/mod-vhost-ldap
DISTNAME= ${PORTNAME:S/_/-/g}_${PORTVERSION}.orig
DIST_SUBDIR= apache2
diff --git a/www/myfaces/Makefile b/www/myfaces/Makefile
index 356ce76..b0e6f0d 100644
--- a/www/myfaces/Makefile
+++ b/www/myfaces/Makefile
@@ -5,8 +5,7 @@ PORTNAME= myfaces
PORTVERSION= 1.1.1
PORTREVISION= 2
CATEGORIES= www devel java
-MASTER_SITES= ${MASTER_SITE_APACHE}
-MASTER_SITE_SUBDIR= ${PORTNAME}/binaries
+MASTER_SITES= APACHE/${PORTNAME}/binaries
MAINTAINER= ports@FreeBSD.org
COMMENT= Free open source JavaServer(tm) Faces implementation
diff --git a/www/nginx-devel/Makefile b/www/nginx-devel/Makefile
index 5e43c0b..188f2ee 100644
--- a/www/nginx-devel/Makefile
+++ b/www/nginx-devel/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 1.9.0
PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://nginx.org/download/
-MASTER_SITES+= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= osa
+MASTER_SITES+= LOCAL/osa
PKGNAMESUFFIX= -devel
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
@@ -272,8 +271,7 @@ CONFIGURE_ARGS+=--add-module=${WRKDIR}/giom-nginx_accept_language_module-${GIT_A
.if ${PORT_OPTIONS:MHTTP_ACCESSKEY}
NGINX_ACCESSKEY_VERSION= 2.0.3
-MASTER_SITES+= ${MASTER_SITE_LOCAL:S/$/:accesskey/}
-MASTER_SITE_SUBDIR+= osa/:accesskey
+MASTER_SITES+= LOCAL/osa:accesskey
DISTFILES+= nginx-accesskey-${NGINX_ACCESSKEY_VERSION}.tar.gz:accesskey
CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx-accesskey-${NGINX_ACCESSKEY_VERSION}
.endif
@@ -455,8 +453,7 @@ CONFIGURE_ARGS+=--with-http_realip_module
.if ${PORT_OPTIONS:MHTTP_REDIS}
NGINX_REDIS_VERSION= 0.3.7
-MASTER_SITES+= ${MASTER_SITE_LOCAL:S/$/:redis/}
-MASTER_SITE_SUBDIR+= osa/:redis
+MASTER_SITES+= LOCAL/osa:redis
DISTFILES+= ngx_http_redis-${NGINX_REDIS_VERSION}.tar.gz:redis
CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_http_redis-${NGINX_REDIS_VERSION}
.endif
@@ -498,8 +495,7 @@ CONFIGURE_ARGS+=--add-module=${WRKDIR}/masterzen-nginx-upload-progress-module-${
.if !empty(PORT_OPTIONS:MHTTP_UPSTREAM_FAIR)
NGINX_UPSTREAM_FAIR_VERSION= 20090923
-MASTER_SITES+= ${MASTER_SITE_LOCAL:S/$/:upstreamfair/}
-MASTER_SITE_SUBDIR+= osa/:upstreamfair
+MASTER_SITES+= LOCAL/osa:upstreamfair
DISTFILES+= nginx_upstream_fair-${NGINX_UPSTREAM_FAIR_VERSION}.tar.gz:upstreamfair
CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx_upstream_fair-${NGINX_UPSTREAM_FAIR_VERSION}
.endif
diff --git a/www/nginx/Makefile b/www/nginx/Makefile
index 99c63e1..6a5b8d1 100644
--- a/www/nginx/Makefile
+++ b/www/nginx/Makefile
@@ -7,8 +7,7 @@ PORTREVISION= 1
PORTEPOCH= 2
CATEGORIES= www
MASTER_SITES= http://nginx.org/download/
-MASTER_SITES+= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= osa
+MASTER_SITES+= LOCAL/osa
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= osa@FreeBSD.org
@@ -268,8 +267,7 @@ CONFIGURE_ARGS+=--add-module=${WRKDIR}/giom-nginx_accept_language_module-${GIT_A
.if ${PORT_OPTIONS:MHTTP_ACCESSKEY}
NGINX_ACCESSKEY_VERSION= 2.0.3
-MASTER_SITES+= ${MASTER_SITE_LOCAL:S/$/:accesskey/}
-MASTER_SITE_SUBDIR+= osa/:accesskey
+MASTER_SITES+= LOCAL/osa:accesskey
DISTFILES+= nginx-accesskey-${NGINX_ACCESSKEY_VERSION}.tar.gz:accesskey
CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx-accesskey-${NGINX_ACCESSKEY_VERSION}
.endif
@@ -451,8 +449,7 @@ CONFIGURE_ARGS+=--with-http_realip_module
.if ${PORT_OPTIONS:MHTTP_REDIS}
NGINX_REDIS_VERSION= 0.3.7
-MASTER_SITES+= ${MASTER_SITE_LOCAL:S/$/:redis/}
-MASTER_SITE_SUBDIR+= osa/:redis
+MASTER_SITES+= LOCAL/osa:redis
DISTFILES+= ngx_http_redis-${NGINX_REDIS_VERSION}.tar.gz:redis
CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_http_redis-${NGINX_REDIS_VERSION}
.endif
@@ -494,8 +491,7 @@ CONFIGURE_ARGS+=--add-module=${WRKDIR}/masterzen-nginx-upload-progress-module-${
.if !empty(PORT_OPTIONS:MHTTP_UPSTREAM_FAIR)
NGINX_UPSTREAM_FAIR_VERSION= 20090923
-MASTER_SITES+= ${MASTER_SITE_LOCAL:S/$/:upstreamfair/}
-MASTER_SITE_SUBDIR+= osa/:upstreamfair
+MASTER_SITES+= LOCAL/osa:upstreamfair
DISTFILES+= nginx_upstream_fair-${NGINX_UPSTREAM_FAIR_VERSION}.tar.gz:upstreamfair
CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx_upstream_fair-${NGINX_UPSTREAM_FAIR_VERSION}
.endif
diff --git a/www/p5-Apache-Clean2/Makefile b/www/p5-Apache-Clean2/Makefile
index 57adac6..fefc9ec 100644
--- a/www/p5-Apache-Clean2/Makefile
+++ b/www/p5-Apache-Clean2/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 2.00
DISTVERSIONSUFFIX= _7
PORTREVISION= 3
CATEGORIES= www perl5
-MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Apache/GEOFF
+MASTER_SITES= CPAN/Apache/GEOFF
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
diff --git a/www/p5-Ark/Makefile b/www/p5-Ark/Makefile
index 9941cca..c9f6aa8 100644
--- a/www/p5-Ark/Makefile
+++ b/www/p5-Ark/Makefile
@@ -5,8 +5,7 @@ PORTVERSION= 0.1.r1
PORTREVISION= 2
CATEGORIES= www perl5
MASTER_SITES= http://cloud.github.com/downloads/typester/ark-perl/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= kuriyama
+ LOCAL/kuriyama
PKGNAMEPREFIX= p5-
DISTNAME= Ark-0.001000_001
diff --git a/www/p5-CGI-Compress-Gzip/Makefile b/www/p5-CGI-Compress-Gzip/Makefile
index e6f62db..6fadb27 100644
--- a/www/p5-CGI-Compress-Gzip/Makefile
+++ b/www/p5-CGI-Compress-Gzip/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 1.03
PORTREVISION= 3
CATEGORIES= www perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= CGI
PKGNAMEPREFIX= p5-
MAINTAINER= tobez@FreeBSD.org
diff --git a/www/p5-CGI-Session-ExpireSessions/Makefile b/www/p5-CGI-Session-ExpireSessions/Makefile
index 002320f..d066170 100644
--- a/www/p5-CGI-Session-ExpireSessions/Makefile
+++ b/www/p5-CGI-Session-ExpireSessions/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 1.12
PORTREVISION= 1
CATEGORIES= www perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= CGI
PKGNAMEPREFIX= p5-
MAINTAINER= gerard@seibercom.net
diff --git a/www/p5-CSS-DOM/Makefile b/www/p5-CSS-DOM/Makefile
index 5283c8f..f8ba296 100644
--- a/www/p5-CSS-DOM/Makefile
+++ b/www/p5-CSS-DOM/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 0.15
PORTREVISION= 1
CATEGORIES= www perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= CSS
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
diff --git a/www/p5-Catalyst-View-Jemplate/Makefile b/www/p5-Catalyst-View-Jemplate/Makefile
index 081dbdc..45e8895 100644
--- a/www/p5-Catalyst-View-Jemplate/Makefile
+++ b/www/p5-Catalyst-View-Jemplate/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 0.06
PORTREVISION= 1
CATEGORIES= www perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Catalyst
PKGNAMEPREFIX= p5-
MAINTAINER= lth@FreeBSD.org
diff --git a/www/p5-Catalyst-View-XML-Simple/Makefile b/www/p5-Catalyst-View-XML-Simple/Makefile
index 61a2156..f30ea4b 100644
--- a/www/p5-Catalyst-View-XML-Simple/Makefile
+++ b/www/p5-Catalyst-View-XML-Simple/Makefile
@@ -4,8 +4,7 @@ PORTNAME= Catalyst-View-XML-Simple
PORTVERSION= 0.01
PORTREVISION= 2
CATEGORIES= www perl5
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= kuriyama
+MASTER_SITES= LOCAL/kuriyama
PKGNAMEPREFIX= p5-
MAINTAINER= kuriyama@FreeBSD.org
diff --git a/www/p5-Data-Validate-URI/Makefile b/www/p5-Data-Validate-URI/Makefile
index 7ed44a3..8e3c25d 100644
--- a/www/p5-Data-Validate-URI/Makefile
+++ b/www/p5-Data-Validate-URI/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 0.06
PORTREVISION= 1
CATEGORIES= www perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Data
PKGNAMEPREFIX= p5-
MAINTAINER= freebsd-ports@t-b-o-h.net
diff --git a/www/p5-HTML-FromANSI/Makefile b/www/p5-HTML-FromANSI/Makefile
index 635dbba..fe8559e 100644
--- a/www/p5-HTML-FromANSI/Makefile
+++ b/www/p5-HTML-FromANSI/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 2.03
PORTREVISION= 1
CATEGORIES= www perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= HTML
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
diff --git a/www/p5-HTTP-Response-Encoding/Makefile b/www/p5-HTTP-Response-Encoding/Makefile
index 7cc67eb..7359001 100644
--- a/www/p5-HTTP-Response-Encoding/Makefile
+++ b/www/p5-HTTP-Response-Encoding/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 0.06
PORTREVISION= 2
CATEGORIES= www perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= HTTP
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
diff --git a/www/p5-HTTP-Server-Simple-Static/Makefile b/www/p5-HTTP-Server-Simple-Static/Makefile
index 3eaa13e..552bd68 100644
--- a/www/p5-HTTP-Server-Simple-Static/Makefile
+++ b/www/p5-HTTP-Server-Simple-Static/Makefile
@@ -5,7 +5,6 @@ PORTVERSION= 0.09
PORTREVISION= 1
CATEGORIES= www perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= HTTP
PKGNAMEPREFIX= p5-
MAINTAINER= lth@FreeBSD.org
diff --git a/www/p5-LWP-UserAgent-POE/Makefile b/www/p5-LWP-UserAgent-POE/Makefile
index 44f40ec..17712ef 100644
--- a/www/p5-LWP-UserAgent-POE/Makefile
+++ b/www/p5-LWP-UserAgent-POE/Makefile
@@ -5,7 +5,6 @@ PORTNAME= LWP-UserAgent-POE
PORTVERSION= 0.05
CATEGORIES= www perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= LWP
PKGNAMEPREFIX= p5-
MAINTAINER= lth@FreeBSD.org
diff --git a/www/p5-Net-Trac/Makefile b/www/p5-Net-Trac/Makefile
index fd9d55c..f59e4c2 100644
--- a/www/p5-Net-Trac/Makefile
+++ b/www/p5-Net-Trac/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 0.16
PORTREVISION= 1
CATEGORIES= www perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Net
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
diff --git a/www/p5-PodToHTML/Makefile b/www/p5-PodToHTML/Makefile
index c901dee..d0c605b 100644
--- a/www/p5-PodToHTML/Makefile
+++ b/www/p5-PodToHTML/Makefile
@@ -5,8 +5,7 @@ PORTNAME= PodToHTML
PORTVERSION= 0.08
PORTREVISION= 2
CATEGORIES= www perl5
-MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Pod
+MASTER_SITES= CPAN/Pod
PKGNAMEPREFIX= p5-
MAINTAINER= hrs@FreeBSD.org
diff --git a/www/p5-Template-Plugin-FillInForm/Makefile b/www/p5-Template-Plugin-FillInForm/Makefile
index 46d0191..014f67a 100644
--- a/www/p5-Template-Plugin-FillInForm/Makefile
+++ b/www/p5-Template-Plugin-FillInForm/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 0.04
PORTREVISION= 1
CATEGORIES= www perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Template
PKGNAMEPREFIX= p5-
MAINTAINER= lth@FreeBSD.org
diff --git a/www/p5-TestGen4Web-Runner/Makefile b/www/p5-TestGen4Web-Runner/Makefile
index b87cefd..f57376b 100644
--- a/www/p5-TestGen4Web-Runner/Makefile
+++ b/www/p5-TestGen4Web-Runner/Makefile
@@ -5,8 +5,7 @@ PORTNAME= TestGen4Web-Runner
PORTVERSION= 0.11
PORTREVISION= 2
CATEGORIES= www perl5
-MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= WWW/MACKERS
+MASTER_SITES= CPAN/WWW/MACKERS
PKGNAMEPREFIX= p5-
MAINTAINER= eg@fbsd.lt
diff --git a/www/p5-URI-Title/Makefile b/www/p5-URI-Title/Makefile
index 1226695..52a8a8b 100644
--- a/www/p5-URI-Title/Makefile
+++ b/www/p5-URI-Title/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 1.86
PORTREVISION= 2
CATEGORIES= www perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= URI
PKGNAMEPREFIX= p5-
MAINTAINER= tobez@FreeBSD.org
diff --git a/www/p5-WWW-DHL/Makefile b/www/p5-WWW-DHL/Makefile
index 0c3e754..0fc12e3 100644
--- a/www/p5-WWW-DHL/Makefile
+++ b/www/p5-WWW-DHL/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 0.03
PORTREVISION= 2
CATEGORIES= www perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= WWW
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
diff --git a/www/p5-WebService-Google-Sets/Makefile b/www/p5-WebService-Google-Sets/Makefile
index d198a49..23ed14b 100644
--- a/www/p5-WebService-Google-Sets/Makefile
+++ b/www/p5-WebService-Google-Sets/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 0.03
PORTREVISION= 1
CATEGORIES= www perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= WebService
PKGNAMEPREFIX= p5-
MAINTAINER= tobez@FreeBSD.org
diff --git a/www/p5-chklinks/Makefile b/www/p5-chklinks/Makefile
index 201bb63..d641e9f 100644
--- a/www/p5-chklinks/Makefile
+++ b/www/p5-chklinks/Makefile
@@ -5,8 +5,7 @@ PORTNAME= chklinks
PORTVERSION= 3.09
PORTREVISION= 1
CATEGORIES= www perl5
-MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= Locale/IMACAT
+MASTER_SITES= CPAN/Locale/IMACAT
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
diff --git a/www/p5-libapreq2/Makefile b/www/p5-libapreq2/Makefile
index 0691c1f..440a7dd 100644
--- a/www/p5-libapreq2/Makefile
+++ b/www/p5-libapreq2/Makefile
@@ -4,8 +4,7 @@ PORTNAME= libapreq2
PORTVERSION= 2.13
PORTREVISION= 5
CATEGORIES= www perl5 devel
-MASTER_SITES= ${MASTER_SITE_APACHE_HTTPD}
-MASTER_SITE_SUBDIR=libapreq
+MASTER_SITES= APACHE_HTTPD/libapreq
DISTFILE= libapreq2-${PORTVERSION}
PKGNAMEPREFIX= p5-
diff --git a/www/phpgroupware/Makefile b/www/phpgroupware/Makefile
index 603ff63..f03c35e 100644
--- a/www/phpgroupware/Makefile
+++ b/www/phpgroupware/Makefile
@@ -3,8 +3,7 @@
PORTNAME= phpgroupware
PORTVERSION= 0.9.16.017
CATEGORIES= www
-MASTER_SITES= SF
-MASTER_SITE_SUBDIR= phpgroupware/phpgroupware/${PORTVERSION}
+MASTER_SITES= SF/phpgroupware/phpgroupware/${PORTVERSION}
MAINTAINER= olgeni@FreeBSD.org
COMMENT= Web based GroupWare system
diff --git a/www/py-HTMLgen/Makefile b/www/py-HTMLgen/Makefile
index 5c0f41e..ce9afba 100644
--- a/www/py-HTMLgen/Makefile
+++ b/www/py-HTMLgen/Makefile
@@ -4,10 +4,9 @@
PORTNAME= HTMLgen
PORTVERSION= 2.2.2
CATEGORIES= www python
-MASTER_SITES= ${MASTER_SITE_LOCAL} \
+MASTER_SITES= LOCAL/dryice \
http://dryice.name/computer/FreeBSD/distfiles/ \
http://starship.python.net/crew/friedrich/
-MASTER_SITE_SUBDIR= dryice
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= HTMLgen
diff --git a/www/py-apachelog/Makefile b/www/py-apachelog/Makefile
index 8b4cede..a33b701 100644
--- a/www/py-apachelog/Makefile
+++ b/www/py-apachelog/Makefile
@@ -5,7 +5,7 @@ PORTNAME= apachelog
PORTVERSION= 1.1
PORTREVISION= 1
CATEGORIES= www python
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} \
+MASTER_SITES= GOOGLE_CODE \
http://freebsd.unixfreunde.de/sources/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
diff --git a/www/py-django-app-plugins/Makefile b/www/py-django-app-plugins/Makefile
index 4ccdec4..8e5f9a0 100644
--- a/www/py-django-app-plugins/Makefile
+++ b/www/py-django-app-plugins/Makefile
@@ -5,7 +5,7 @@ PORTNAME= django-app-plugins
PORTVERSION= 0.1.1
PORTREVISION= 1
CATEGORIES= www python
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= ports@caomhin.org
diff --git a/www/py-django-classy-tags/Makefile b/www/py-django-classy-tags/Makefile
index 5906e3b..004a080 100644
--- a/www/py-django-classy-tags/Makefile
+++ b/www/py-django-classy-tags/Makefile
@@ -4,8 +4,7 @@
PORTNAME= django-classy-tags
PORTVERSION= 0.5.1
CATEGORIES= www python
-MASTER_SITES= ${MASTER_SITE_CHEESESHOP}
-MASTER_SITE_SUBDIR= source/d/${PORTNAME}
+MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= ports@FreeBSD.org
diff --git a/www/py-django-livesettings/Makefile b/www/py-django-livesettings/Makefile
index 5bdc0e3..dbe044e 100644
--- a/www/py-django-livesettings/Makefile
+++ b/www/py-django-livesettings/Makefile
@@ -4,8 +4,7 @@
PORTNAME= django-livesettings
DISTVERSION= 1.4-14
CATEGORIES= www python
-MASTER_SITES= CHEESESHOP
-MASTER_SITE_SUBDIR= source/d/${PORTNAME}
+MASTER_SITES= CHEESESHOP/source/d/${PORTNAME}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= ports@caomhin.org
diff --git a/www/py-formalchemy/Makefile b/www/py-formalchemy/Makefile
index 60e6243..ab6d420 100644
--- a/www/py-formalchemy/Makefile
+++ b/www/py-formalchemy/Makefile
@@ -5,7 +5,7 @@ PORTNAME= formalchemy
PORTVERSION= 1.3.3
PORTREVISION= 2
CATEGORIES= www python
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= FormAlchemy-${DISTVERSION}
diff --git a/www/py-pywebdav/Makefile b/www/py-pywebdav/Makefile
index 544c141..9ae54cc 100644
--- a/www/py-pywebdav/Makefile
+++ b/www/py-pywebdav/Makefile
@@ -5,9 +5,7 @@ PORTNAME= PyWebDAV
PORTVERSION= 0.9.8
PORTREVISION= 1
CATEGORIES= www net python
-MASTER_SITES= GOOGLE_CODE \
- CHEESESHOP
-MASTER_SITE_SUBDIR= source/P/PyWebDAV
+MASTER_SITES= GOOGLE_CODE CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= wen@FreeBSD.org
diff --git a/www/py-recaptcha/Makefile b/www/py-recaptcha/Makefile
index ff8f7e8..c119894 100644
--- a/www/py-recaptcha/Makefile
+++ b/www/py-recaptcha/Makefile
@@ -5,8 +5,7 @@ PORTNAME= recaptcha
PORTVERSION= 1.0.6
PORTREVISION= 1
CATEGORIES= www devel python
-MASTER_SITES= ${MASTER_SITE_CHEESESHOP}
-MASTER_SITE_SUBDIR= source/r/recaptcha-client
+MASTER_SITES= CHEESESHOP/source/r/recaptcha-client
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= ${PORTNAME}-client-${PORTVERSION}
diff --git a/www/py-utidy/Makefile b/www/py-utidy/Makefile
index 87bbb27..3e58fbd 100644
--- a/www/py-utidy/Makefile
+++ b/www/py-utidy/Makefile
@@ -5,8 +5,7 @@ PORTNAME= utidy
PORTVERSION= 0.2
PORTREVISION= 1
CATEGORIES= www python
-MASTER_SITES= ${MASTER_SITE_BERLIOS}
-MASTER_SITE_SUBDIR= utidylib
+MASTER_SITES= SF/utidylib
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= uTidylib-${PORTVERSION}
diff --git a/www/py-wikitools/Makefile b/www/py-wikitools/Makefile
index 1851e25..df278fe 100644
--- a/www/py-wikitools/Makefile
+++ b/www/py-wikitools/Makefile
@@ -5,7 +5,7 @@ PORTNAME= wikitools
PORTVERSION= 1.1.1
PORTREVISION= 1
CATEGORIES= www devel python
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= nivit@FreeBSD.org
diff --git a/www/py-wsgiauth/Makefile b/www/py-wsgiauth/Makefile
index 1f0f247..cc0d2ea 100644
--- a/www/py-wsgiauth/Makefile
+++ b/www/py-wsgiauth/Makefile
@@ -5,8 +5,7 @@ PORTNAME= wsgiauth
PORTVERSION= 0.1
PORTREVISION= 1
CATEGORIES= www python
-MASTER_SITES= ${MASTER_SITE_CHEESESHOP}
-MASTER_SITE_SUBDIR= source/w/wsgiauth
+MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= bamby@sippysoft.com
diff --git a/www/pylot/Makefile b/www/pylot/Makefile
index aea5cb3..f4e1673 100644
--- a/www/pylot/Makefile
+++ b/www/pylot/Makefile
@@ -5,7 +5,7 @@ PORTNAME= pylot
PORTVERSION= 1.26
PORTREVISION= 5
CATEGORIES= www
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= nivit@FreeBSD.org
diff --git a/www/sahi/Makefile b/www/sahi/Makefile
index 0ad8e83..83d4965 100644
--- a/www/sahi/Makefile
+++ b/www/sahi/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 3.5.${SAHI_BUILD}
#PORTREVISION= 0
PORTREVISION= 1
CATEGORIES= www
-MASTER_SITES= SF
-MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTNAME}-v${PORTVERSION:R:R:R:S,.,,}/${SAHI_BUILD:S,.,,g}/
+MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-v${PORTVERSION:R:R:R:S,.,,}/${SAHI_BUILD:S,.,,g}/
DISTNAME= ${PORTNAME}_${SAHI_BUILD:S,.,,g}
MAINTAINER= nivit@FreeBSD.org
diff --git a/www/samidare/Makefile b/www/samidare/Makefile
index 4f17c1a..c64a745 100644
--- a/www/samidare/Makefile
+++ b/www/samidare/Makefile
@@ -6,7 +6,7 @@ PORTVERSION= 0.7
PORTREVISION= 1
CATEGORIES= www ruby
MASTER_SITES= http://www.a-k-r.org/${PORTNAME}/ \
- ${MASTER_SITE_LOCAL:S|%SUBDIR%|tota/samidare|}
+ LOCAL/tota/samidare
MAINTAINER= tota@FreeBSD.org
COMMENT= Web page update checker written in Ruby
diff --git a/www/selenium/Makefile b/www/selenium/Makefile
index 4efaaad..ccf9794 100644
--- a/www/selenium/Makefile
+++ b/www/selenium/Makefile
@@ -4,8 +4,7 @@
PORTNAME= selenium
PORTVERSION= 0.6.1
CATEGORIES= www
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP}
-MASTER_SITE_SUBDIR= ${PORTNAME}/17210
+MASTER_SITES= SFJP/${PORTNAME}/17210
MAINTAINER= kaworu@users.sourceforge.jp
COMMENT= Selenium is web application test tool!
diff --git a/www/sitecopy/Makefile b/www/sitecopy/Makefile
index 7aa0dcc..d399511 100644
--- a/www/sitecopy/Makefile
+++ b/www/sitecopy/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 0.16.6
PORTREVISION= 4
CATEGORIES= www
MASTER_SITES= http://www.manyfish.co.uk/${PORTNAME}/ \
- ${MASTER_SITE_GENTOO}
-MASTER_SITE_SUBDIR= distfiles
+ GENTOO
MAINTAINER= sitecopy@oldach.net
COMMENT= Maintains remote websites, uses FTP or WebDAV to sync up w/ local copy
diff --git a/www/smb_auth/Makefile b/www/smb_auth/Makefile
index 8aafd31..f5a3746 100644
--- a/www/smb_auth/Makefile
+++ b/www/smb_auth/Makefile
@@ -5,8 +5,7 @@ PORTNAME= smb_auth
PORTVERSION= 0.05
PORTREVISION= 5
CATEGORIES= www
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= dinoex
+MASTER_SITES= LOCAL/dinoex
MAINTAINER= dinoex@FreeBSD.org
COMMENT= Proxy authentication module against an SMB server
diff --git a/www/squid/Makefile b/www/squid/Makefile
index 927bcb1..3ab3deb 100644
--- a/www/squid/Makefile
+++ b/www/squid/Makefile
@@ -9,7 +9,6 @@ MASTER_SITES= http://www.squid-cache.org/Versions/v3/${PORTVERSION:R}/ \
http://www1.at.squid-cache.org/Versions/v3/${PORTVERSION:R}/ \
http://www.eu.squid-cache.org/Versions/v3/${PORTVERSION:R}/ \
http://www1.jp.squid-cache.org/Versions/v3/${PORTVERSION:R}/
-MASTER_SITE_SUBDIR= squid
DIST_SUBDIR= squid${PORTVERSION:R}
PATCH_SITES= http://www.squid-cache.org/%SUBDIR%/ \
diff --git a/www/squidstats/Makefile b/www/squidstats/Makefile
index e3fead7..a416b10 100644
--- a/www/squidstats/Makefile
+++ b/www/squidstats/Makefile
@@ -5,7 +5,7 @@ PORTNAME= squidstats
PORTVERSION= 54
PORTREVISION= 3
CATEGORIES= www
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
DISTNAME= squidstats-r${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
diff --git a/www/tclhttpd/Makefile b/www/tclhttpd/Makefile
index d497031..ec7579a 100644
--- a/www/tclhttpd/Makefile
+++ b/www/tclhttpd/Makefile
@@ -5,8 +5,7 @@ PORTNAME= tclhttpd
PORTVERSION= 3.5.1
PORTREVISION= 3
CATEGORIES= www tcl
-MASTER_SITES= ${MASTER_SITE_TCLTK}
-MASTER_SITE_SUBDIR= httpd
+MASTER_SITES= TCLTK/httpd
DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= mi@aldan.algebra.com
diff --git a/www/tengine/Makefile b/www/tengine/Makefile
index e16cceb..d1ed2c6 100644
--- a/www/tengine/Makefile
+++ b/www/tengine/Makefile
@@ -272,8 +272,7 @@ CONFIGURE_ARGS+=--add-module=${WRKDIR}/giom-nginx_accept_language_module-${GIT_A
.if ${PORT_OPTIONS:MHTTP_ACCESSKEY}
NGINX_ACCESSKEY_VERSION= 2.0.3
-MASTER_SITES+= ${MASTER_SITE_LOCAL:S/$/:accesskey/}
-MASTER_SITE_SUBDIR+= osa/:accesskey
+MASTER_SITES+= LOCAL/osa:accesskey
DISTFILES+= nginx-accesskey-${NGINX_ACCESSKEY_VERSION}.tar.gz:accesskey
CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx-accesskey-${NGINX_ACCESSKEY_VERSION}
.endif
@@ -363,8 +362,7 @@ CONFIGURE_ARGS+=--add-module=${WRKDIR}/vkholodkov-nginx-eval-module-${GIT_EVAL_V
.if ${PORT_OPTIONS:MHTTP_FANCYINDEX}
NGINX_FANCYINDEX_VERSION= 0.3.1
-MASTER_SITES+= ${MASTER_SITE_LOCAL:S/$/:fancyindex/}
-MASTER_SITE_SUBDIR+= osa/:fancyindex
+MASTER_SITES+= LOCAL/osa:fancyindex
DISTFILES+= ngx-fancyindex-${NGINX_FANCYINDEX_VERSION}.tar.gz:fancyindex
CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx-fancyindex-${NGINX_FANCYINDEX_VERSION}
.endif
@@ -415,8 +413,7 @@ CONFIGURE_ARGS+=--with-http_realip_module
.if ${PORT_OPTIONS:MHTTP_REDIS}
NGINX_REDIS_VERSION= 0.3.7
-MASTER_SITES+= ${MASTER_SITE_LOCAL:S/$/:redis/}
-MASTER_SITE_SUBDIR+= osa/:redis
+MASTER_SITES+= LOCAL/osa:redis
DISTFILES+= ngx_http_redis-${NGINX_REDIS_VERSION}.tar.gz:redis
CONFIGURE_ARGS+=--add-module=${WRKDIR}/ngx_http_redis-${NGINX_REDIS_VERSION}
.endif
@@ -449,8 +446,7 @@ CONFIGURE_ARGS+=--add-module=${WRKDIR}/masterzen-nginx-upload-progress-module-${
.if !empty(PORT_OPTIONS:MHTTP_UPSTREAM_FAIR) || !empty(PORT_OPTIONS:MSUPERVISORD)
NGINX_UPSTREAM_FAIR_VERSION= 20090923
-MASTER_SITES+= ${MASTER_SITE_LOCAL:S/$/:upstreamfair/}
-MASTER_SITE_SUBDIR+= osa/:upstreamfair
+MASTER_SITES+= LOCAL/osa:upstreamfair
DISTFILES+= nginx_upstream_fair-${NGINX_UPSTREAM_FAIR_VERSION}.tar.gz:upstreamfair
CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx_upstream_fair-${NGINX_UPSTREAM_FAIR_VERSION}
.endif
diff --git a/www/testlink/Makefile b/www/testlink/Makefile
index 99a6337..24b4425 100644
--- a/www/testlink/Makefile
+++ b/www/testlink/Makefile
@@ -4,8 +4,7 @@
PORTNAME= testlink
PORTVERSION= 1.9.13
CATEGORIES= www devel
-MASTER_SITES= SF
-MASTER_SITE_SUBDIR= ${PORTNAME}/TestLink%201.9/TestLink%20${PORTVERSION}
+MASTER_SITES= SF/${PORTNAME}/TestLink%201.9/TestLink%20${PORTVERSION}
MAINTAINER= tota@FreeBSD.org
COMMENT= Web based test management and test execution system
diff --git a/www/thundercache/Makefile b/www/thundercache/Makefile
index e871da0..6ad814a 100644
--- a/www/thundercache/Makefile
+++ b/www/thundercache/Makefile
@@ -8,7 +8,7 @@ MASTER_SITES= http://www.thundercache.com.br/dist/ \
http://www.bmsoftware.org/packs/ \
http://www8.freebsdbrasil.com.br/~eksffa/thunder/ \
http://www6.freebsdbrasil.com.br/~eksffa/l/dev/thunder/ \
- ${MASTER_SITE_LOCAL}/jmelo
+ LOCAL/jmelo
DISTNAME= thundercache-6.1.201104260900-${BITS}-fbsd
MAINTAINER= eksffa@freebsdbrasil.com.br
diff --git a/www/thundersnarf/Makefile b/www/thundersnarf/Makefile
index 6d66989..60caa40 100644
--- a/www/thundersnarf/Makefile
+++ b/www/thundersnarf/Makefile
@@ -6,7 +6,7 @@ PORTREVISION= 4
PORTEPOCH= 1
CATEGORIES= www
MASTER_SITES= http://www.tracanelli.com.br/l/dev/thunder/ \
- ${MASTER_SITE_LOCAL}/jmelo
+ LOCAL/jmelo
MAINTAINER= eksffa@freebsdbrasil.com.br
COMMENT= Web reporting and trending analysis for Thunder Cache Pro
diff --git a/www/tidy-devel/Makefile b/www/tidy-devel/Makefile
index 20bac1e..9f2a53e 100644
--- a/www/tidy-devel/Makefile
+++ b/www/tidy-devel/Makefile
@@ -5,11 +5,10 @@ PORTNAME?= tidy
DISTVERSION= 090315-cvs
PORTREVISION= 2
CATEGORIES= www
-MASTER_SITES= ${MASTER_SITE_LOCAL}
+MASTER_SITES= LOCAL/thierry
#MASTER_SITES= http://tidy.sourceforge.net/src/%SUBDIR%/ \
# http://tidy.sourceforge.net/docs/:docs
#MASTER_SITE_SUBDIR= . old
-MASTER_SITE_SUBDIR= thierry
PKGNAMESUFFIX?= -devel
MAINTAINER?= thierry@FreeBSD.org
diff --git a/www/tinytinyhttpd/Makefile b/www/tinytinyhttpd/Makefile
index 8df84b6..02de8a4a 100644
--- a/www/tinytinyhttpd/Makefile
+++ b/www/tinytinyhttpd/Makefile
@@ -4,8 +4,7 @@
PORTNAME= tinytinyhttpd
PORTVERSION= 0.0.11
CATEGORIES= www
-MASTER_SITES= http://cloud.github.com/downloads/mattn/tinytinyhttpd/ \
- ${MASTER_SITE_LOCAL}
+MASTER_SITES= http://cloud.github.com/downloads/mattn/tinytinyhttpd/
MAINTAINER= smatsui@karashi.org
COMMENT= Tiny tiny httpd
diff --git a/www/trac-accountmanager/Makefile b/www/trac-accountmanager/Makefile
index c3841c0..fdc6180 100644
--- a/www/trac-accountmanager/Makefile
+++ b/www/trac-accountmanager/Makefile
@@ -5,9 +5,8 @@ PORTVERSION= 0.5.${REV}
PORTEPOCH= 1
PORTREVISION= 1
CATEGORIES= www devel python
-MASTER_SITES= ${MASTER_SITE_LOCAL} \
+MASTER_SITES= LOCAL/kuriyama \
http://trac-hacks.org/changeset/${REV}/accountmanagerplugin/trunk?old_path=/&format=zip&filename=
-MASTER_SITE_SUBDIR= kuriyama
PKGNAMEPREFIX= trac-
DIST_SUBDIR= trac
diff --git a/www/trac-discussion/Makefile b/www/trac-discussion/Makefile
index 588f7c1..aac116a 100644
--- a/www/trac-discussion/Makefile
+++ b/www/trac-discussion/Makefile
@@ -4,8 +4,7 @@ PORTNAME= discussion
PORTVERSION= 0.7
PORTREVISION= 2
CATEGORIES= www devel python
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= brooks
+MASTER_SITES= LOCAL/brooks
PKGNAMEPREFIX= trac-
MAINTAINER= ports@FreeBSD.org
diff --git a/www/trac-downloads/Makefile b/www/trac-downloads/Makefile
index 68971de..dea5b84 100644
--- a/www/trac-downloads/Makefile
+++ b/www/trac-downloads/Makefile
@@ -4,8 +4,7 @@ PORTNAME= downloads
PORTVERSION= ${TRAC_VERSION}.${PLUGIN_VERSION}.${SVN_REV}
PORTREVISION= 2
CATEGORIES= www devel python
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= brooks
+MASTER_SITES= LOCAL/brooks
PKGNAMEPREFIX= trac-
DISTNAME= ${PORTNAME}plugin-${PORTVERSION}
DIST_SUBDIR= trac
diff --git a/www/trac-fivestarvote/Makefile b/www/trac-fivestarvote/Makefile
index 7982019..76ad3bf 100644
--- a/www/trac-fivestarvote/Makefile
+++ b/www/trac-fivestarvote/Makefile
@@ -4,8 +4,7 @@ PORTNAME= fivestarvote
PORTVERSION= 0.1
PORTREVISION= 4
CATEGORIES= www devel python
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= brooks
+MASTER_SITES= LOCAL/brooks
PKGNAMEPREFIX= trac-
MAINTAINER= ports@FreeBSD.org
diff --git a/www/trac-fullblog/Makefile b/www/trac-fullblog/Makefile
index 40ffb3f..68f0492 100644
--- a/www/trac-fullblog/Makefile
+++ b/www/trac-fullblog/Makefile
@@ -4,8 +4,7 @@ PORTNAME= fullblog
PORTVERSION= 0.1.1
PORTREVISION= 2
CATEGORIES= www devel python
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= brooks
+MASTER_SITES= LOCAL/brooks
PKGNAMEPREFIX= trac-
DISTNAME= ${PORTNAME}plugin-${PORTVERSION}
DIST_SUBDIR= trac
diff --git a/www/trac-fullblognotification/Makefile b/www/trac-fullblognotification/Makefile
index bbf899e..b17b840 100644
--- a/www/trac-fullblognotification/Makefile
+++ b/www/trac-fullblognotification/Makefile
@@ -4,8 +4,7 @@ PORTNAME= fullblognotification
PORTVERSION= 0.2.1
PORTREVISION= 2
CATEGORIES= www devel python
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= brooks
+MASTER_SITES= LOCAL/brooks
PKGNAMEPREFIX= trac-
DISTNAME= ${PORTNAME}plugin-${PORTVERSION}
DIST_SUBDIR= trac
diff --git a/www/trac-graphviz/Makefile b/www/trac-graphviz/Makefile
index 7cc9713..f232455 100644
--- a/www/trac-graphviz/Makefile
+++ b/www/trac-graphviz/Makefile
@@ -4,8 +4,7 @@ PORTNAME= ${PYDISTUTILS_PKGNAME:S;^Trac;;S;Plugin$;;:tl}
PORTVERSION= 0.7.4
PORTREVISION= 7
CATEGORIES= www devel graphics python
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= brooks
+MASTER_SITES= LOCAL/brooks
PKGNAMEPREFIX= trac-
DISTNAME= ${PORTNAME}plugin-${PORTVERSION}
diff --git a/www/trac-math/Makefile b/www/trac-math/Makefile
index 6042736..2cc604d 100644
--- a/www/trac-math/Makefile
+++ b/www/trac-math/Makefile
@@ -4,8 +4,7 @@ PORTNAME= math
PORTVERSION= 0.1
PORTREVISION= 7
CATEGORIES= www math python
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= brooks
+MASTER_SITES= LOCAL/brooks
PKGNAMEPREFIX= trac-
MAINTAINER= ports@FreeBSD.org
diff --git a/www/trac-navadd/Makefile b/www/trac-navadd/Makefile
index b5852df..9f79b15 100644
--- a/www/trac-navadd/Makefile
+++ b/www/trac-navadd/Makefile
@@ -4,8 +4,7 @@ PORTNAME= navadd
PORTVERSION= 0.1
PORTREVISION= 4
CATEGORIES= www devel python
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= brooks
+MASTER_SITES= LOCAL/brooks
PKGNAMEPREFIX= trac-
DISTNAME= ${PORTNAME}plugin-${PORTVERSION}
diff --git a/www/trac-pydotorgtheme/Makefile b/www/trac-pydotorgtheme/Makefile
index 37b6737..842e4ec 100644
--- a/www/trac-pydotorgtheme/Makefile
+++ b/www/trac-pydotorgtheme/Makefile
@@ -4,8 +4,7 @@ PORTNAME= pydotorgtheme
PORTVERSION= 2.0
PORTREVISION= 4
CATEGORIES= www devel python
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= brooks
+MASTER_SITES= LOCAL/brooks
PKGNAMEPREFIX= trac-
MAINTAINER= ports@FreeBSD.org
diff --git a/www/trac-tags/Makefile b/www/trac-tags/Makefile
index b271764..e862f4d 100644
--- a/www/trac-tags/Makefile
+++ b/www/trac-tags/Makefile
@@ -5,8 +5,7 @@ PORTNAME= tags
DISTVERSION= 0.7.r${SVN_REV}
PORTREVISION= 2
CATEGORIES= www devel python
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= brooks
+MASTER_SITES= LOCAL/brooks
PKGNAMEPREFIX= trac-
DIST_SUBDIR= trac
diff --git a/www/trac-ticketimport/Makefile b/www/trac-ticketimport/Makefile
index 0b2cfd1..4945535 100644
--- a/www/trac-ticketimport/Makefile
+++ b/www/trac-ticketimport/Makefile
@@ -4,8 +4,7 @@ PORTNAME= ticketimport
PORTVERSION= 0.7c
PORTREVISION= 3
CATEGORIES= www devel python
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= brooks
+MASTER_SITES= LOCAL/brooks
PKGNAMEPREFIX= trac-
MAINTAINER= ports@FreeBSD.org
diff --git a/www/trac-vote/Makefile b/www/trac-vote/Makefile
index adee47a..89f5118 100644
--- a/www/trac-vote/Makefile
+++ b/www/trac-vote/Makefile
@@ -4,8 +4,7 @@ PORTNAME= vote
PORTVERSION= 0.1.2
PORTREVISION= 3
CATEGORIES= www devel python
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= brooks
+MASTER_SITES= LOCAL/brooks
PKGNAMEPREFIX= trac-
MAINTAINER= ports@FreeBSD.org
diff --git a/www/trac-wikitopdf/Makefile b/www/trac-wikitopdf/Makefile
index c10c54c..8c639ce 100644
--- a/www/trac-wikitopdf/Makefile
+++ b/www/trac-wikitopdf/Makefile
@@ -4,8 +4,7 @@ PORTNAME= wikitopdf
PORTVERSION= 2.2.2
PORTREVISION= 6
CATEGORIES= www devel python
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= brooks
+MASTER_SITES= LOCAL/brooks
PKGNAMEPREFIX= trac-
DISTNAME= ${PORTNAME}plugin-${PORTVERSION}
diff --git a/www/twiki-BugzillaLinkPlugin/Makefile b/www/twiki-BugzillaLinkPlugin/Makefile
index ffe8a85..e12cbc6 100644
--- a/www/twiki-BugzillaLinkPlugin/Makefile
+++ b/www/twiki-BugzillaLinkPlugin/Makefile
@@ -4,7 +4,7 @@
PORTNAME= BugzillaLinkPlugin
SVNREV= 15560
MASTER_SITES= http://protey.ru/freebsd/distfiles/ \
- ${MASTER_SITE_LOCAL:S!$!skv/!}
+ LOCAL/skv
COMMENT= Link to Bugzilla bugs using shorthand references
diff --git a/www/twiki-GluePlugin/Makefile b/www/twiki-GluePlugin/Makefile
index 1af1095..a7cc58d 100644
--- a/www/twiki-GluePlugin/Makefile
+++ b/www/twiki-GluePlugin/Makefile
@@ -4,7 +4,7 @@
PORTNAME= GluePlugin
SVNREV= 15708
MASTER_SITES= http://protey.ru/freebsd/distfiles/ \
- ${MASTER_SITE_LOCAL:S!$!skv/!}
+ LOCAL/skv
COMMENT= Allow to format tags and arguments on multiple lines
diff --git a/www/twiki-LdapContrib/Makefile b/www/twiki-LdapContrib/Makefile
index 3aa3f2c..0fbab84 100644
--- a/www/twiki-LdapContrib/Makefile
+++ b/www/twiki-LdapContrib/Makefile
@@ -5,7 +5,7 @@ PORTNAME= LdapContrib
SVNREV= 16840
PORTREVISION= 1
MASTER_SITES= http://protey.ru/freebsd/distfiles/ \
- ${MASTER_SITE_LOCAL:S!$!skv/!}
+ LOCAL/skv
COMMENT= LDAP services for TWiki
diff --git a/www/twiki-LdapNgPlugin/Makefile b/www/twiki-LdapNgPlugin/Makefile
index a2d4288..5a6c1b9 100644
--- a/www/twiki-LdapNgPlugin/Makefile
+++ b/www/twiki-LdapNgPlugin/Makefile
@@ -4,7 +4,7 @@
PORTNAME= LdapNgPlugin
SVNREV= 15577
MASTER_SITES= http://protey.ru/freebsd/distfiles/ \
- ${MASTER_SITE_LOCAL:S!$!skv/!}
+ LOCAL/skv
COMMENT= Query and display data from an LDAP directory
diff --git a/www/twiki-MathModePlugin/Makefile b/www/twiki-MathModePlugin/Makefile
index 041bfa8..5f4c9c3 100644
--- a/www/twiki-MathModePlugin/Makefile
+++ b/www/twiki-MathModePlugin/Makefile
@@ -4,7 +4,7 @@
PORTNAME= MathModePlugin
SVNREV= 15934
MASTER_SITES= http://protey.ru/freebsd/distfiles/ \
- ${MASTER_SITE_LOCAL:S!$!skv/!}
+ LOCAL/skv
COMMENT= Include LaTeX formatted math in your TWiki pages
diff --git a/www/twiki-NewUserPlugin/Makefile b/www/twiki-NewUserPlugin/Makefile
index 91402ad..27d2dba 100644
--- a/www/twiki-NewUserPlugin/Makefile
+++ b/www/twiki-NewUserPlugin/Makefile
@@ -4,7 +4,7 @@
PORTNAME= NewUserPlugin
SVNREV= 17515
MASTER_SITES= http://protey.ru/freebsd/distfiles/ \
- ${MASTER_SITE_LOCAL:S!$!skv/!}
+ LOCAL/skv
COMMENT= Create user's topic for externally authenticated users
diff --git a/www/uwsgitop/Makefile b/www/uwsgitop/Makefile
index 96ceee8..f382792 100644
--- a/www/uwsgitop/Makefile
+++ b/www/uwsgitop/Makefile
@@ -4,8 +4,7 @@
PORTNAME= uwsgitop
PORTVERSION= 0.8
CATEGORIES= www
-MASTER_SITES= ${MASTER_SITE_CHEESESHOP}
-MASTER_SITE_SUBDIR=source/u/${PORTNAME}
+MASTER_SITES= CHEESESHOP
MAINTAINER= demon@FreeBSD.org
COMMENT= uWSGI top-like app
diff --git a/www/webcopy/Makefile b/www/webcopy/Makefile
index eeea196..d123c60 100644
--- a/www/webcopy/Makefile
+++ b/www/webcopy/Makefile
@@ -4,8 +4,7 @@
PORTNAME= webcopy
PORTVERSION= 0.98b7
CATEGORIES= www
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= cy
+MASTER_SITES= LOCAL/cy
MAINTAINER= cy@FreeBSD.org
COMMENT= Web Mirroring Program
diff --git a/www/webcrawl/Makefile b/www/webcrawl/Makefile
index 2c6b08a..5361b5e 100644
--- a/www/webcrawl/Makefile
+++ b/www/webcrawl/Makefile
@@ -5,8 +5,7 @@ PORTNAME= webcrawl
PORTVERSION= 1.10
PORTREVISION= 1
CATEGORIES= www
-MASTER_SITES= ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR= apps/www/mirroring
+MASTER_SITES= SUNSITE/apps/www/mirroring
MAINTAINER= demon@FreeBSD.org
COMMENT= Download web sites without user interaction by following links
diff --git a/www/websh/Makefile b/www/websh/Makefile
index 1d9cebd..36f4b2b 100644
--- a/www/websh/Makefile
+++ b/www/websh/Makefile
@@ -5,8 +5,7 @@ PORTNAME= websh
PORTVERSION= 3.6.0b5
PORTREVISION= 4
CATEGORIES= www tcl
-MASTER_SITES= ${MASTER_SITE_APACHE}
-MASTER_SITE_SUBDIR=tcl/${PORTNAME}/source
+MASTER_SITES= APACHE/tcl/${PORTNAME}/source
EXTRACT_SUFX= -src.tar.gz
MAINTAINER= mi@aldan.algebra.com
diff --git a/www/wml/Makefile b/www/wml/Makefile
index 2c79341..6a2283b 100644
--- a/www/wml/Makefile
+++ b/www/wml/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 2.0.12
PORTREVISION= 6
PORTEPOCH= 1
CATEGORIES= www lang
-MASTER_SITES= ${MASTER_SITE_BERLIOS}
-MASTER_SITE_SUBDIR=thewml
+MASTER_SITES= SF/thewml
MAINTAINER= rodrigo@FreeBSD.org
COMMENT= Website META Language, webdesign toolkit for HTML generation
diff --git a/www/xpi-adblock/Makefile.xpi b/www/xpi-adblock/Makefile.xpi
index 6233916..ef81306 100644
--- a/www/xpi-adblock/Makefile.xpi
+++ b/www/xpi-adblock/Makefile.xpi
@@ -61,11 +61,11 @@
MASTER_SITE_MOZILLA_ADDONS= http://addons.cdn.mozilla.net/user-media/%SUBDIR%/
.ifndef MASTER_SITES
-MASTER_SITES?= MOZILLA_ADDONS
.ifdef XPI_NUM
-MASTER_SITE_SUBDIR?= addons/${XPI_NUM}
+MASTER_SITES?= MOZILLA_ADDONS/addons/${XPI_NUM}
+.else
+MASTER_SITES?= MOZILLA_ADDONS/extensions/${XPI_DISTNAME}
.endif
-MASTER_SITE_SUBDIR?= extensions/${XPI_DISTNAME}
.endif
PKGNAMEPREFIX?= xpi-
EXTRACT_SUFX?= .xpi
diff --git a/www/xpi-conkeror/Makefile b/www/xpi-conkeror/Makefile
index a988f6d..6193add 100644
--- a/www/xpi-conkeror/Makefile
+++ b/www/xpi-conkeror/Makefile
@@ -4,9 +4,8 @@
PORTNAME= conkeror
PORTVERSION= 20140911
CATEGORIES= www
-MASTER_SITES= http://distfiles.pirateparty.in/%SUBDIR%/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= ashish
+MASTER_SITES= http://distfiles.pirateparty.in/ashish/ \
+ LOCAL/ashish
MAINTAINER= ashish@FreeBSD.org
COMMENT= Keyboard-oriented, customizable web browser based on Mozilla XULRunner
diff --git a/www/xpi-delicious/Makefile b/www/xpi-delicious/Makefile
index 1563ad2..19dd4f6 100644
--- a/www/xpi-delicious/Makefile
+++ b/www/xpi-delicious/Makefile
@@ -4,8 +4,7 @@
PORTNAME= delicious
PORTVERSION= 1.3
CATEGORIES= www
-MASTER_SITES= ${MASTER_SITE_MOZDEV}
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= MOZDEV/${PORTNAME}
MAINTAINER= lapo@lapo.it
COMMENT= Extension to ease the use of del.icio.us remote bookmarks
diff --git a/www/xpi-downthemall/Makefile b/www/xpi-downthemall/Makefile
index b7fe754..d8ec889 100644
--- a/www/xpi-downthemall/Makefile
+++ b/www/xpi-downthemall/Makefile
@@ -5,8 +5,7 @@ PORTNAME= downthemall
PORTVERSION= 2.0.17
DISTVERSIONSUFFIX= -fx+sm
CATEGORIES= www
-MASTER_SITES= ${MASTER_SITE_MOZILLA_EXTENDED}
-MASTER_SITE_SUBDIR= addons/201
+MASTER_SITES= MOZILLA_EXTENDED/addons/201
MAINTAINER= gecko@FreeBSD.org
COMMENT= Lets you download all the links in a webpage and much more
diff --git a/x11-clocks/alltraxclock/Makefile b/x11-clocks/alltraxclock/Makefile
index 4bc7697..1e412d4 100644
--- a/x11-clocks/alltraxclock/Makefile
+++ b/x11-clocks/alltraxclock/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 2.0.2
PORTREVISION= 11
CATEGORIES= x11-clocks
MASTER_SITES= http://perso.wanadoo.fr/alltrax/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= novel
+ LOCAL/novel
DISTNAME= ${PORTNAME}2_0.2-1
MAINTAINER= novel@FreeBSD.org
diff --git a/x11-clocks/asclock-xlib/Makefile b/x11-clocks/asclock-xlib/Makefile
index 8cb7aaf..697988d 100644
--- a/x11-clocks/asclock-xlib/Makefile
+++ b/x11-clocks/asclock-xlib/Makefile
@@ -4,8 +4,7 @@ PORTNAME= asclock-xlib
PORTVERSION= 2.0.11
PORTREVISION= 4
CATEGORIES= x11-clocks afterstep windowmaker
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= kuriyama
+MASTER_SITES= LOCAL/kuriyama
MAINTAINER= kuriyama@FreeBSD.org
COMMENT= New flavor of asclock
diff --git a/x11-clocks/asclock/Makefile b/x11-clocks/asclock/Makefile
index 44bc9b6..cbf7d36 100644
--- a/x11-clocks/asclock/Makefile
+++ b/x11-clocks/asclock/Makefile
@@ -5,8 +5,7 @@ PORTNAME= asclock
PORTVERSION= 1.0
PORTREVISION= 3
CATEGORIES= x11-clocks afterstep
-MASTER_SITES= ${MASTER_SITE_XCONTRIB}
-MASTER_SITE_SUBDIR= applications
+MASTER_SITES= XCONTRIB/applications
DISTNAME= ${PORTNAME}
MAINTAINER= dinoex@FreeBSD.org
diff --git a/x11-clocks/bclock/Makefile b/x11-clocks/bclock/Makefile
index b5f7b62..e759aeb 100644
--- a/x11-clocks/bclock/Makefile
+++ b/x11-clocks/bclock/Makefile
@@ -5,8 +5,7 @@ PORTNAME= bclock
PORTVERSION= 1.0
PORTREVISION= 2
CATEGORIES= x11-clocks
-MASTER_SITES= ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR= X11/clocks
+MASTER_SITES= SUNSITE/X11/clocks
MAINTAINER= ports@FreeBSD.org
COMMENT= Round, analog X11 clock with Bezier curve hands
diff --git a/x11-clocks/mouseclock/Makefile b/x11-clocks/mouseclock/Makefile
index c11588e..e9da221 100644
--- a/x11-clocks/mouseclock/Makefile
+++ b/x11-clocks/mouseclock/Makefile
@@ -5,8 +5,7 @@ PORTNAME= mouseclock
PORTVERSION= 1.0
PORTREVISION= 5
CATEGORIES= x11-clocks
-MASTER_SITES= ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR= X11/clocks
+MASTER_SITES= SUNSITE/X11/clocks
MAINTAINER= ports@FreeBSD.org
COMMENT= Display the current time using the X root cursor
diff --git a/x11-clocks/osdclock/Makefile b/x11-clocks/osdclock/Makefile
index 2759146..63675a9 100644
--- a/x11-clocks/osdclock/Makefile
+++ b/x11-clocks/osdclock/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 0.5
PORTREVISION= 10
CATEGORIES= x11-clocks
MASTER_SITES= http://leftorium.net/software/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= novel
+ LOCAL/novel
DISTNAME= osd_clock-${PORTVERSION}
MAINTAINER= novel@FreeBSD.org
diff --git a/x11-clocks/pclock/Makefile b/x11-clocks/pclock/Makefile
index 26db482..879dbc1 100644
--- a/x11-clocks/pclock/Makefile
+++ b/x11-clocks/pclock/Makefile
@@ -5,7 +5,7 @@ PORTNAME= pclock
PORTVERSION= 0.13.1
PORTREVISION= 4
CATEGORIES= x11-clocks windowmaker afterstep
-MASTER_SITES= ${MASTER_SITE_DEBIAN_POOL}
+MASTER_SITES= DEBIAN_POOL
DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
MAINTAINER= ports@FreeBSD.org
diff --git a/x11-clocks/swisswatch/Makefile b/x11-clocks/swisswatch/Makefile
index d87e2bf..0251f51 100644
--- a/x11-clocks/swisswatch/Makefile
+++ b/x11-clocks/swisswatch/Makefile
@@ -5,7 +5,7 @@ PORTNAME= swisswatch
PORTVERSION= 0.06
PORTREVISION= 2
CATEGORIES= x11-clocks
-MASTER_SITES= ${MASTER_SITE_PORTS_JP}
+MASTER_SITES= PORTS_JP
MAINTAINER= sanpei@FreeBSD.org
COMMENT= Swiss railway clock emulation, and a fancy default appearance
diff --git a/x11-clocks/wmblueclock/Makefile b/x11-clocks/wmblueclock/Makefile
index 2f4fb27..d5ad9bd 100644
--- a/x11-clocks/wmblueclock/Makefile
+++ b/x11-clocks/wmblueclock/Makefile
@@ -5,8 +5,7 @@ PORTNAME= wmblueclock
PORTVERSION= 0.0
PORTREVISION= 3
CATEGORIES= x11-clocks windowmaker
-MASTER_SITES= ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR= X11/xutils
+MASTER_SITES= SUNSITE/X11/xutils
MAINTAINER= ports@FreeBSD.org
COMMENT= Simple dockable clock application
diff --git a/x11-clocks/wmtimer/Makefile b/x11-clocks/wmtimer/Makefile
index 33407e8..7aa2d1b 100644
--- a/x11-clocks/wmtimer/Makefile
+++ b/x11-clocks/wmtimer/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 2.92
PORTREVISION= 10
CATEGORIES= x11-clocks windowmaker
MASTER_SITES= http://www.darkops.net/wmtimer/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= uqs
+ LOCAL/uqs
MAINTAINER= uqs@FreeBSD.org
COMMENT= Multi-Function timer dockapp for WindowMaker
diff --git a/x11-clocks/xdaliclock/Makefile b/x11-clocks/xdaliclock/Makefile
index f04486e..fe3684e 100644
--- a/x11-clocks/xdaliclock/Makefile
+++ b/x11-clocks/xdaliclock/Makefile
@@ -5,7 +5,6 @@ PORTNAME= xdaliclock
PORTVERSION= 2.43
CATEGORIES= x11-clocks
MASTER_SITES= http://www.jwz.org/xdaliclock/
-MASTER_SITE_SUBDIR= applications
MAINTAINER= wxs@FreeBSD.org
COMMENT= Rather neat animated clock
diff --git a/x11-fm/asfiles/Makefile b/x11-fm/asfiles/Makefile
index 51c9a1c..40ca85a 100644
--- a/x11-fm/asfiles/Makefile
+++ b/x11-fm/asfiles/Makefile
@@ -5,8 +5,7 @@ PORTNAME= asfiles
PORTVERSION= 1.0
PORTREVISION= 3
CATEGORIES= x11-fm afterstep windowmaker
-MASTER_SITES= ${MASTER_SITE_AFTERSTEP}
-MASTER_SITE_SUBDIR= apps/ASFiles
+MASTER_SITES= AFTERSTEP/apps/ASFiles
DISTNAME= ASFiles-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
diff --git a/x11-fm/doublecmd/Makefile b/x11-fm/doublecmd/Makefile
index 5668956..4477dbd 100644
--- a/x11-fm/doublecmd/Makefile
+++ b/x11-fm/doublecmd/Makefile
@@ -4,7 +4,7 @@
PORTNAME= doublecmd
PORTVERSION= 0.6.1
CATEGORIES= x11-fm
-MASTER_SITES= SOURCEFORGE/${PORTNAME}/Double%20Commander%20Source
+MASTER_SITES= SF/${PORTNAME}/Double%20Commander%20Source
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
DISTFILES= ${DISTNAME}.tar.gz ${PORTNAME}-help-${HELPVERSION}-src.tar.gz
diff --git a/x11-fonts/charis-compact/Makefile b/x11-fonts/charis-compact/Makefile
index 399bd25..7a32404 100644
--- a/x11-fonts/charis-compact/Makefile
+++ b/x11-fonts/charis-compact/Makefile
@@ -11,7 +11,6 @@ MASTER_SITES= http://scripts.sil.org/ttw/fonts2go.cgi?family=CharisSIL&pkg=Compa
.else
MASTER_SITES= LOCAL/bf
.endif
-MASTER_SITE_SUBDIR= #prevent bsd.xorg.mk from setting a default subdirectory
MAINTAINER= bf@FreeBSD.org
COMMENT= Charis SIL TrueType font collection, compact variant
diff --git a/x11-fonts/charis/Makefile b/x11-fonts/charis/Makefile
index 489cd7b..dc62f08 100644
--- a/x11-fonts/charis/Makefile
+++ b/x11-fonts/charis/Makefile
@@ -7,7 +7,6 @@ PORTREVISION= 1
CATEGORIES= x11-fonts
MASTER_SITES= http://scripts.sil.org/cms/scripts/render_download.php?&format=file&media_id=${MEDIA_ID}&filename=/ \
LOCAL/bf
-MASTER_SITE_SUBDIR= #prevent bsd.xorg.mk from setting a default subdirectory
MAINTAINER= bf@FreeBSD.org
COMMENT= Charis SIL TrueType font collection
diff --git a/x11-fonts/doulos-compact/Makefile b/x11-fonts/doulos-compact/Makefile
index 4377605..ad556a3 100644
--- a/x11-fonts/doulos-compact/Makefile
+++ b/x11-fonts/doulos-compact/Makefile
@@ -11,7 +11,6 @@ MASTER_SITES= http://scripts.sil.org/ttw/fonts2go.cgi?family=DoulosSIL&pkg=Compa
.else
MASTER_SITES= LOCAL/bf
.endif
-MASTER_SITE_SUBDIR= #prevent bsd.xorg.mk from setting a default subdirectory
MAINTAINER= bf@FreeBSD.org
COMMENT= Doulos SIL TrueType font collection, compact variant
diff --git a/x11-fonts/font-manager/Makefile b/x11-fonts/font-manager/Makefile
index 067f851..f18d024 100644
--- a/x11-fonts/font-manager/Makefile
+++ b/x11-fonts/font-manager/Makefile
@@ -5,7 +5,7 @@ PORTNAME= font-manager
PORTVERSION= 0.5.7
PORTREVISION= 5
CATEGORIES= x11-fonts gnome
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
MAINTAINER= lichray@gmail.com
COMMENT= Font management application for the GNOME desktop
diff --git a/x11-fonts/gfe/Makefile b/x11-fonts/gfe/Makefile
index 006b3e6..7df26ac 100644
--- a/x11-fonts/gfe/Makefile
+++ b/x11-fonts/gfe/Makefile
@@ -5,8 +5,7 @@ PORTNAME= gfe
PORTVERSION= 0.0.4
PORTREVISION= 6
CATEGORIES= x11-fonts
-MASTER_SITES= ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR= X11/fonts
+MASTER_SITES= SUNSITE/X11/fonts
MAINTAINER= ports@FreeBSD.org
COMMENT= GTK+-based .bdf font editor for X
diff --git a/x11-fonts/gnu-unifont-ttf/Makefile b/x11-fonts/gnu-unifont-ttf/Makefile
index f67da54..7ec6dfb 100644
--- a/x11-fonts/gnu-unifont-ttf/Makefile
+++ b/x11-fonts/gnu-unifont-ttf/Makefile
@@ -5,8 +5,7 @@ PORTVERSION= 7.0.03
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= x11-fonts
-MASTER_SITES= ${MASTER_SITE_GNU}
-MASTER_SITE_SUBDIR=unifont/unifont-${PORTVERSION}
+MASTER_SITES= GNU/unifont/unifont-${PORTVERSION}
DISTNAME= unifont-${PORTVERSION}
MAINTAINER= bsdports@gmail.com
diff --git a/x11-fonts/gnu-unifont/Makefile b/x11-fonts/gnu-unifont/Makefile
index 54e035e..26a3d00 100644
--- a/x11-fonts/gnu-unifont/Makefile
+++ b/x11-fonts/gnu-unifont/Makefile
@@ -5,8 +5,7 @@ PORTVERSION= 7.0.03
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= x11-fonts
-MASTER_SITES= ${MASTER_SITE_GNU}
-MASTER_SITE_SUBDIR=unifont/unifont-${PORTVERSION}
+MASTER_SITES= GNU/unifont/unifont-${PORTVERSION}
DISTNAME= unifont-${PORTVERSION}.pcf
EXTRACT_SUFX= .gz
EXTRACT_ONLY=
diff --git a/x11-fonts/hanazono-fonts-ttf/Makefile b/x11-fonts/hanazono-fonts-ttf/Makefile
index 07e5f3e..d8b9e8f 100644
--- a/x11-fonts/hanazono-fonts-ttf/Makefile
+++ b/x11-fonts/hanazono-fonts-ttf/Makefile
@@ -4,8 +4,7 @@
PORTNAME= hanazono-fonts-ttf
PORTVERSION= 20141012
CATEGORIES= x11-fonts
-MASTER_SITES= SFJP
-MASTER_SITE_SUBDIR= hanazono-font/62072
+MASTER_SITES= SFJP/hanazono-font/62072
DISTNAME= ${PORTNAME:C/-.*//}-${PORTVERSION}
MAINTAINER= lichray@gmail.com
diff --git a/x11-fonts/intlfonts/Makefile b/x11-fonts/intlfonts/Makefile
index 42b6c70..78e75f6 100644
--- a/x11-fonts/intlfonts/Makefile
+++ b/x11-fonts/intlfonts/Makefile
@@ -5,8 +5,7 @@ PORTNAME= intlfonts
PORTVERSION= 1.2.1
PORTREVISION= 4
CATEGORIES= x11-fonts
-MASTER_SITES= ${MASTER_SITE_GNU}
-MASTER_SITE_SUBDIR= intlfonts
+MASTER_SITES= GNU
MAINTAINER= ports@FreeBSD.org
COMMENT= Free X11 fonts for all characters that Emacs can handle
diff --git a/x11-fonts/liberation-fonts-ttf/Makefile b/x11-fonts/liberation-fonts-ttf/Makefile
index ce753ed..0a37312 100644
--- a/x11-fonts/liberation-fonts-ttf/Makefile
+++ b/x11-fonts/liberation-fonts-ttf/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 2.00.1
PORTEPOCH= 2
CATEGORIES= x11-fonts
MASTER_SITES= https://fedorahosted.org/releases/l/i/liberation-fonts/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= thierry
+ LOCAL/thierry
MAINTAINER= thierry@FreeBSD.org
COMMENT= Liberation fonts from Red Hat to replace MS TTF fonts
diff --git a/x11-fonts/mkbold/Makefile b/x11-fonts/mkbold/Makefile
index 24acd46..027a40f 100644
--- a/x11-fonts/mkbold/Makefile
+++ b/x11-fonts/mkbold/Makefile
@@ -5,7 +5,7 @@ PORTNAME= mkbold
PORTVERSION= 1.0
PORTREVISION= 2
CATEGORIES= x11-fonts
-MASTER_SITES= ${MASTER_SITE_PORTS_JP}
+MASTER_SITES= PORTS_JP
EXTRACT_SUFX= .bz2
MAINTAINER= koma2@lovepeers.org
diff --git a/x11-fonts/mkitalic/Makefile b/x11-fonts/mkitalic/Makefile
index c8e132c..35d9ffd 100644
--- a/x11-fonts/mkitalic/Makefile
+++ b/x11-fonts/mkitalic/Makefile
@@ -5,7 +5,7 @@ PORTNAME= mkitalic
PORTVERSION= 1.0
PORTREVISION= 2
CATEGORIES= x11-fonts
-MASTER_SITES= ${MASTER_SITE_PORTS_JP}
+MASTER_SITES= PORTS_JP
EXTRACT_SUFX= .bz2
MAINTAINER= koma2@lovepeers.org
diff --git a/x11-fonts/nexfontsel/Makefile b/x11-fonts/nexfontsel/Makefile
index b502f5b..35f7ad8 100644
--- a/x11-fonts/nexfontsel/Makefile
+++ b/x11-fonts/nexfontsel/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 3.0.1
PORTREVISION= 4
CATEGORIES= x11-fonts
MASTER_SITES= http://www.netlab.is.tsukuba.ac.jp/~yokota/archive/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= pav
+ LOCAL/pav
DISTNAME= NeXFontSel-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
diff --git a/x11-fonts/p5-type1inst/Makefile b/x11-fonts/p5-type1inst/Makefile
index f86425b..bb12713 100644
--- a/x11-fonts/p5-type1inst/Makefile
+++ b/x11-fonts/p5-type1inst/Makefile
@@ -5,8 +5,7 @@ PORTNAME= type1inst
PORTVERSION= 0.6.1
PORTREVISION= 5
CATEGORIES= x11-fonts perl5
-MASTER_SITES= ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR=X11/xutils
+MASTER_SITES= SUNSITE/X11/xutils
PKGNAMEPREFIX= p5-
MAINTAINER= hrs@FreeBSD.org
diff --git a/x11-fonts/paratype/Makefile b/x11-fonts/paratype/Makefile
index 8e1d602..0fb073a 100644
--- a/x11-fonts/paratype/Makefile
+++ b/x11-fonts/paratype/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 2.004
PORTREVISION= 6
CATEGORIES= x11-fonts
MASTER_SITES= http://paratype.0xdc.ru/
-MASTER_SITE_SUBDIR= #prevent bsd.xorg.mk from setting a default subdirectory
DISTFILES= PTSansOFL-2.004.zip PTSerifOFL-1.000.zip PTMonoOFL-1.002_1.zip
MAINTAINER= ports@FreeBSD.org
diff --git a/x11-fonts/terminus-font/Makefile b/x11-fonts/terminus-font/Makefile
index af5da79..bf2e521 100644
--- a/x11-fonts/terminus-font/Makefile
+++ b/x11-fonts/terminus-font/Makefile
@@ -5,7 +5,7 @@ PORTNAME= terminus-font
PORTVERSION= 4.39
PORTREVISION= 1
CATEGORIES= x11-fonts
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:S|%SUBDIR%|${PORTNAME:tl}/${PORTNAME}-${PORTVERSION}|}
+MASTER_SITES= SF/${PORTNAME:tl}/${PORTNAME}-${PORTVERSION}
MAINTAINER= zeising@FreeBSD.org
COMMENT= Terminus Font - a clean fixed width font
diff --git a/x11-fonts/tkfont/Makefile b/x11-fonts/tkfont/Makefile
index b1ce5b0..a546777 100644
--- a/x11-fonts/tkfont/Makefile
+++ b/x11-fonts/tkfont/Makefile
@@ -5,8 +5,7 @@ PORTNAME= tkfont
PORTVERSION= 1.1
PORTREVISION= 3
CATEGORIES= x11-fonts tcl tk
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= petef
+MASTER_SITES= LOCAL/petef
MAINTAINER= ports@FreeBSD.org
COMMENT= Tk based replacement for xfontsel
diff --git a/x11-servers/xorg-nestserver/Makefile b/x11-servers/xorg-nestserver/Makefile
index 05d1134..ae0ebf6 100644
--- a/x11-servers/xorg-nestserver/Makefile
+++ b/x11-servers/xorg-nestserver/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 1.14.7
PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= x11-servers
-MASTER_SITES= XORG
-MASTER_SITE_SUBDIR= individual/xserver
+MASTER_SITES= XORG/individual/xserver
DISTNAME= xorg-server-${PORTVERSION}
DIST_SUBDIR= xorg/xserver
diff --git a/x11-servers/xorg-server/Makefile b/x11-servers/xorg-server/Makefile
index b4c5391..7179cf2 100644
--- a/x11-servers/xorg-server/Makefile
+++ b/x11-servers/xorg-server/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 1.14.7
PORTREVISION?= 4
PORTEPOCH?= 1
CATEGORIES= x11-servers
-MASTER_SITES= XORG
-MASTER_SITE_SUBDIR= individual/xserver
+MASTER_SITES= XORG/individual/xserver
DISTNAME= xorg-server-${PORTVERSION}
MAINTAINER= x11@FreeBSD.org
diff --git a/x11-servers/xorg-vfbserver/Makefile b/x11-servers/xorg-vfbserver/Makefile
index 54134a5..b7cb917 100644
--- a/x11-servers/xorg-vfbserver/Makefile
+++ b/x11-servers/xorg-vfbserver/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 1.14.7
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= x11-servers
-MASTER_SITES= XORG
-MASTER_SITE_SUBDIR= individual/xserver
+MASTER_SITES= XORG/individual/xserver
DISTNAME= xorg-server-${PORTVERSION}
DIST_SUBDIR= xorg/xserver
diff --git a/x11-themes/beastie/Makefile b/x11-themes/beastie/Makefile
index ff8d26f..c8ef141 100644
--- a/x11-themes/beastie/Makefile
+++ b/x11-themes/beastie/Makefile
@@ -6,9 +6,8 @@ PORTNAME= beastie
PORTVERSION= 06.05.03
PORTREVISION= 5
CATEGORIES= x11-themes
-MASTER_SITES= ${MASTER_SITE_LOCAL} \
+MASTER_SITES= LOCAL/ahze \
http://people.freebsd.org/~ahze/distfiles/
-MASTER_SITE_SUBDIR= ahze
DISTNAME= Beastie-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
diff --git a/x11-themes/clearlooks-metacity/Makefile b/x11-themes/clearlooks-metacity/Makefile
index e9a1ad0..fe20f7a 100644
--- a/x11-themes/clearlooks-metacity/Makefile
+++ b/x11-themes/clearlooks-metacity/Makefile
@@ -7,8 +7,7 @@ PORTVERSION= 2.0
PORTREVISION= 7
CATEGORIES= x11-themes
MASTER_SITES= http://www.stellingwerff.com/
-#MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-#MASTER_SITE_SUBDIR= clearlooks
+#MASTER_SITES= SOURCEFORGE/clearlooks
MAINTAINER= ports@FreeBSD.org
COMMENT= Clearlooks Metacity theme
diff --git a/x11-themes/gnome-icons-aqua-fusion/Makefile b/x11-themes/gnome-icons-aqua-fusion/Makefile
index 7bc002c..fb1974f 100644
--- a/x11-themes/gnome-icons-aqua-fusion/Makefile
+++ b/x11-themes/gnome-icons-aqua-fusion/Makefile
@@ -9,8 +9,7 @@ PORTNAME= aqua-fusion
PORTVERSION= 20030216
PORTREVISION= 3
CATEGORIES= x11-themes gnome
-MASTER_SITES= GNOME
-MASTER_SITE_SUBDIR= teams/art.gnome.org/archive/themes/icon
+MASTER_SITES= GNOME/teams/art.gnome.org/archive/themes/icon
DISTNAME= ICON-AquaFusion
MAINTAINER= ports@FreeBSD.org
diff --git a/x11-themes/gnome-icons-faenza/Makefile b/x11-themes/gnome-icons-faenza/Makefile
index f116cf9..208be38 100644
--- a/x11-themes/gnome-icons-faenza/Makefile
+++ b/x11-themes/gnome-icons-faenza/Makefile
@@ -4,7 +4,7 @@
PORTNAME= faenza
PORTVERSION= 1.3
CATEGORIES= x11-themes gnome
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
PROJECTHOST= ${PORTNAME}-icon-theme
PKGNAMEPREFIX= gnome-icons-
DISTNAME= ${PROJECTHOST}_${PORTVERSION}
diff --git a/x11-themes/gnome-icons-gentoo-test/Makefile b/x11-themes/gnome-icons-gentoo-test/Makefile
index c73537f..6438628 100644
--- a/x11-themes/gnome-icons-gentoo-test/Makefile
+++ b/x11-themes/gnome-icons-gentoo-test/Makefile
@@ -9,8 +9,7 @@ PORTNAME= gentoo-test
PORTVERSION= 0.1
PORTREVISION= 3
CATEGORIES= x11-themes gnome
-MASTER_SITES= GNOME
-MASTER_SITE_SUBDIR= teams/art.gnome.org/archive/themes/icon
+MASTER_SITES= GNOME/teams/art.gnome.org/archive/themes/icon
DISTNAME= ICON-Gentoo-Test
MAINTAINER= ports@FreeBSD.org
diff --git a/x11-themes/gnome-icons-iris/Makefile b/x11-themes/gnome-icons-iris/Makefile
index e017fb0..8b2834d 100644
--- a/x11-themes/gnome-icons-iris/Makefile
+++ b/x11-themes/gnome-icons-iris/Makefile
@@ -9,8 +9,7 @@ PORTNAME= iris
PORTVERSION= 20050420
PORTREVISION= 1
CATEGORIES= x11-themes gnome
-MASTER_SITES= GNOME
-MASTER_SITE_SUBDIR= teams/art.gnome.org/themes/icon
+MASTER_SITES= GNOME/teams/art.gnome.org/themes/icon
DISTNAME= ICON-Iris
MAINTAINER= ports@FreeBSD.org
diff --git a/x11-themes/gnome-icons-noia-warm/Makefile b/x11-themes/gnome-icons-noia-warm/Makefile
index 9d2aafc..ab8d53c 100644
--- a/x11-themes/gnome-icons-noia-warm/Makefile
+++ b/x11-themes/gnome-icons-noia-warm/Makefile
@@ -9,8 +9,7 @@ PORTNAME= noia-warm
PORTVERSION= 20041102
PORTREVISION= 2
CATEGORIES= x11-themes gnome
-MASTER_SITES= GNOME
-MASTER_SITE_SUBDIR= teams/art.gnome.org/archive/themes/icon
+MASTER_SITES= GNOME/teams/art.gnome.org/archive/themes/icon
DISTNAME= ICON-NoiaWarm
MAINTAINER= ports@FreeBSD.org
diff --git a/x11-themes/gnome-icons-refined/Makefile b/x11-themes/gnome-icons-refined/Makefile
index 16b391f..100a480 100644
--- a/x11-themes/gnome-icons-refined/Makefile
+++ b/x11-themes/gnome-icons-refined/Makefile
@@ -9,8 +9,7 @@ PORTNAME= refined
PORTVERSION= 20030203
PORTREVISION= 3
CATEGORIES= x11-themes gnome
-MASTER_SITES= GNOME
-MASTER_SITE_SUBDIR= teams/art.gnome.org/archive/themes/icon
+MASTER_SITES= GNOME/teams/art.gnome.org/archive/themes/icon
DISTNAME= ICON-Gnome-RH8
MAINTAINER= ports@FreeBSD.org
diff --git a/x11-themes/gnome-icons-slick/Makefile b/x11-themes/gnome-icons-slick/Makefile
index 108ea9f..7a57786 100644
--- a/x11-themes/gnome-icons-slick/Makefile
+++ b/x11-themes/gnome-icons-slick/Makefile
@@ -9,8 +9,7 @@ PORTNAME= slick
PORTVERSION= 20030209
PORTREVISION= 3
CATEGORIES= x11-themes gnome
-MASTER_SITES= GNOME
-MASTER_SITE_SUBDIR= teams/art.gnome.org/archive/themes/icon
+MASTER_SITES= GNOME/teams/art.gnome.org/archive/themes/icon
DISTNAME= ICON-Slick
MAINTAINER= ports@FreeBSD.org
diff --git a/x11-themes/gnome-icons-snow-apple/Makefile b/x11-themes/gnome-icons-snow-apple/Makefile
index 2f82df3..120a3ed 100644
--- a/x11-themes/gnome-icons-snow-apple/Makefile
+++ b/x11-themes/gnome-icons-snow-apple/Makefile
@@ -9,8 +9,7 @@ PORTNAME= snow-apple
PORTVERSION= 20030202
PORTREVISION= 3
CATEGORIES= x11-themes gnome
-MASTER_SITES= GNOME
-MASTER_SITE_SUBDIR= teams/art.gnome.org/archive/themes/icon
+MASTER_SITES= GNOME/teams/art.gnome.org/archive/themes/icon
DISTNAME= ICON-Snow-Apple
MAINTAINER= ports@FreeBSD.org
diff --git a/x11-themes/gnome-icons-stylish/Makefile b/x11-themes/gnome-icons-stylish/Makefile
index 9bdf712..b820c54 100644
--- a/x11-themes/gnome-icons-stylish/Makefile
+++ b/x11-themes/gnome-icons-stylish/Makefile
@@ -9,8 +9,7 @@ PORTNAME= stylish
PORTVERSION= 20030129
PORTREVISION= 2
CATEGORIES= x11-themes gnome
-MASTER_SITES= GNOME
-MASTER_SITE_SUBDIR= teams/art.gnome.org/archive/themes/icon
+MASTER_SITES= GNOME/teams/art.gnome.org/archive/themes/icon
DISTNAME= ICON-Stylish
MAINTAINER= ports@FreeBSD.org
diff --git a/x11-themes/gnome-icons-ximian-south/Makefile b/x11-themes/gnome-icons-ximian-south/Makefile
index 1b711fd..ea0a4ac 100644
--- a/x11-themes/gnome-icons-ximian-south/Makefile
+++ b/x11-themes/gnome-icons-ximian-south/Makefile
@@ -9,8 +9,7 @@ PORTNAME= ximian-south
PORTVERSION= 1.3.6
PORTREVISION= 3
CATEGORIES= x11-themes gnome
-MASTER_SITES= GNOME
-MASTER_SITE_SUBDIR= teams/art.gnome.org/archive/themes/icon
+MASTER_SITES= GNOME/teams/art.gnome.org/archive/themes/icon
DISTNAME= ICON-Ximian-South-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
diff --git a/x11-themes/gtk-aqualightblue-theme/Makefile b/x11-themes/gtk-aqualightblue-theme/Makefile
index db0b668..fcc464d 100644
--- a/x11-themes/gtk-aqualightblue-theme/Makefile
+++ b/x11-themes/gtk-aqualightblue-theme/Makefile
@@ -5,8 +5,7 @@ PORTNAME= gtk-aqualightblue-theme
PORTVERSION= 0.1
PORTREVISION= 11
CATEGORIES= x11-themes gnome
-MASTER_SITES= ${MASTER_SITE_THEMES}
-MASTER_SITE_SUBDIR= aqualightblue-gtk2
+MASTER_SITES= THEMES/aqualightblue-gtk2
DISTNAME= aqualightblue-gtk2-default
MAINTAINER= philip@FreeBSD.org
diff --git a/x11-themes/gtk-engines2/Makefile b/x11-themes/gtk-engines2/Makefile
index 8485c27..50ee9c9 100644
--- a/x11-themes/gtk-engines2/Makefile
+++ b/x11-themes/gtk-engines2/Makefile
@@ -6,8 +6,7 @@ PORTNAME= gtk-engines2
PORTVERSION= 2.20.2
PORTREVISION= 2
CATEGORIES= x11-themes
-MASTER_SITES= GNOME
-MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
+MASTER_SITES= GNOME/sources/${PORTNAME:S/2$//}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
DISTNAME= ${PORTNAME:S/2$//}-${PORTVERSION}
DIST_SUBDIR= gnome2
diff --git a/x11-themes/gtk-flat-theme2/Makefile b/x11-themes/gtk-flat-theme2/Makefile
index e30a0af..7af5348 100644
--- a/x11-themes/gtk-flat-theme2/Makefile
+++ b/x11-themes/gtk-flat-theme2/Makefile
@@ -5,8 +5,7 @@ PORTNAME= gtk-flat-theme2
PORTVERSION= 0.1
PORTREVISION= 14
CATEGORIES= x11-themes
-MASTER_SITES= ${MASTER_SITE_THEMES}
-MASTER_SITE_SUBDIR= gtk2flat
+MASTER_SITES= THEMES/gtk2flat
DISTNAME= gtk2flat-default
MAINTAINER= philip@FreeBSD.org
diff --git a/x11-themes/gtk-murrina-aqua/Makefile b/x11-themes/gtk-murrina-aqua/Makefile
index ba2e01a..e722a09 100644
--- a/x11-themes/gtk-murrina-aqua/Makefile
+++ b/x11-themes/gtk-murrina-aqua/Makefile
@@ -5,9 +5,8 @@ PORTNAME= gtk-murrina-aqua
PORTVERSION= 0.1
PORTREVISION= 6
CATEGORIES= x11-themes
-MASTER_SITES= ${MASTER_SITE_LOCAL} \
+MASTER_SITES= LOCAL/itetcu \
http://www5.frugalware.org/packages/frugalware/pub/frugalware/frugalware-stable/source/gnome-extra/gtk+2-engines-murrine/
-MASTER_SITE_SUBDIR= itetcu
DISTNAME= Murrina-Aqua
MAINTAINER= pneumann@gmail.com
diff --git a/x11-themes/gtk-oxygen-engine/Makefile b/x11-themes/gtk-oxygen-engine/Makefile
index c814c43..b965af2 100644
--- a/x11-themes/gtk-oxygen-engine/Makefile
+++ b/x11-themes/gtk-oxygen-engine/Makefile
@@ -3,8 +3,7 @@
PORTNAME= oxygen
PORTVERSION= 1.4.6
CATEGORIES= x11-themes
-MASTER_SITES= ${MASTER_SITE_KDE}
-MASTER_SITE_SUBDIR= stable/${PORTNAME}-gtk2/${PORTVERSION}/src
+MASTER_SITES= KDE/stable/${PORTNAME}-gtk2/${PORTVERSION}/src
PKGNAMEPREFIX= gtk-
PKGNAMESUFFIX= -engine
DISTNAME= ${PORTNAME}-gtk2-${PORTVERSION}
diff --git a/x11-themes/gtk-qt4-engine/Makefile b/x11-themes/gtk-qt4-engine/Makefile
index bcb7d90..a4aba95 100644
--- a/x11-themes/gtk-qt4-engine/Makefile
+++ b/x11-themes/gtk-qt4-engine/Makefile
@@ -5,7 +5,7 @@ PORTNAME= gtk-qt-engine
PORTVERSION= 1.1
PORTREVISION= 12
CATEGORIES= x11-themes
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
MAINTAINER= makc@FreeBSD.org
COMMENT= GTK+ 2.x theme engine allowing to use Qt/KDE styles
diff --git a/x11-themes/gtk3-oxygen-engine/Makefile b/x11-themes/gtk3-oxygen-engine/Makefile
index 771c46c..9010603 100644
--- a/x11-themes/gtk3-oxygen-engine/Makefile
+++ b/x11-themes/gtk3-oxygen-engine/Makefile
@@ -3,8 +3,7 @@
PORTNAME= oxygen
PORTVERSION= 1.4.1
CATEGORIES= x11-themes
-MASTER_SITES= ${MASTER_SITE_KDE}
-MASTER_SITE_SUBDIR= stable/${PORTNAME}-gtk3/${PORTVERSION}/src
+MASTER_SITES= KDE/stable/${PORTNAME}-gtk3/${PORTVERSION}/src
PKGNAMEPREFIX= gtk3-
PKGNAMESUFFIX= -engine
DISTNAME= ${PORTNAME}-gtk3-${PORTVERSION}
diff --git a/x11-themes/icon-naming-utils/Makefile b/x11-themes/icon-naming-utils/Makefile
index e63a181..a2de158 100644
--- a/x11-themes/icon-naming-utils/Makefile
+++ b/x11-themes/icon-naming-utils/Makefile
@@ -5,7 +5,7 @@ PORTNAME= icon-naming-utils
PORTVERSION= 0.8.90
PORTREVISION= 1
CATEGORIES= x11-themes
-MASTER_SITES= GENTOO/distfiles
+MASTER_SITES= GENTOO
MAINTAINER= ports@FreeBSD.org
COMMENT= Utilities of the Tango project
diff --git a/x11-themes/icons-tango-extras/Makefile b/x11-themes/icons-tango-extras/Makefile
index 2b7d793..f88069a 100644
--- a/x11-themes/icons-tango-extras/Makefile
+++ b/x11-themes/icons-tango-extras/Makefile
@@ -5,8 +5,7 @@ PORTVERSION= 0.1.0
PORTREVISION= 5
CATEGORIES= x11-themes
MASTER_SITES= http://tango.freedesktop.org/releases/ \
- ${MASTER_SITE_GENTOO}
-MASTER_SITE_SUBDIR= distfiles
+ GENTOO
DISTNAME= tango-icon-theme-extras-${PORTVERSION}
MAINTAINER= flz@FreeBSD.org
diff --git a/x11-themes/icons-tango/Makefile b/x11-themes/icons-tango/Makefile
index eaedc34..7093919 100644
--- a/x11-themes/icons-tango/Makefile
+++ b/x11-themes/icons-tango/Makefile
@@ -5,7 +5,7 @@ PORTNAME= icons-tango
PORTVERSION= 0.8.90
PORTREVISION= 2
CATEGORIES= x11-themes
-MASTER_SITES= GENTOO/distfiles
+MASTER_SITES= GENTOO
DISTNAME= tango-icon-theme-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
diff --git a/x11-themes/irssi-themes/Makefile b/x11-themes/irssi-themes/Makefile
index 14cbaea..c598035 100644
--- a/x11-themes/irssi-themes/Makefile
+++ b/x11-themes/irssi-themes/Makefile
@@ -6,7 +6,6 @@ PORTVERSION= 20101013
CATEGORIES= x11-themes irc
MASTER_SITES= http://www.irssi.org/themefiles/ \
LOCAL/ehaupt/${PORTNAME}
-MASTER_SITE_SUBDIR= ${PORTNAME}
DIST_SUBDIR= ${PORTNAME}
MAINTAINER= ehaupt@FreeBSD.org
diff --git a/x11-themes/kde-gtk-config/Makefile b/x11-themes/kde-gtk-config/Makefile
index 1717237..55a83bc 100644
--- a/x11-themes/kde-gtk-config/Makefile
+++ b/x11-themes/kde-gtk-config/Makefile
@@ -4,8 +4,7 @@ PORTNAME= kde-gtk-config
PORTVERSION= 2.2.1
PORTREVISION= 3
CATEGORIES= x11-themes kde
-MASTER_SITES= ${MASTER_SITE_KDE}
-MASTER_SITE_SUBDIR= stable/${PORTNAME}/${PORTVERSION}/src
+MASTER_SITES= KDE/stable/${PORTNAME}/${PORTVERSION}/src
MAINTAINER= kde@FreeBSD.org
COMMENT= GTK2 and GTK3 Configurator for KDE
diff --git a/x11-themes/kde-icons-gartoon-blue-svg/Makefile b/x11-themes/kde-icons-gartoon-blue-svg/Makefile
index 8f9661e..bf310f4 100644
--- a/x11-themes/kde-icons-gartoon-blue-svg/Makefile
+++ b/x11-themes/kde-icons-gartoon-blue-svg/Makefile
@@ -3,9 +3,8 @@
PORTNAME= gartoon
PORTVERSION= 1.3
-MASTER_SITES= ${MASTER_SITE_LOCAL} \
+MASTER_SITES= LOCAL/fluffy \
http://ns.ael.ru/ports/distfiles/KDE/
-MASTER_SITE_SUBDIR= fluffy
PKGNAMESUFFIX= -blue-svg
DISTNAME= ICONS-Gartoon.Blue-SVG-v${PORTVERSION}
diff --git a/x11-themes/kde-icons-gartoon-svg/Makefile b/x11-themes/kde-icons-gartoon-svg/Makefile
index b5caead..0599fb6 100644
--- a/x11-themes/kde-icons-gartoon-svg/Makefile
+++ b/x11-themes/kde-icons-gartoon-svg/Makefile
@@ -3,9 +3,8 @@
PORTNAME= gartoon
PORTVERSION= 1.3
-MASTER_SITES= ${MASTER_SITE_LOCAL} \
+MASTER_SITES= LOCAL/fluffy \
http://ns.ael.ru/ports/distfiles/KDE/
-MASTER_SITE_SUBDIR= fluffy
PKGNAMESUFFIX= -svg
DISTNAME= ICONS-Gartoon-SVG-v${PORTVERSION}
diff --git a/x11-themes/kde-icons-kool-gorilla/Makefile b/x11-themes/kde-icons-kool-gorilla/Makefile
index 06364a9..4a23144 100644
--- a/x11-themes/kde-icons-kool-gorilla/Makefile
+++ b/x11-themes/kde-icons-kool-gorilla/Makefile
@@ -3,8 +3,7 @@
PORTNAME= kool-gorilla
PORTVERSION= 1.3.5
-MASTER_SITES= ${MASTER_SITE_GENTOO}
-MASTER_SITE_SUBDIR= distfiles
+MASTER_SITES= GENTOO
DISTNAME= Korilla_Icons-v${PORTVERSION}
diff --git a/x11-themes/kde-icons-noia/Makefile b/x11-themes/kde-icons-noia/Makefile
index e20e44e..c7d3993 100644
--- a/x11-themes/kde-icons-noia/Makefile
+++ b/x11-themes/kde-icons-noia/Makefile
@@ -3,13 +3,12 @@
PORTNAME= noia
PORTVERSION= 1.00
-MASTER_SITES= ${MASTER_SITE_GENTOO}
-MASTER_SITE_SUBDIR= distfiles
+MASTER_SITES= GENTOO
DISTNAME= noia-kde-icons-${PORTVERSION}
-EXTRACT_SUFX= .tgz
COMMENT= KDE Noia complete iconset
+USES= tar:tgz
WRKSRC= "${WRKDIR}/noia_kde_${PORTVERSION:C/\.//}"
PORT_SHAREDIR= ${PORTNAME}
diff --git a/x11-themes/kde-icons-nuvola/Makefile b/x11-themes/kde-icons-nuvola/Makefile
index a89a493..c23ced0 100644
--- a/x11-themes/kde-icons-nuvola/Makefile
+++ b/x11-themes/kde-icons-nuvola/Makefile
@@ -5,8 +5,7 @@ PORTNAME= nuvola
PORTVERSION= 1.0
PORTREVISION= 1
MASTER_SITES= http://www.icon-king.com/files/ \
- ${MASTER_SITE_GENTOO}
-MASTER_SITE_SUBDIR= distfiles
+ GENTOO
COMMENT= KDE Nuvola iconset, SVG evolution of SKY
diff --git a/x11-themes/metacity-themes/Makefile.metacity b/x11-themes/metacity-themes/Makefile.metacity
index 7d8bafb..cfb8cab 100644
--- a/x11-themes/metacity-themes/Makefile.metacity
+++ b/x11-themes/metacity-themes/Makefile.metacity
@@ -1,6 +1,5 @@
PKGNAMEPREFIX= metacity-theme-
-MASTER_SITES?= ${MASTER_SITE_GNOME}
-MASTER_SITE_SUBDIR?= teams/art.gnome.org/themes/metacity
+MASTER_SITES?= GNOME/teams/art.gnome.org/themes/metacity
DIST_SUBDIR= gnome2
NO_BUILD= yes
diff --git a/x11-themes/openbox-themes/Makefile b/x11-themes/openbox-themes/Makefile
index a994fee..45b6351 100644
--- a/x11-themes/openbox-themes/Makefile
+++ b/x11-themes/openbox-themes/Makefile
@@ -5,8 +5,7 @@ PORTNAME= openbox-themes
PORTVERSION= 1.0.1
PORTREVISION= 5
CATEGORIES= x11-themes
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= novel
+MASTER_SITES= LOCAL/novel
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= novel@FreeBSD.org
diff --git a/x11-toolkits/attica/Makefile b/x11-toolkits/attica/Makefile
index e27e642..3552d43 100644
--- a/x11-toolkits/attica/Makefile
+++ b/x11-toolkits/attica/Makefile
@@ -5,8 +5,7 @@ PORTNAME= attica
PORTVERSION= 0.4.2
PORTEPOCH= 2
CATEGORIES= x11-toolkits
-MASTER_SITES= ${MASTER_SITE_KDE}
-MASTER_SITE_SUBDIR= stable/${PORTNAME}
+MASTER_SITES= KDE/stable/${PORTNAME}
MAINTAINER= kde@FreeBSD.org
COMMENT= Open Collaboration Services API library
diff --git a/x11-toolkits/gal2/Makefile b/x11-toolkits/gal2/Makefile
index c3120b3..082e2e5 100644
--- a/x11-toolkits/gal2/Makefile
+++ b/x11-toolkits/gal2/Makefile
@@ -6,8 +6,7 @@ PORTNAME= gal2
PORTVERSION= 2.5.3
PORTREVISION?= 12
CATEGORIES= x11-toolkits gnome
-MASTER_SITES= GNOME
-MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/2.5
+MASTER_SITES= GNOME/sources/${PORTNAME:S/2$//}/2.5
DISTNAME= ${PORTNAME:S/2$//}-${PORTVERSION}
DIST_SUBDIR= gnome2
diff --git a/x11-toolkits/gnustep-gui/Makefile b/x11-toolkits/gnustep-gui/Makefile
index 75fba78..22dea44 100644
--- a/x11-toolkits/gnustep-gui/Makefile
+++ b/x11-toolkits/gnustep-gui/Makefile
@@ -5,8 +5,7 @@ PORTNAME= gnustep-gui
PORTVERSION= 0.24.0
PORTREVISION= 5
CATEGORIES= x11-toolkits gnustep
-MASTER_SITES= ${MASTER_SITE_GNUSTEP}
-MASTER_SITE_SUBDIR= core
+MASTER_SITES= GNUSTEP/core
MAINTAINER= theraven@FreeBSD.org
COMMENT= GNUstep GUI library
diff --git a/x11-toolkits/gtk12/Makefile b/x11-toolkits/gtk12/Makefile
index 4600fcd..b8f7c9d 100644
--- a/x11-toolkits/gtk12/Makefile
+++ b/x11-toolkits/gtk12/Makefile
@@ -6,8 +6,7 @@ PORTNAME= gtk
PORTVERSION= 1.2.10
PORTREVISION= 24
CATEGORIES= x11-toolkits
-MASTER_SITES= GNOME
-MASTER_SITE_SUBDIR= sources/gtk+/1.2
+MASTER_SITES= GNOME/sources/gtk+/1.2
PKGNAMESUFFIX= 12
DISTNAME= gtk+-${PORTVERSION}
diff --git a/x11-toolkits/gtk20/Makefile b/x11-toolkits/gtk20/Makefile
index f3b79eb..2481979 100644
--- a/x11-toolkits/gtk20/Makefile
+++ b/x11-toolkits/gtk20/Makefile
@@ -5,8 +5,7 @@ PORTNAME= gtk
PORTVERSION= 2.24.27
PORTREVISION?= 0
CATEGORIES= x11-toolkits
-MASTER_SITES= GNOME
-MASTER_SITE_SUBDIR= sources/gtk+/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
+MASTER_SITES= GNOME/sources/gtk+/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
PKGNAMESUFFIX= 2
DISTNAME= gtk+-${PORTVERSION}
DIST_SUBDIR= gnome2
diff --git a/x11-toolkits/gtk30/Makefile b/x11-toolkits/gtk30/Makefile
index a4f7e6b..0aa9bb6 100644
--- a/x11-toolkits/gtk30/Makefile
+++ b/x11-toolkits/gtk30/Makefile
@@ -7,8 +7,7 @@ PORTNAME= gtk
PORTVERSION= 3.14.12
PORTREVISION?= 0
CATEGORIES= x11-toolkits
-MASTER_SITES= GNOME
-MASTER_SITE_SUBDIR= sources/gtk+/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
+MASTER_SITES= GNOME/sources/gtk+/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
PKGNAMESUFFIX= 3
DISTNAME= gtk+-${PORTVERSION}
DIST_SUBDIR= gnome3
diff --git a/x11-toolkits/gtksourceview2/Makefile b/x11-toolkits/gtksourceview2/Makefile
index be4a8cc..e6e3096 100644
--- a/x11-toolkits/gtksourceview2/Makefile
+++ b/x11-toolkits/gtksourceview2/Makefile
@@ -6,8 +6,7 @@ PORTNAME= gtksourceview2
PORTVERSION= 2.10.5
PORTREVISION?= 4
CATEGORIES= x11-toolkits gnome
-MASTER_SITES= GNOME
-MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
+MASTER_SITES= GNOME/sources/${PORTNAME:S/2$//}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
DISTNAME= ${PORTNAME:S/2$//}-${PORTVERSION}
DIST_SUBDIR= gnome2
diff --git a/x11-toolkits/linux-c6-qt47-x11/Makefile b/x11-toolkits/linux-c6-qt47-x11/Makefile
index a5fc2ad..24b1a17 100644
--- a/x11-toolkits/linux-c6-qt47-x11/Makefile
+++ b/x11-toolkits/linux-c6-qt47-x11/Makefile
@@ -5,8 +5,7 @@ PORTNAME= qt47-x11
PORTVERSION= 4.7.2
PORTREVISION= 1
CATEGORIES= x11-toolkits linux
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= xmj
+MASTER_SITES= LOCAL/xmj
DIST_SUBDIR= rpm/${LINUX_RPM_ARCH}/centos/c5
MAINTAINER= emulation@FreeBSD.org
diff --git a/x11-toolkits/linux-f10-pango/Makefile b/x11-toolkits/linux-f10-pango/Makefile
index e51af82..30f2c13 100644
--- a/x11-toolkits/linux-f10-pango/Makefile
+++ b/x11-toolkits/linux-f10-pango/Makefile
@@ -5,9 +5,7 @@ PORTNAME= pango
PORTVERSION= 1.28.3
PORTREVISION= 1
CATEGORIES= x11-toolkits linux
-MASTER_SITES= LOCAL
-MASTER_SITE_SUBDIR= netchild/rpms/${LINUX_DIST}${LINUX_DIST_VER}
-MASTER_SITE_SRC_SUBDIR= netchild/rpms/${LINUX_DIST}${LINUX_DIST_VER}
+MASTER_SITES= LOCAL/netchild/rpms/${LINUX_DIST}${LINUX_DIST_VER}
MAINTAINER= emulation@FreeBSD.org
COMMENT= Pango library (Linux Fedora 10)
diff --git a/x11-toolkits/py-gnome2/Makefile b/x11-toolkits/py-gnome2/Makefile
index c041488..a9b4b3f 100644
--- a/x11-toolkits/py-gnome2/Makefile
+++ b/x11-toolkits/py-gnome2/Makefile
@@ -6,8 +6,7 @@ PORTNAME= gnome
PORTVERSION= 2.28.1
PORTREVISION= 5
CATEGORIES= x11-toolkits python gnome
-MASTER_SITES= GNOME
-MASTER_SITE_SUBDIR= sources/gnome-python/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
+MASTER_SITES= GNOME/sources/gnome-python/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= gnome-python-${PORTVERSION}
DIST_SUBDIR= gnome2
diff --git a/x11-toolkits/py-gtk2/Makefile b/x11-toolkits/py-gtk2/Makefile
index 2e996e1..bb30340 100644
--- a/x11-toolkits/py-gtk2/Makefile
+++ b/x11-toolkits/py-gtk2/Makefile
@@ -6,8 +6,7 @@ PORTNAME= gtk
PORTVERSION= 2.24.0
PORTREVISION= 3
CATEGORIES= x11-toolkits python
-MASTER_SITES= GNOME
-MASTER_SITE_SUBDIR= sources/pygtk/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
+MASTER_SITES= GNOME/sources/pygtk/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
PKGNAMESUFFIX= 2
DISTNAME= pygtk-${PORTVERSION}
diff --git a/x11-toolkits/py-gtksourceview/Makefile b/x11-toolkits/py-gtksourceview/Makefile
index 68fbba8..d3873bc 100644
--- a/x11-toolkits/py-gtksourceview/Makefile
+++ b/x11-toolkits/py-gtksourceview/Makefile
@@ -5,8 +5,7 @@ PORTNAME= gtksourceview
PORTVERSION= 2.10.1
PORTREVISION= 1
CATEGORIES= x11-toolkits gnome python
-MASTER_SITES= GNOME
-MASTER_SITE_SUBDIR= sources/pygtksourceview/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
+MASTER_SITES= GNOME/sources/pygtksourceview/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= pygtksourceview-${PORTVERSION}
diff --git a/x11-toolkits/py-tkinter/Makefile b/x11-toolkits/py-tkinter/Makefile
index d62ffe0..63e8725 100644
--- a/x11-toolkits/py-tkinter/Makefile
+++ b/x11-toolkits/py-tkinter/Makefile
@@ -5,8 +5,7 @@ PORTNAME= tkinter
PORTVERSION= ${PYTHON_PORTVERSION}
PORTREVISION= 5
CATEGORIES= x11-toolkits python
-MASTER_SITES= PYTHON
-MASTER_SITE_SUBDIR= ftp/python/${PORTVERSION}
+MASTER_SITES= PYTHON/ftp/python/${PORTVERSION}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= Python-${PORTVERSION}
diff --git a/x11-toolkits/slingshot/Makefile b/x11-toolkits/slingshot/Makefile
index e597809..87f277b 100644
--- a/x11-toolkits/slingshot/Makefile
+++ b/x11-toolkits/slingshot/Makefile
@@ -7,8 +7,7 @@ PORTREVISION= 3
CATEGORIES= x11-toolkits
MASTER_SITES= ftp://ftp.x.org/R5contrib/ \
http://komquats.com/distfiles/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= cy
+ LOCAL/cy
DISTNAME= SlingShot${PORTVERSION}
diff --git a/x11-toolkits/swt-devel/Makefile b/x11-toolkits/swt-devel/Makefile
index 2a4a7a4..f354a0a 100644
--- a/x11-toolkits/swt-devel/Makefile
+++ b/x11-toolkits/swt-devel/Makefile
@@ -6,8 +6,7 @@ DISTVERSION= 3.7.1
PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= x11-toolkits devel java
-MASTER_SITES= ECLIPSE
-MASTER_SITE_SUBDIR= R-${DISTVERSION}-201109091335
+MASTER_SITES= ECLIPSE/R-${DISTVERSION}-201109091335
PKGNAMESUFFIX= -devel
DISTNAME= swt-${DISTVERSION}-${DIST_EXT}
diff --git a/x11-toolkits/swt/Makefile b/x11-toolkits/swt/Makefile
index 0f7e28f..67cde4f 100644
--- a/x11-toolkits/swt/Makefile
+++ b/x11-toolkits/swt/Makefile
@@ -5,9 +5,8 @@ PORTNAME= swt
DISTVERSION= 3.5.2
PORTREVISION= 3
CATEGORIES= x11-toolkits devel java
-#MASTER_SITES= ${MASTER_SITE_ECLIPSE}
-MASTER_SITES= http://archive.eclipse.org/eclipse/downloads/drops/${MASTER_SITE_SUBDIR}/
-MASTER_SITE_SUBDIR= R-${DISTVERSION}-201002111343
+#MASTER_SITES= ECLIPSE/R-${DISTVERSION}-201002111343
+MASTER_SITES= http://archive.eclipse.org/eclipse/downloads/drops/R-${DISTVERSION}-201002111343/
DISTNAME= swt-${DISTVERSION}-${DIST_EXT}
MAINTAINER= ports@FreeBSD.org
diff --git a/x11-toolkits/tk84/Makefile b/x11-toolkits/tk84/Makefile
index b4d162e..0cff9f3 100644
--- a/x11-toolkits/tk84/Makefile
+++ b/x11-toolkits/tk84/Makefile
@@ -4,9 +4,7 @@ PORTNAME= tk
PORTVERSION= 8.4.20
PORTEPOCH= 2
CATEGORIES= x11-toolkits tk
-MASTER_SITES= ${MASTER_SITE_TCLTK} \
- SF/tcl/Tcl/${PORTVERSION}
-MASTER_SITE_SUBDIR=tcl8_4
+MASTER_SITES= TCLTK/tcl8_4 SF/tcl/Tcl/${PORTVERSION}
PKGNAMESUFFIX= ${PORTVERSION:R:S/.//}
DISTNAME= ${PORTNAME}${PORTVERSION}-src
diff --git a/x11-toolkits/tk85/Makefile b/x11-toolkits/tk85/Makefile
index e84bdd3..279fbf5 100644
--- a/x11-toolkits/tk85/Makefile
+++ b/x11-toolkits/tk85/Makefile
@@ -4,9 +4,7 @@
PORTNAME= tk
PORTVERSION= 8.5.18
CATEGORIES= x11-toolkits
-MASTER_SITES= ${MASTER_SITE_TCLTK} \
- SF/tcl/Tcl/${PORTVERSION}
-MASTER_SITE_SUBDIR=tcl8_5
+MASTER_SITES= TCLTK/tcl8_5 SF/tcl/Tcl/${PORTVERSION}
PKGNAMESUFFIX= ${PORTVERSION:R:S/.//}
DISTNAME= ${PORTNAME}${PORTVERSION}-src
diff --git a/x11-toolkits/tk86/Makefile b/x11-toolkits/tk86/Makefile
index ffb2fdb..7d420ca 100644
--- a/x11-toolkits/tk86/Makefile
+++ b/x11-toolkits/tk86/Makefile
@@ -4,9 +4,7 @@
PORTNAME= tk
PORTVERSION= 8.6.4
CATEGORIES= x11-toolkits
-MASTER_SITES= SF/tcl/Tcl/${PORTVERSION} \
- ${MASTER_SITE_TCLTK}
-MASTER_SITE_SUBDIR=tcl8_6
+MASTER_SITES= SF/tcl/Tcl/${PORTVERSION} TCLTK/tcl8_6
PKGNAMESUFFIX= ${PORTVERSION:R:S/.//}
DISTNAME= ${PORTNAME}${PORTVERSION}-src
diff --git a/x11-toolkits/tktray/Makefile b/x11-toolkits/tktray/Makefile
index 21aca08..21ee31a 100644
--- a/x11-toolkits/tktray/Makefile
+++ b/x11-toolkits/tktray/Makefile
@@ -4,7 +4,7 @@
PORTNAME= tktray
PORTVERSION= 1.3.9
CATEGORIES= x11-toolkits tk
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= tcltk@FreeBSD.org
diff --git a/x11-toolkits/vte290/Makefile b/x11-toolkits/vte290/Makefile
index 0de60fd..579ebd8 100644
--- a/x11-toolkits/vte290/Makefile
+++ b/x11-toolkits/vte290/Makefile
@@ -7,7 +7,6 @@ PORTVERSION= 0.34.7
PORTREVISION?= 1
CATEGORIES= x11-toolkits gnome
MASTER_SITES= GNOME
-MASTER_SITE_SUBDIR= sources/${PORTNAME:S/gnome-pty-helper/vte/}/${PORTVERSION:R}
DISTNAME= vte-${PORTVERSION}
PKGNAMESUFFIX?= 3-290
DIST_SUBDIR= gnome3
diff --git a/x11-toolkits/vte3/Makefile b/x11-toolkits/vte3/Makefile
index 5691547..aedda06 100644
--- a/x11-toolkits/vte3/Makefile
+++ b/x11-toolkits/vte3/Makefile
@@ -6,8 +6,7 @@ PORTNAME?= vte
PORTVERSION= 0.38.3
PORTREVISION?= 0
CATEGORIES= x11-toolkits gnome
-MASTER_SITES= GNOME
-MASTER_SITE_SUBDIR= sources/${PORTNAME:S/gnome-pty-helper/vte/}/${PORTVERSION:R}
+MASTER_SITES= GNOME/sources/${PORTNAME:S/gnome-pty-helper/vte/}/${PORTVERSION:R}
DISTNAME= vte-${PORTVERSION}
PKGNAMESUFFIX?= 3
DIST_SUBDIR= gnome3
diff --git a/x11-toolkits/xforms/Makefile b/x11-toolkits/xforms/Makefile
index bc35adf..f6e23999 100644
--- a/x11-toolkits/xforms/Makefile
+++ b/x11-toolkits/xforms/Makefile
@@ -6,8 +6,7 @@ DISTVERSION= 1.2.4
PORTREVISION= 3
PORTEPOCH= 1
CATEGORIES= x11-toolkits graphics
-MASTER_SITES= ${MASTER_SITE_SAVANNAH}
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= SAVANNAH
MAINTAINER= ports@FreeBSD.org
COMMENT= Graphical user interface toolkit for X Window System
diff --git a/x11-toolkits/xview-clients/Makefile b/x11-toolkits/xview-clients/Makefile
index daf5b55..11b1a5a 100644
--- a/x11-toolkits/xview-clients/Makefile
+++ b/x11-toolkits/xview-clients/Makefile
@@ -7,8 +7,7 @@ PORTREVISION= 3
CATEGORIES= x11-toolkits
MASTER_SITES= http://www.physionet.org/physiotools/xview/src/ \
http://komquats.com/distfiles/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= cy
+ LOCAL/cy
DISTNAME= xview-3.2p1.4-19c
# EXTRACT_ONLY= # empty
diff --git a/x11-toolkits/xview/Makefile b/x11-toolkits/xview/Makefile
index f67fff6..3c88c6f 100644
--- a/x11-toolkits/xview/Makefile
+++ b/x11-toolkits/xview/Makefile
@@ -7,8 +7,7 @@ PORTREVISION= 3
CATEGORIES= x11-toolkits
MASTER_SITES= http://www.physionet.org/physiotools/xview/src/ \
http://komquats.com/distfiles/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= cy
+ LOCAL/cy
DISTNAME= xview-3.2p1.4-19c
MAINTAINER= cy@FreeBSD.org
diff --git a/x11-wm/afterstep-stable/Makefile b/x11-wm/afterstep-stable/Makefile
index 2ef214c..aa4476b 100644
--- a/x11-wm/afterstep-stable/Makefile
+++ b/x11-wm/afterstep-stable/Makefile
@@ -5,8 +5,7 @@ PORTNAME= afterstep
PORTVERSION= 2.2.12
PORTREVISION= 4
CATEGORIES= x11-wm afterstep
-MASTER_SITES= ${MASTER_SITE_AFTERSTEP}
-MASTER_SITE_SUBDIR= stable
+MASTER_SITES= AFTERSTEP/stable
DISTNAME= AfterStep-${PORTVERSION}
MAINTAINER= glewis@FreeBSD.org
diff --git a/x11-wm/afterstep/Makefile b/x11-wm/afterstep/Makefile
index 522d295..e078f7a 100644
--- a/x11-wm/afterstep/Makefile
+++ b/x11-wm/afterstep/Makefile
@@ -5,8 +5,7 @@ PORTNAME= afterstep
PORTVERSION= 1.0
PORTREVISION= 4
CATEGORIES= x11-wm afterstep
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= dinoex
+MASTER_SITES= LOCAL/dinoex
DISTNAME= AfterStep-${PORTVERSION}
PKGNAMESUFFIX= 1${PKGNAMESUFFIX2}
diff --git a/x11-wm/euclid-wm/Makefile b/x11-wm/euclid-wm/Makefile
index 1711594..d974a66 100644
--- a/x11-wm/euclid-wm/Makefile
+++ b/x11-wm/euclid-wm/Makefile
@@ -4,7 +4,7 @@ PORTNAME= euclid-wm
PORTVERSION= 0.4.3
CATEGORIES= x11-wm
#MASTER_SITES= http://euclid-wm.googlecode.com/files/
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
MAINTAINER= anastmag@gmail.com
COMMENT= Minimalist, tiling window manager for X11
diff --git a/x11-wm/fluxbox/Makefile b/x11-wm/fluxbox/Makefile
index d02eb21..169e9f3 100644
--- a/x11-wm/fluxbox/Makefile
+++ b/x11-wm/fluxbox/Makefile
@@ -44,7 +44,7 @@ CONFIGURE_ARGS+= --enable-debug
.if ${PORT_OPTIONS:MDOCHTML}
# http://fluxbox.org/docbook/en/tarballs/
-MASTER_SITES+= ${MASTER_SITE_LOCAL:S,%SUBDIR%,mezz,}:html \
+MASTER_SITES+= LOCAL/mezz:html \
http://people.freebsd.org/~mezz/distfiles/:html
DISTFILES+= fb-doc-mfhtml-${DOCSVERSION}.tgz:html
EXTRACT_ONLY+= fb-doc-mfhtml-${DOCSVERSION}.tgz
@@ -55,7 +55,7 @@ PLIST_SUB+= DOCHTML="@comment "
.if ${PORT_OPTIONS:MPDFDOCS}
# http://fluxbox.org/docbook/en/pdf/
-MASTER_SITES+= ${MASTER_SITE_LOCAL:S,%SUBDIR%,mezz,}:pdf \
+MASTER_SITES+= LOCAL/mezz:pdf \
http://people.freebsd.org/~mezz/distfiles/:pdf
DISTFILES+= fluxbook-${DOCSVERSION}.pdf:pdf
PLIST_SUB+= DOCPDF=""
diff --git a/x11-wm/libdockapp/Makefile b/x11-wm/libdockapp/Makefile
index a994700..d7a7458 100644
--- a/x11-wm/libdockapp/Makefile
+++ b/x11-wm/libdockapp/Makefile
@@ -5,8 +5,7 @@ PORTNAME= libdockapp
PORTVERSION= 0.6.2
PORTREVISION= 4
CATEGORIES= x11-wm
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= xride
+MASTER_SITES= LOCAL/xride
MAINTAINER= xride@FreeBSD.org
COMMENT= Standard library for Window Maker dock apps
diff --git a/x11-wm/libwraster/Makefile b/x11-wm/libwraster/Makefile
index d02e1e7..e0b3411 100644
--- a/x11-wm/libwraster/Makefile
+++ b/x11-wm/libwraster/Makefile
@@ -4,8 +4,7 @@ PORTNAME= libwraster
PORTVERSION= 0.95.6
PORTREVISION= 4
CATEGORIES= x11-wm windowmaker
-MASTER_SITES= http://windowmaker.org/pub/%SUBDIR%/
-MASTER_SITE_SUBDIR= source/release
+MASTER_SITES= http://windowmaker.org/pub/source/release/
DISTNAME= WindowMaker-${PORTVERSION}
MAINTAINER= hrs@FreeBSD.org
diff --git a/x11-wm/olvwm/Makefile b/x11-wm/olvwm/Makefile
index 5327a92..5433da5 100644
--- a/x11-wm/olvwm/Makefile
+++ b/x11-wm/olvwm/Makefile
@@ -6,12 +6,9 @@ PORTVERSION= 4.2
PORTREVISION= 1
CATEGORIES= x11-wm
MASTER_SITES= ftp://ftp.x.org/R5contrib/ \
- ${MASTER_SITE_XCONTRIB} \
+ XCONTRIB/window_managers \
http://komquats.com/distfiles/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= cy
-
-MASTER_SITE_SUBDIR= window_managers
+ LOCAL/cy
DISTNAME= ${PORTNAME}4
PATCH_SITES= ${MASTER_SITES}
diff --git a/x11-wm/ratpoison/Makefile b/x11-wm/ratpoison/Makefile
index a4c461f..fbd7ff53 100644
--- a/x11-wm/ratpoison/Makefile
+++ b/x11-wm/ratpoison/Makefile
@@ -4,9 +4,7 @@
PORTNAME= ratpoison
PORTVERSION= 1.4.6
CATEGORIES= x11-wm
-MASTER_SITES= ${MASTER_SITE_SAVANNAH} \
- http://mirror.4bit.ws/
-MASTER_SITE_SUBDIR= ratpoison
+MASTER_SITES= SAVANNAH http://mirror.4bit.ws/
MAINTAINER= dhn@FreeBSD.org
COMMENT= Simple window manager with no fat library dependencies
diff --git a/x11-wm/tvtwm/Makefile b/x11-wm/tvtwm/Makefile
index 7fda7a8..7b2abbf 100644
--- a/x11-wm/tvtwm/Makefile
+++ b/x11-wm/tvtwm/Makefile
@@ -5,8 +5,7 @@ PORTNAME= tvtwm
PORTVERSION= pl11
PORTREVISION= 1
CATEGORIES= x11-wm
-MASTER_SITES= ${MASTER_SITE_XCONTRIB}
-MASTER_SITE_SUBDIR= window_managers
+MASTER_SITES= XCONTRIB/window_managers
DISTNAME= ${PORTNAME}.${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
diff --git a/x11-wm/windowmaker/Makefile b/x11-wm/windowmaker/Makefile
index 6d757a0..42c5559 100644
--- a/x11-wm/windowmaker/Makefile
+++ b/x11-wm/windowmaker/Makefile
@@ -5,8 +5,7 @@ PORTNAME= windowmaker
PORTVERSION= 0.95.6
PORTREVISION= 4
CATEGORIES= x11-wm windowmaker
-MASTER_SITES= http://windowmaker.org/pub/%SUBDIR%/
-MASTER_SITE_SUBDIR= source/release
+MASTER_SITES= http://windowmaker.org/pub/source/release/
DISTNAME= WindowMaker-${PORTVERSION}
MAINTAINER= hrs@FreeBSD.org
diff --git a/x11-wm/wmanager/Makefile b/x11-wm/wmanager/Makefile
index 042a0fb..693f658 100644
--- a/x11-wm/wmanager/Makefile
+++ b/x11-wm/wmanager/Makefile
@@ -5,7 +5,7 @@ PORTNAME= wmanager
PORTVERSION= 0.2.1
PORTREVISION= 13
CATEGORIES= x11-wm
-MASTER_SITES= ${MASTER_SITE_DEBIAN_POOL}
+MASTER_SITES= DEBIAN_POOL
DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
MAINTAINER= ports@FreeBSD.org
diff --git a/x11/9box/Makefile b/x11/9box/Makefile
index bcb8cdc..148517a 100644
--- a/x11/9box/Makefile
+++ b/x11/9box/Makefile
@@ -5,8 +5,7 @@ PORTNAME= 9box
PORTVERSION= 0.2.1
PORTREVISION= 3
CATEGORIES= x11
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= thierry
+MASTER_SITES= LOCAL/thierry
MAINTAINER= ports@FreeBSD.org
COMMENT= 9box can "pack" windows inside itself
diff --git a/x11/9menu/Makefile b/x11/9menu/Makefile
index 1340263..33d140f 100644
--- a/x11/9menu/Makefile
+++ b/x11/9menu/Makefile
@@ -6,7 +6,7 @@ PORTVERSION= 1.8
PORTREVISION= 2
CATEGORIES= x11 plan9
MASTER_SITES= ftp://freefriends.org/arnold/Source/ \
- ${MASTER_SITE_NETBSD}
+ NETBSD
EXTRACT_SUFX= .shar.gz
MAINTAINER= ports@FreeBSD.org
diff --git a/x11/arandr/Makefile b/x11/arandr/Makefile
index 7ac2de8..532b7a5 100644
--- a/x11/arandr/Makefile
+++ b/x11/arandr/Makefile
@@ -6,7 +6,7 @@ PORTVERSION= 0.1.7.1
PORTREVISION= 2
CATEGORIES= x11 deskutils
MASTER_SITES= http://christian.amsuess.com/tools/arandr/files/ \
- LOCAL/${MAINTAINER:C/([^@]*)@.*/\1/}
+ LOCAL/sbz
MAINTAINER= sbz@FreeBSD.org
COMMENT= Another XRandR GUI
diff --git a/x11/blast/Makefile b/x11/blast/Makefile
index 0238b90..4fe52a0 100644
--- a/x11/blast/Makefile
+++ b/x11/blast/Makefile
@@ -5,8 +5,7 @@ PORTNAME= blast
PORTVERSION= 1.1
PORTREVISION= 4
CATEGORIES= x11
-MASTER_SITES= ${MASTER_SITE_DEBIAN}
-MASTER_SITE_SUBDIR= pool/main/b/blast
+MASTER_SITES= DEBIAN
DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
MAINTAINER= ports@FreeBSD.org
diff --git a/x11/erun/Makefile b/x11/erun/Makefile
index 3e724d3..3a2e7d8 100644
--- a/x11/erun/Makefile
+++ b/x11/erun/Makefile
@@ -5,8 +5,7 @@ PORTNAME= E-Run
PORTVERSION= 1.2
PORTREVISION= 13
CATEGORIES= x11
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= kbyanc
+MASTER_SITES= LOCAL/kbyanc
MAINTAINER= enlightenment@FreeBSD.org
COMMENT= Simple epplet for launching arbitrary programs
diff --git a/x11/fbdesk/Makefile b/x11/fbdesk/Makefile
index 1ff4a23..bf8b4a5 100644
--- a/x11/fbdesk/Makefile
+++ b/x11/fbdesk/Makefile
@@ -6,7 +6,7 @@ PORTVERSION= 1.4.1
PORTREVISION= 6
CATEGORIES= x11
MASTER_SITES= http://fluxbox.sourceforge.net/download/ \
- GENTOO/distfiles
+ GENTOO
MAINTAINER= ports@FreeBSD.org
COMMENT= Fluxbox utility to create and manage icons on the desktop
diff --git a/x11/hotwire-shell/Makefile b/x11/hotwire-shell/Makefile
index fdad391..19f599f 100644
--- a/x11/hotwire-shell/Makefile
+++ b/x11/hotwire-shell/Makefile
@@ -5,7 +5,7 @@ PORTNAME= hotwire-shell
PORTVERSION= 0.721
PORTREVISION= 5
CATEGORIES= x11
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= hotwire-${DISTVERSION}
diff --git a/x11/kb2mb2/Makefile b/x11/kb2mb2/Makefile
index 3c18b0e..9cf1744 100644
--- a/x11/kb2mb2/Makefile
+++ b/x11/kb2mb2/Makefile
@@ -5,7 +5,7 @@ PORTNAME= kb2mb2
PORTVERSION= 1.0
PORTREVISION= 3
CATEGORIES= x11
-MASTER_SITES= ${MASTER_SITE_PORTS_JP}
+MASTER_SITES= PORTS_JP
MAINTAINER= ports@FreeBSD.org
COMMENT= Redirect any key to second mouse button
diff --git a/x11/keybinder-gtk3/Makefile b/x11/keybinder-gtk3/Makefile
index 40231b5..646e0a2 100644
--- a/x11/keybinder-gtk3/Makefile
+++ b/x11/keybinder-gtk3/Makefile
@@ -3,7 +3,7 @@
PORTNAME= keybinder
PORTVERSION= 0.3.0
CATEGORIES= x11
-MASTER_SITES= GENTOO/distfiles
+MASTER_SITES= GENTOO
PKGNAMESUFFIX= -gtk3
DISTNAME= ${PORTNAME}-3.0-${PORTVERSION}
diff --git a/x11/keybinder/Makefile b/x11/keybinder/Makefile
index 9e8acbe..40e0fd3 100644
--- a/x11/keybinder/Makefile
+++ b/x11/keybinder/Makefile
@@ -4,7 +4,7 @@ PORTNAME= keybinder
PORTVERSION= 0.3.0
PORTREVISION= 3
CATEGORIES= x11
-MASTER_SITES= GENTOO/distfiles
+MASTER_SITES= GENTOO
MAINTAINER= ports@FreeBSD.org
COMMENT= Library for registering keyboard shortcuts
diff --git a/x11/props/Makefile b/x11/props/Makefile
index 19abcb3..055861d 100644
--- a/x11/props/Makefile
+++ b/x11/props/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 1.0
PORTREVISION= 3
CATEGORIES= x11
MASTER_SITES= http://komquats.com/distfiles/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= cy
+ LOCAL/cy
MAINTAINER= cy@FreeBSD.org
COMMENT= The OpenLook props application
diff --git a/x11/qimageblitz/Makefile b/x11/qimageblitz/Makefile
index 4f21ce8..96cd260 100644
--- a/x11/qimageblitz/Makefile
+++ b/x11/qimageblitz/Makefile
@@ -5,8 +5,7 @@ PORTNAME= qimageblitz
PORTVERSION= 0.0.6
PORTREVISION= 2
CATEGORIES= x11
-MASTER_SITES= ${MASTER_SITE_KDE}
-MASTER_SITE_SUBDIR= stable/${PORTNAME}
+MASTER_SITES= KDE/stable/${PORTNAME}
MAINTAINER= kde@FreeBSD.org
COMMENT= Graphical effects and filters library for KDE4
diff --git a/x11/sxpc/Makefile b/x11/sxpc/Makefile
index 57db8bf..310f107 100644
--- a/x11/sxpc/Makefile
+++ b/x11/sxpc/Makefile
@@ -5,8 +5,7 @@ PORTNAME= sxpc
PORTVERSION= 1.4
PORTREVISION= 2
CATEGORIES= x11
-MASTER_SITES= ${MASTER_SITE_XCONTRIB}
-MASTER_SITE_SUBDIR= utilities
+MASTER_SITES= XCONTRIB/utilities
EXTRACT_SUFX= .shar.Z
MAINTAINER= ports@FreeBSD.org
diff --git a/x11/wbar/Makefile b/x11/wbar/Makefile
index 25d6e8c..9e30426 100644
--- a/x11/wbar/Makefile
+++ b/x11/wbar/Makefile
@@ -5,7 +5,7 @@ PORTNAME= wbar
PORTVERSION= 2.3.4
PORTREVISION= 1
CATEGORIES= x11
-MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES= GOOGLE_CODE
MAINTAINER= nivit@FreeBSD.org
COMMENT= Simple and highly customizable quick launch bar
diff --git a/x11/wdm/Makefile b/x11/wdm/Makefile
index 691193f..abdcd2d 100644
--- a/x11/wdm/Makefile
+++ b/x11/wdm/Makefile
@@ -7,8 +7,7 @@ PORTREVISION= 15
CATEGORIES= x11 windowmaker
MASTER_SITES= http://voins.program.ru/wdm/:wdm \
http://wolfram.schneider.org/bsd/gif/bsd/:pic_large \
- ${MASTER_SITE_LOCAL:S/$/:pic_small/}
-MASTER_SITE_SUBDIR= tg/:pic_small
+ LOCAL/tg:pic_small
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:wdm \
beastie.xpm:pic_small \
daemon1-HQ-1280x960.jpg:pic_large
diff --git a/x11/wmcliphist/Makefile b/x11/wmcliphist/Makefile
index 0295115..a7bd7e8 100644
--- a/x11/wmcliphist/Makefile
+++ b/x11/wmcliphist/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 1.0
PORTREVISION= 1
CATEGORIES= x11 windowmaker
MASTER_SITES= http://linux.nawebu.cz/wmcliphist/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= uqs
+ LOCAL/uqs
MAINTAINER= uqs@FreeBSD.org
COMMENT= Clipboard history management dockapp for Window Maker
diff --git a/x11/xautolock/Makefile b/x11/xautolock/Makefile
index 9e60a5a..22c5128 100644
--- a/x11/xautolock/Makefile
+++ b/x11/xautolock/Makefile
@@ -5,8 +5,7 @@ PORTNAME= xautolock
PORTVERSION= 2.2
PORTREVISION= 1
CATEGORIES= x11
-MASTER_SITES= ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR= X11/screensavers
+MASTER_SITES= SUNSITE/X11/screensavers
MAINTAINER= romain@FreeBSD.org
COMMENT= Activate xlock after a user defined time of inactivity
diff --git a/x11/xbanner/Makefile b/x11/xbanner/Makefile
index 9b94669..e80d69a 100644
--- a/x11/xbanner/Makefile
+++ b/x11/xbanner/Makefile
@@ -5,8 +5,7 @@ PORTNAME= xbanner
PORTVERSION= 1.31
PORTREVISION= 1
CATEGORIES= x11
-MASTER_SITES= ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR= X11/xutils
+MASTER_SITES= SUNSITE/X11/xutils
DISTNAME= XBanner${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
diff --git a/x11/xcmd/Makefile b/x11/xcmd/Makefile
index b949b12..dc3ef93 100644
--- a/x11/xcmd/Makefile
+++ b/x11/xcmd/Makefile
@@ -5,9 +5,8 @@ PORTNAME= xcmd
PORTVERSION= 1.8
PORTREVISION= 2
CATEGORIES= x11
-MASTER_SITES= ${MASTER_SITE_SUNSITE} \
+MASTER_SITES= SUNSITE/X11/xutils \
http://www.breuninger.org/files/distfiles/
-MASTER_SITE_SUBDIR= X11/xutils
MAINTAINER= ports@FreeBSD.org
COMMENT= Xcmd is a front-end for starting programs under X11
diff --git a/x11/xcolors/Makefile b/x11/xcolors/Makefile
index 690b1c5..e1c7ba8 100644
--- a/x11/xcolors/Makefile
+++ b/x11/xcolors/Makefile
@@ -5,8 +5,7 @@ PORTNAME= xcolors
PORTVERSION= 1.3
PORTREVISION= 4
CATEGORIES= x11
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= markp
+MASTER_SITES= LOCAL/markp
DISTNAME= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
diff --git a/x11/xfce4-whiskermenu-plugin/Makefile b/x11/xfce4-whiskermenu-plugin/Makefile
index 1c7274e..1abec55 100644
--- a/x11/xfce4-whiskermenu-plugin/Makefile
+++ b/x11/xfce4-whiskermenu-plugin/Makefile
@@ -5,8 +5,7 @@ PORTNAME= xfce4-whiskermenu-plugin
PORTVERSION= 1.5.0
PORTREVISION= 1
CATEGORIES= x11 xfce
-MASTER_SITES= XFCE
-MASTER_SITE_SUBDIR= src/panel-plugins/${PORTNAME}/${PORTVERSION:R}
+MASTER_SITES= XFCE/src/panel-plugins/${PORTNAME}/${PORTVERSION:R}
DIST_SUBDIR= xfce4
MAINTAINER= xfce@FreeBSD.org
diff --git a/x11/xgrab/Makefile b/x11/xgrab/Makefile
index c75f8c4..30282fc 100644
--- a/x11/xgrab/Makefile
+++ b/x11/xgrab/Makefile
@@ -5,8 +5,7 @@ PORTNAME= xgrab
PORTVERSION= 2.41
PORTREVISION= 3
CATEGORIES= x11
-MASTER_SITES= XCONTRIB
-MASTER_SITE_SUBDIR= applications
+MASTER_SITES= XCONTRIB/applications
DISTNAME= ${PORTNAME}sc.2_41
MAINTAINER= ports@FreeBSD.org
diff --git a/x11/xidle/Makefile b/x11/xidle/Makefile
index e27931e..b361f89 100644
--- a/x11/xidle/Makefile
+++ b/x11/xidle/Makefile
@@ -5,8 +5,7 @@ PORTNAME= xidle
PORTVERSION= 24102005
PORTREVISION= 2
CATEGORIES= x11
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= novel
+MASTER_SITES= LOCAL/novel
MAINTAINER= novel@FreeBSD.org
COMMENT= Run a program on X inactivity
diff --git a/x11/xkbctrl/Makefile b/x11/xkbctrl/Makefile
index 9fd1b09..00bb391 100644
--- a/x11/xkbctrl/Makefile
+++ b/x11/xkbctrl/Makefile
@@ -5,8 +5,7 @@ PORTNAME= xkbctrl
PORTVERSION= 1.0
PORTREVISION= 2
CATEGORIES= x11
-MASTER_SITES= ${MASTER_SITE_XORG}
-MASTER_SITE_SUBDIR= unsupported/test/Xkb/programs
+MASTER_SITES= XORG/unsupported/test/Xkb/programs
DISTFILES= Imakefile xkbctrl.c
MAINTAINER= sanpei@FreeBSD.org
diff --git a/x11/xkeyboard-config/Makefile b/x11/xkeyboard-config/Makefile
index d162fcc..8230267 100644
--- a/x11/xkeyboard-config/Makefile
+++ b/x11/xkeyboard-config/Makefile
@@ -3,7 +3,7 @@
PORTNAME= xkeyboard-config
PORTVERSION= 2.14
CATEGORIES= x11
-MASTER_SITE_SUBDIR= individual/${XORG_CAT}/${PORTNAME}
+MASTER_SITES= XORG/individual/${XORG_CAT}/${PORTNAME}
MAINTAINER= x11@FreeBSD.org
COMMENT= X Keyboard Configuration Database
diff --git a/x11/xloadimage/Makefile b/x11/xloadimage/Makefile
index 651b622..804c2e6 100644
--- a/x11/xloadimage/Makefile
+++ b/x11/xloadimage/Makefile
@@ -5,7 +5,7 @@ PORTNAME= xloadimage
PORTVERSION= 4.1.21
PORTREVISION= 1
CATEGORIES= x11 graphics
-MASTER_SITES= ${MASTER_SITE_DEBIAN_POOL}
+MASTER_SITES= DEBIAN_POOL
DISTNAME= ${PORTNAME}.${VERSION}
DISTFILES= ${DISTNAME:S/./_/}.orig${EXTRACT_SUFX} \
${DISTNAME:S/./_/}-${REVISION}.debian.tar.gz
diff --git a/x11/xmon/Makefile b/x11/xmon/Makefile
index cd96bf9..e1ad47e 100644
--- a/x11/xmon/Makefile
+++ b/x11/xmon/Makefile
@@ -5,8 +5,7 @@ PORTNAME= xmon
PORTVERSION= 1.5.6
PORTREVISION= 2
CATEGORIES= x11
-MASTER_SITES= ${MASTER_SITE_XCONTRIB}
-MASTER_SITE_SUBDIR= devel_tools
+MASTER_SITES= XCONTRIB/devel_tools
DISTNAME= xmon.${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
diff --git a/x11/xprompt/Makefile b/x11/xprompt/Makefile
index 3410cff..b151a7d 100644
--- a/x11/xprompt/Makefile
+++ b/x11/xprompt/Makefile
@@ -5,8 +5,7 @@ PORTNAME= xprompt
PORTVERSION= 1.4
PORTREVISION= 2
CATEGORIES= x11
-MASTER_SITES= LOCAL
-MASTER_SITE_SUBDIR= mph
+MASTER_SITES= LOCAL/mph
MAINTAINER= ports@FreeBSD.org
COMMENT= Displays a dialog box and prompts user for text
diff --git a/x11/xpyb/Makefile b/x11/xpyb/Makefile
index 248c2b9..dd901b4 100644
--- a/x11/xpyb/Makefile
+++ b/x11/xpyb/Makefile
@@ -5,8 +5,7 @@ PORTNAME= xpyb
PORTVERSION= 1.3.1
PORTREVISION= 2
CATEGORIES= x11 python
-MASTER_SITES= http://xcb.freedesktop.org/%SUBDIR%/
-MASTER_SITE_SUBDIR= dist
+MASTER_SITES= http://xcb.freedesktop.org/dist/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= ashish@FreeBSD.org
diff --git a/x11/xtacy/Makefile b/x11/xtacy/Makefile
index 113b8ad..bcde5da 100644
--- a/x11/xtacy/Makefile
+++ b/x11/xtacy/Makefile
@@ -6,8 +6,7 @@ PORTVERSION= 1.14
PORTREVISION= 2
CATEGORIES= x11
MASTER_SITES= http://www.ultranet.com/~jjohnson/ \
- ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR= apps/graphics/hacks/X
+ SUNSITE/apps/graphics/hacks/X
DISTNAME= ${PORTNAME}114
MAINTAINER= matt@bdd.net
diff --git a/x11/xtoolwait/Makefile b/x11/xtoolwait/Makefile
index 47591e6..9e1a855 100644
--- a/x11/xtoolwait/Makefile
+++ b/x11/xtoolwait/Makefile
@@ -5,8 +5,7 @@ PORTNAME= xtoolwait
PORTVERSION= 1.3
PORTREVISION= 2
CATEGORIES= x11
-MASTER_SITES= ${MASTER_SITE_XCONTRIB}
-MASTER_SITE_SUBDIR= utilities
+MASTER_SITES= XCONTRIB/utilities
MAINTAINER= ports@FreeBSD.org
COMMENT= Tool startup utility for X11
diff --git a/x11/xwatchwin/Makefile b/x11/xwatchwin/Makefile
index 0970ae2..49838ac 100644
--- a/x11/xwatchwin/Makefile
+++ b/x11/xwatchwin/Makefile
@@ -5,8 +5,7 @@ PORTNAME= xwatchwin
PORTVERSION= 1.1.1
PORTREVISION= 3
CATEGORIES= x11
-MASTER_SITES= ${MASTER_SITE_XCONTRIB}
-MASTER_SITE_SUBDIR= utilities
+MASTER_SITES= XCONTRIB/utilities
DISTNAME= xwatchwin
MAINTAINER= ports@FreeBSD.org
diff --git a/x11/xzoom/Makefile b/x11/xzoom/Makefile
index 17a0f94..29d8a1d 100644
--- a/x11/xzoom/Makefile
+++ b/x11/xzoom/Makefile
@@ -5,8 +5,7 @@ PORTNAME= xzoom
PORTVERSION= 0.3
PORTREVISION= 2
CATEGORIES= x11 accessibility
-MASTER_SITES= ${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR= libs/X
+MASTER_SITES= SUNSITE/libs/X
MAINTAINER= ports@FreeBSD.org
COMMENT= Magnify, rotate, mirror the image on the X screen
OpenPOWER on IntegriCloud