Lines 6-12
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= phpMyAdmin |
8 |
PORTNAME= phpMyAdmin |
9 |
DISTVERSION= 3.2.5 |
9 |
DISTVERSION= 3.3.0 |
10 |
CATEGORIES= databases www |
10 |
CATEGORIES= databases www |
11 |
MASTER_SITES= SF/${PORTNAME:L}/${PORTNAME}/${PORTVERSION} |
11 |
MASTER_SITES= SF/${PORTNAME:L}/${PORTNAME}/${PORTVERSION} |
12 |
DISTNAME= ${PORTNAME}-${DISTVERSION}-all-languages |
12 |
DISTNAME= ${PORTNAME}-${DISTVERSION}-all-languages |
Lines 20-26
Link Here
|
20 |
USE_BZIP2= yes |
20 |
USE_BZIP2= yes |
21 |
NO_BUILD= yes |
21 |
NO_BUILD= yes |
22 |
.if !defined(WITHOUT_PHP_DEPENDS) |
22 |
.if !defined(WITHOUT_PHP_DEPENDS) |
23 |
USE_PHP= ctype mysql session spl filter |
23 |
USE_PHP= ctype mysql session spl filter mbstring mcrypt |
24 |
.endif |
24 |
.endif |
25 |
|
25 |
|
26 |
OPTIONS= SUPHP "suPHP support" off \ |
26 |
OPTIONS= SUPHP "suPHP support" off \ |
Lines 30-37
Link Here
|
30 |
OPENSSL "OpenSSL support" on \ |
30 |
OPENSSL "OpenSSL support" on \ |
31 |
PDF "PDFlib support (implies GD)" on \ |
31 |
PDF "PDFlib support (implies GD)" on \ |
32 |
ZLIB "ZLIB support" on \ |
32 |
ZLIB "ZLIB support" on \ |
33 |
MCRYPT "MCrypt library support" on \ |
|
|
34 |
MBSTRING "Multi-byte character-set string support" on \ |
35 |
ZIP "Zip compression support" on |
33 |
ZIP "Zip compression support" on |
36 |
|
34 |
|
37 |
.include <bsd.port.options.mk> |
35 |
.include <bsd.port.options.mk> |
Lines 88-96
Link Here
|
88 |
|
86 |
|
89 |
.SILENT: |
87 |
.SILENT: |
90 |
|
88 |
|
91 |
do-build: |
|
|
92 |
@${DO_NADA} |
93 |
|
94 |
pre-everything:: |
89 |
pre-everything:: |
95 |
${ECHO_MSG} "This version of phpmyadmin requires PHP 5.2+ and MySQL" |
90 |
${ECHO_MSG} "This version of phpmyadmin requires PHP 5.2+ and MySQL" |
96 |
${ECHO_MSG} "5.0+. If you need to use an older version of PHP or" |
91 |
${ECHO_MSG} "5.0+. If you need to use an older version of PHP or" |
Lines 101-130
Link Here
|
101 |
# When creating a package, empty directories will not be generated |
96 |
# When creating a package, empty directories will not be generated |
102 |
# from the pkg tarball. Therefore make sure no directories are empty. |
97 |
# from the pkg tarball. Therefore make sure no directories are empty. |
103 |
|
98 |
|
|
|
99 |
# Aaargh! A curse on all filenames with spaces in. |
104 |
post-patch: |
100 |
post-patch: |
|
|
101 |
cd ${WRKSRC}/documentation-gsoc ; \ |
102 |
${MV} "Synchronization_User Manual.htm" \ |
103 |
Synchronization_User_Manual.htm ; \ |
104 |
${MV} "Synchronization_User Manual_files" \ |
105 |
Synchronization_User_Manual_files ; \ |
105 |
cd ${WRKSRC} ; \ |
106 |
cd ${WRKSRC} ; \ |
|
|
107 |
${REINPLACE_CMD} -e 's/_User%20Manual/_User_Manual/' \ |
108 |
Documentation.html \ |
109 |
documentation-gsoc/Synchronization_User_Manual.htm ; \ |
106 |
for emptydir in $$( ${FIND} . -type d -empty -print ) ; do \ |
110 |
for emptydir in $$( ${FIND} . -type d -empty -print ) ; do \ |
107 |
${TOUCH} $${emptydir}/.keep-me ; \ |
111 |
${TOUCH} $${emptydir}/.keep-me ; \ |
108 |
done |
112 |
done ; \ |
109 |
${CP} ${FILESDIR}/${CFGFILE}.sample ${WRKSRC}/${CFGFILE}.sample |
113 |
${CP} ${FILESDIR}/${CFGFILE}.sample ${WRKSRC}/${CFGFILE}.sample ; \ |
110 |
cd ${WRKSRC} ; \ |
114 |
${FIND} . ! -type d ! -name ${CFGFILE}.sample ! -name '*.bak' | \ |
111 |
${FIND} . ! -type d ! -name ${CFGFILE}.sample | ${SORT} | \ |
115 |
${SORT} | ${SED} -e "s,^\.,%%WWWDIR%%," >${PLIST} ; \ |
112 |
${SED} -e "s,^\.,%%WWWDIR%%," >${PLIST} ; \ |
|
|
113 |
${CAT} ${PKGDIR}/pkg-plist-chunk >>${PLIST} ; \ |
116 |
${CAT} ${PKGDIR}/pkg-plist-chunk >>${PLIST} ; \ |
114 |
${FIND} . -type d | ${SORT} -r | ${SED} \ |
117 |
${FIND} . -type d | ${SORT} -r | ${SED} \ |
115 |
-e "s,^\.$$,@dirrmtry %%WWWDIR%%," \ |
118 |
-e "s,^\.$$,@dirrmtry %%WWWDIR%%," \ |
116 |
-e "s,^\.,@dirrm %%WWWDIR%%," >>${PLIST} |
119 |
-e "s,^\.,@dirrm %%WWWDIR%%," >>${PLIST} |
117 |
|
120 |
|
118 |
do-install: install-app install-conf |
121 |
do-install: install-app install-conf |
119 |
|
122 |
|
120 |
install-app: |
123 |
install-app: |
121 |
cd ${WRKSRC} ; \ |
124 |
cd ${WRKSRC} ; \ |
122 |
for src in $$( ${FIND} . ! -name .cvsignore ) ; do \ |
125 |
for src in $$( ${FIND} . ! -name .cvsignore ! -name '*.bak' ) ; do \ |
123 |
dst=${WWWDIR}$${src#.} ; \ |
126 |
dst=${WWWDIR}$${src#.} ; \ |
124 |
if ${TEST} -d $$src ; then \ |
127 |
if ${TEST} -d "$$src" ; then \ |
125 |
${MKDIR} $$dst ; \ |
128 |
${MKDIR} "$$dst" ; \ |
126 |
else \ |
129 |
else \ |
127 |
${INSTALL_DATA} $$src $$dst ; \ |
130 |
${INSTALL_DATA} "$$src" "$$dst" ; \ |
128 |
fi \ |
131 |
fi \ |
129 |
done |
132 |
done |
130 |
|
133 |
|