I'm guessing this is where we left off on ports@...
Quote:
Originally Posted by shep
I'm trying to update x11/tint2 and have the basic port almost ready to go.
|
If this is the original post-install:
Quote:
Originally Posted by shep
Code:
post-install:
cp -R ${WRKSRC}/sample/ ${PREFIX}/share/examples/tint2/
sed -i -e '/\/usr\/local\/share\/applications/d' -e \
's,/usr/share/applications,${LOCALBASE}/share/applications,g' \
${PREFIX}/share/examples/tint2/*tint2rc
rm ${PREFIX}/share/tint2/*.tint2rc
|
Then, assuming the only significant change is the name of the directory from sample to themes, all you have to do is change the first line:
Code:
post-install:
cp -R ${WRKSRC}/themes/ ${PREFIX}/share/examples/tint2/
sed -i -e '/\/usr\/local\/share\/applications/d' -e \
's,/usr/share/applications,${LOCALBASE}/share/applications,g' \
${PREFIX}/share/examples/tint2/*tint2rc
rm ${PREFIX}/share/tint2/*.tint2rc