2003-10-12(日) 雨のち曇 [長年日記]
_ 日本語版 SquirrelMail port
えふさんと otsune さんにいろいろコメントをいただいたので、otsune さんのスケルトンをいじってみました。otsune さんのアドバイスから
diff -urN /usr/ports/mail/squirrelmail.orig/Makefile /usr/ports/mail/squirrelmail/Makefile
--- /usr/ports/mail/squirrelmail.orig/Makefile Tue Oct 7 03:48:03 2003
+++ /usr/ports/mail/squirrelmail/Makefile Sun Oct 12 09:24:44 2003
@@ -25,7 +25,7 @@
pre-install:
@${ECHO} "Your umask should be lax while installing this. Like, 022 or something."
- @${SH} pkg-install ${PKGNAME} PRE-INSTALL
+ @${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
do-install:
${MKDIR} ${PREFIX}/squirrelmail
としておきました。次に日本語版を
diff -urN /usr/ports/local/squirrelmail.otsune.orig/Makefile /usr/ports/local/squirrelmail.otsune/Makefile
--- /usr/ports/local/squirrelmail.otsune.orig/Makefile Sun Oct 12 09:36:19 2003
+++ /usr/ports/local/squirrelmail.otsune/Makefile Sun Oct 12 10:07:21 2003
@@ -5,11 +5,11 @@
# $FreeBSD$
#
-PORTNAME= ja-squirrelmail
+PORTNAME= squirrelmail
PORTVERSION= 1.4.2
CATEGORIES= japanese mail www
-
PKGNAMEPREFIX= ja-
+
PATCH_SITES= http://www.yamaai-tech.com/~masato/Download/
PATCHFILES= ${PORTNAME}-${PORTVERSION}-ja-20031002-patch.gz
PATCH_DIST_STRIP= -p1
@@ -18,13 +18,8 @@
MASTERDIR= ${.CURDIR}/../../mail/squirrelmail
MD5_FILE= ${.CURDIR}/distinfo
-DESCR= ${MASTERDIR}/pkg-descr
-PLIST= ${MASTERDIR}/pkg-plist
-PKGINSTALL= ${MASTERDIR}/pkg-install
-PKGMESSAGE= ${MASTERDIR}/pkg-message
-pre-install:
- @${ECHO} "Your umask should be lax while installing this. Like, 022 or something."
- @${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
+post-patch:
+ ${FIND} ${WRKSRC} -name '*.orig' -delete
.include "${MASTERDIR}/Makefile"
patch をあてると *.orig が残ってしまうので消すようにしました。
_ FreeBSD-related Japanense Mailing Lists 入会
ports-jp, FreeBSD-users-jp, FreeBSD-tech-jp, FreeBSD-net-jp にたった今入会しました。職場のメールアドレスでは入っていたのですが、こちらはソロ活動(?)なので。
patch竇献otsune <br>otsune end-pr <br>Date: 20031012<br>Name: otsune<br>Mail: <br>Last-Modified: 1065959959<br>Visible: true<br><br>膣膀 end-pr<br>膓醇械 ports-jpharエ .<br>Date: 20031012<br>Name: Mail: jfkimura@yahoo.co.jp<br>Last-Modified: 1065961036<br>Visible: true<br><br>ports-jp rass-5.0.2 絎翫 bileimap冗済